diff options
author | Michael Stahl <mst@openoffice.org> | 2010-04-28 17:13:01 +0200 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-04-28 17:13:01 +0200 |
commit | 94e9b98a8341459bcdb7781a4f711cb5458c89ee (patch) | |
tree | 35a549a94bfbda6d14e3d6af8b02819a745add2e /sw/inc/shellio.hxx | |
parent | 29e00d08352b602be0425b9c14385ec38a835b6d (diff) |
sw33bf03: #i110454#: try to fix harebrained lifecycle of Writer_Impl
Diffstat (limited to 'sw/inc/shellio.hxx')
-rw-r--r-- | sw/inc/shellio.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx index 28dcdf26a352..b92cc26ca38e 100644 --- a/sw/inc/shellio.hxx +++ b/sw/inc/shellio.hxx @@ -24,8 +24,10 @@ * for a copy of the LGPLv3 License. * ************************************************************************/ -#ifndef _SHELLIO_HXX -#define _SHELLIO_HXX +#ifndef SW_SHELLIO_HXX +#define SW_SHELLIO_HXX + +#include <memory> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/embed/XStorage.hpp> @@ -439,8 +441,9 @@ class SW_DLLPUBLIC Writer : public SvRefBase void _AddFontItem( SfxItemPool& rPool, const SvxFontItem& rFont ); void _AddFontItems( SfxItemPool& rPool, USHORT nWhichId ); + ::std::auto_ptr<Writer_Impl> m_pImpl; + protected: - Writer_Impl* pImpl; SwPaM* pOrigPam; // der letze zu bearbeitende Pam const String* pOrigFileName; |