diff options
Diffstat (limited to 'sw/inc/unobaseclass.hxx')
-rw-r--r-- | sw/inc/unobaseclass.hxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sw/inc/unobaseclass.hxx b/sw/inc/unobaseclass.hxx index 17ac71c081b6..da3b000a69f6 100644 --- a/sw/inc/unobaseclass.hxx +++ b/sw/inc/unobaseclass.hxx @@ -59,14 +59,12 @@ enum CursorType */ class UnoActionContext { - private: +private: SwDoc * m_pDoc; - public: +public: UnoActionContext(SwDoc *const pDoc); ~UnoActionContext(); - - void InvalidateDocument() { m_pDoc = 0; } }; /* @@ -76,10 +74,10 @@ class UnoActionContext */ class UnoActionRemoveContext { - private: +private: SwDoc *const m_pDoc; - public: +public: UnoActionRemoveContext(SwDoc *const pDoc); UnoActionRemoveContext(SwUnoTableCrsr const& rCursor); ~UnoActionRemoveContext(); |