summaryrefslogtreecommitdiff
path: root/svl/source/undo/undo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/undo/undo.cxx')
-rw-r--r--svl/source/undo/undo.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index 5d84ae1e0378..98b15675c00e 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -212,6 +212,8 @@ namespace svl { namespace undo { namespace impl
typedef void ( SfxUndoListener::*UndoListenerVoidMethod )();
typedef void ( SfxUndoListener::*UndoListenerStringMethod )( const OUString& );
+ namespace {
+
struct NotifyUndoListener
{
explicit NotifyUndoListener( UndoListenerVoidMethod i_notificationMethod )
@@ -252,6 +254,8 @@ namespace svl { namespace undo { namespace impl
OUString m_sActionComment;
};
+ }
+
class UndoManagerGuard
{
public: