diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-07-03 15:58:31 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-07-03 16:38:35 +0200 |
commit | f8dfa3a81a5382b2f18a705bd512625754167573 (patch) | |
tree | 8d410529d2077deb5db3af0da88a69f1f4b6ae91 /sw/inc/doc.hxx | |
parent | 0be6adc8fcf9f4017b409aa3ec51a1e8c663e608 (diff) |
sw: remove SwDoc::ShareLayout
It is a crude hack that is no longer necessary because the underlying
problems that caused crashes when deleting the layout have been fixed.
Change-Id: I601bdb0dc0aff5f4ddb8b8f4ba4c8d1f72c76666
Diffstat (limited to 'sw/inc/doc.hxx')
-rw-r--r-- | sw/inc/doc.hxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/inc/doc.hxx b/sw/inc/doc.hxx index e3eeb61f9f5a..9a6d715b8774 100644 --- a/sw/inc/doc.hxx +++ b/sw/inc/doc.hxx @@ -79,7 +79,6 @@ class SwList; #include <memory> #include <boost/scoped_ptr.hpp> -#include <boost/shared_ptr.hpp> #include <boost/ptr_container/ptr_vector.hpp> namespace editeng { class SvxBorderLine; } @@ -317,7 +316,6 @@ class SW_DLLPUBLIC SwDoc : SwDefTOXBase_Impl * mpDefTOXBases; ///< defaults of SwTOXBase's ViewShell *mpCurrentView; ///< SwDoc should get a new member mpCurrentView//swmod 071225 - boost::shared_ptr<SwRootFrm> mpLayoutPtr; SdrModel *mpDrawModel; ///< StarView Drawing SwDocUpdtFld *mpUpdtFlds; ///< Struct for updating fields @@ -1770,8 +1768,6 @@ public: const SwDocShell* GetDocShell() const { return mpDocShell; } void SetDocShell( SwDocShell* pDSh ); - void ShareLayout( boost::shared_ptr<SwRootFrm>& rPtr); - /** in case during copying of embedded object a new shell is created, it should be set here and cleaned later */ void SetTmpDocShell( SfxObjectShellLock rLock ) { mxTmpDocShell = rLock; } |