summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fubullet.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fubullet.cxx')
-rw-r--r--sd/source/ui/func/fubullet.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sd/source/ui/func/fubullet.cxx b/sd/source/ui/func/fubullet.cxx
index f37770e587d4..688ac67a83e6 100644
--- a/sd/source/ui/func/fubullet.cxx
+++ b/sd/source/ui/func/fubullet.cxx
@@ -22,6 +22,7 @@
#include <sfx2/bindings.hxx>
#include <sfx2/viewfrm.hxx>
#include <editeng/eeitem.hxx>
+#include <editeng/editund2.hxx>
#include <svl/poolitem.hxx>
#include <editeng/fontitem.hxx>
#include <OutlineView.hxx>
@@ -128,7 +129,7 @@ void FuBullet::InsertFormattingMark( sal_Unicode cMark )
pOV->InsertText( "" );
// prepare undo
- SfxUndoManager& rUndoMgr = pOL->GetUndoManager();
+ EditUndoManager& rUndoMgr = pOL->GetUndoManager();
rUndoMgr.EnterListAction(SdResId(STR_UNDO_INSERT_SPECCHAR),
"", 0, mpViewShell->GetViewShellBase().GetViewShellId() );
@@ -239,7 +240,7 @@ void FuBullet::InsertSpecialCharacter( SfxRequest const & rReq )
SfxItemSetFixed<EE_CHAR_FONTINFO, EE_CHAR_FONTINFO> aOldSet( mpDoc->GetPool() );
aOldSet.Put( pOV->GetAttribs() );
- SfxUndoManager& rUndoMgr = pOL->GetUndoManager();
+ EditUndoManager& rUndoMgr = pOL->GetUndoManager();
ViewShellId nViewShellId = mpViewShell ? mpViewShell->GetViewShellBase().GetViewShellId() : ViewShellId(-1);
rUndoMgr.EnterListAction(SdResId(STR_UNDO_INSERT_SPECCHAR),
"", 0, nViewShellId );