diff options
Diffstat (limited to 'sw/inc/drawdoc.hxx')
-rw-r--r-- | sw/inc/drawdoc.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/inc/drawdoc.hxx b/sw/inc/drawdoc.hxx index 6afd3fd042fe..0e4ea36e5417 100644 --- a/sw/inc/drawdoc.hxx +++ b/sw/inc/drawdoc.hxx @@ -26,13 +26,15 @@ class SwDocShell; class SwDrawModel : public FmFormModel { - SwDoc* pDoc; +private: + SwDoc* m_pDoc; + public: SwDrawModel( SwDoc* pDoc ); virtual ~SwDrawModel(); - const SwDoc& GetDoc() const { return *pDoc; } - SwDoc& GetDoc() { return *pDoc; } + const SwDoc& GetDoc() const { return *m_pDoc; } + SwDoc& GetDoc() { return *m_pDoc; } virtual SdrPage* AllocPage(bool bMasterPage) SAL_OVERRIDE; |