summaryrefslogtreecommitdiff
path: root/sd/inc/undo/undoobjects.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/inc/undo/undoobjects.hxx')
-rw-r--r--sd/inc/undo/undoobjects.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sd/inc/undo/undoobjects.hxx b/sd/inc/undo/undoobjects.hxx
index 5670002345f2..b7eae9b85d66 100644
--- a/sd/inc/undo/undoobjects.hxx
+++ b/sd/inc/undo/undoobjects.hxx
@@ -24,6 +24,7 @@
#include <svx/svdundo.hxx>
#include <pres.hxx>
#include <tools/weakbase.hxx>
+#include <unotools/weakref.hxx>
class SdrObjUserCall;
class SdPage;
@@ -125,7 +126,7 @@ public:
private:
PresObjKind meOldKind;
PresObjKind meNewKind;
- ::tools::WeakReference<SdPage> mxPage;
+ ::unotools::WeakReference<SdPage> mxPage;
::tools::WeakReference<SdrObject> mxSdrObject;
};
@@ -141,7 +142,7 @@ public:
virtual void Redo() override;
private:
- ::tools::WeakReference<SdPage> mxPage;
+ ::unotools::WeakReference<SdPage> mxPage;
};
class UndoGeoObject final : public SdrUndoGeoObj
@@ -153,7 +154,7 @@ public:
virtual void Redo() override;
private:
- ::tools::WeakReference<SdPage> mxPage;
+ ::unotools::WeakReference<SdPage> mxPage;
::tools::WeakReference<SdrObject> mxSdrObject;
};
@@ -166,7 +167,7 @@ public:
virtual void Redo() override;
private:
- ::tools::WeakReference<SdPage> mxPage;
+ ::unotools::WeakReference<SdPage> mxPage;
::tools::WeakReference<SdrObject> mxSdrObject;
};