summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/unmodpg.cxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2000-09-21 15:12:50 +0000
committerKai Ahrens <ka@openoffice.org>2000-09-21 15:12:50 +0000
commitabfcdf776c3d9111ac311f15fbbbf5c3d3a7c7c3 (patch)
tree70903a71534a928323dd35ec8bd0df1ec7b7d82b /sd/source/ui/view/unmodpg.cxx
parent9112386dd35c3a51c5b5a29a180d1626c50fdcad (diff)
SFX_BINDINGS/SFX_DISPATCHER macros removed
Diffstat (limited to 'sd/source/ui/view/unmodpg.cxx')
-rw-r--r--sd/source/ui/view/unmodpg.cxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/sd/source/ui/view/unmodpg.cxx b/sd/source/ui/view/unmodpg.cxx
index 7c2797038788..d3aaf0b229de 100644
--- a/sd/source/ui/view/unmodpg.cxx
+++ b/sd/source/ui/view/unmodpg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unmodpg.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:48:45 $
+ * last change: $Author: ka $ $Date: 2000-09-21 16:12:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -65,6 +65,9 @@
#ifndef _SFXDISPATCH_HXX
#include <sfx2/dispatch.hxx>
#endif
+#ifndef _SFXVIEWFRM_HXX
+#include <sfx2/viewfrm.hxx>
+#endif
#pragma hdrstop
@@ -157,8 +160,8 @@ void __EXPORT ModifyPageUndoAction::Undo()
}
// Redisplay
- SFX_DISPATCHER().Execute(SID_SWITCHPAGE,
- SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD);
+ SfxViewFrame::Current()->GetDispatcher()->Execute(
+ SID_SWITCHPAGE, SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD );
}
/*************************************************************************
@@ -197,8 +200,8 @@ void __EXPORT ModifyPageUndoAction::Redo()
}
// Redisplay
- SFX_DISPATCHER().Execute(SID_SWITCHPAGE,
- SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD);
+ SfxViewFrame::Current()->GetDispatcher()->Execute(
+ SID_SWITCHPAGE, SFX_CALLMODE_ASYNCHRON | SFX_CALLMODE_RECORD );
}
/*************************************************************************