diff options
author | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-14 16:40:32 +0200 |
---|---|---|
committer | Frank Schoenheit [fs] <frank.schoenheit@sun.com> | 2010-10-14 16:40:32 +0200 |
commit | 5e4e633946883d9c59c9d4546c7ae7db18335345 (patch) | |
tree | 29604eed73688da99b87c400e54372b23fe0858e /svl/inc | |
parent | 034a9f3ddbe5c917ac3d655b0c65b2f4bb15904f (diff) |
undoapi: moved members into an IMPL structure
Diffstat (limited to 'svl/inc')
-rw-r--r-- | svl/inc/svl/undo.hxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svl/inc/svl/undo.hxx b/svl/inc/svl/undo.hxx index 3ab74f6ac087..a7c4f7615183 100644 --- a/svl/inc/svl/undo.hxx +++ b/svl/inc/svl/undo.hxx @@ -32,6 +32,8 @@ #include <tools/string.hxx> #include <svl/svarray.hxx> +#include <boost/scoped_ptr.hpp> + //==================================================================== class SVL_DLLPUBLIC SfxRepeatTarget @@ -132,15 +134,13 @@ class SVL_DLLPUBLIC SfxListUndoAction : public SfxUndoAction, public SfxUndoArra //========================================================================= +struct SfxUndoManager_Data; class SVL_DLLPUBLIC SfxUndoManager { friend class SfxLinkUndoAction; - SfxUndoArray *pUndoArray; - SfxUndoArray *pActUndoArray; - SfxUndoArray *pFatherUndoArray; - - bool mbUndoEnabled; + ::boost::scoped_ptr< SfxUndoManager_Data > + m_pData; public: SfxUndoManager( USHORT nMaxUndoActionCount = 20 ); virtual ~SfxUndoManager(); @@ -192,7 +192,7 @@ public: // returns true if undo is currently enabled // This returns false if undo was disabled using EnableUndo( false ) and // also during the runtime of the Undo() and Redo() methods. - bool IsUndoEnabled() const { return mbUndoEnabled; } + bool IsUndoEnabled() const; }; //========================================================================= |