summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/undoback.hxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@Sun.COM>2010-02-09 11:33:08 +0100
committerArmin Le Grand <Armin.Le.Grand@Sun.COM>2010-02-09 11:33:08 +0100
commit86cabb65ec6a4ff1252376219c734541e7eca1bd (patch)
treef873418d31ead9e891661af7002660f23904da1e /sd/source/ui/inc/undoback.hxx
parentc89b3d923e6bd28546ed2d4a444b6f6ed297d826 (diff)
aw079 #i99386# finer granular changes for MPBGO removal
Diffstat (limited to 'sd/source/ui/inc/undoback.hxx')
-rw-r--r--sd/source/ui/inc/undoback.hxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/sd/source/ui/inc/undoback.hxx b/sd/source/ui/inc/undoback.hxx
index 68c4334bfa9a..aac9640a4c46 100644
--- a/sd/source/ui/inc/undoback.hxx
+++ b/sd/source/ui/inc/undoback.hxx
@@ -31,11 +31,18 @@
#ifndef _SD_UNDOBACK_HXX
#define _SD_UNDOBACK_HXX
+#define NEWPBG
+
#include "sdundo.hxx"
class SdDrawDocument;
class SdPage;
+
+#ifdef NEWPBG
+class SfxItemSet;
+#else
class SdrObject;
+#endif
// -----------------------------
// - SdBackgroundObjUndoAction -
@@ -46,7 +53,11 @@ class SdBackgroundObjUndoAction : public SdUndoAction
private:
SdPage& mrPage;
+#ifdef NEWPBG
+ SfxItemSet* mpItemSet;
+#else
SdrObject* mpBackgroundObj;
+#endif
void ImplRestoreBackgroundObj();
@@ -54,7 +65,14 @@ public:
TYPEINFO();
+#ifdef NEWPBG
+ SdBackgroundObjUndoAction(
+ SdDrawDocument& rDoc,
+ SdPage& rPage,
+ const SfxItemSet& rItenSet);
+#else
SdBackgroundObjUndoAction( SdDrawDocument& rDoc, SdPage& rPage, const SdrObject* pBackgroundObj );
+#endif
virtual ~SdBackgroundObjUndoAction();
virtual void Undo();