From 9635bcdab26795b65a838c27805c238517c79765 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Sun, 8 Jul 2007 23:17:24 +0000 Subject: [PATCH] add accessors for owner object and document --- src/uri-references.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/uri-references.h b/src/uri-references.h index 89cdff827..4a5b1516a 100644 --- a/src/uri-references.h +++ b/src/uri-references.h @@ -114,6 +114,9 @@ public: return (bool)_uri; } + SPDocument *getOwnerDocument() {return _owner_document;} + SPObject *getOwnerObject() {return _owner;} + protected: virtual bool _acceptObject(SPObject *obj) const { return true; } -- 2.30.2