summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-13 11:41:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-13 11:41:16 +0200
commitb8329bde87089c4d44a48632dd205e157cc0b204 (patch)
treeeea88e0afe6703664f6f2d3fd697264a03a612c9 /svx
parentc5f9d61d45e56d9baaf6e9a91640c60d9b549aab (diff)
Hide dtor details behind SVX_DLLPUBLIC
Change-Id: I442e114322d2a70fbfbdaa2aa197146c0cffa4bd
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/svx/svdundo.hxx3
-rw-r--r--svx/source/svdraw/svdundo.cxx4
2 files changed, 7 insertions, 0 deletions
diff --git a/svx/inc/svx/svdundo.hxx b/svx/inc/svx/svdundo.hxx
index 5451441da902..4c13737e0b46 100644
--- a/svx/inc/svx/svdundo.hxx
+++ b/svx/inc/svx/svdundo.hxx
@@ -72,6 +72,8 @@ protected:
public:
TYPEINFO();
+ virtual ~SdrUndoAction();
+
virtual sal_Bool CanRepeat(SfxRepeatTarget& rView) const;
virtual void Repeat(SfxRepeatTarget& rView);
@@ -210,6 +212,7 @@ protected:
public:
SdrUndoMoveObj(SdrObject& rNewObj): SdrUndoObj(rNewObj) {}
SdrUndoMoveObj(SdrObject& rNewObj, const Size& rDist): SdrUndoObj(rNewObj),aDistance(rDist) {}
+ virtual ~SdrUndoMoveObj();
void SetDistance(const Size& rDist) { aDistance=rDist; }
const Size& GetDistance() const { return aDistance; }
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index 0a793f2436b4..d58b170aff05 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -64,6 +64,8 @@ static void ImplUnmarkObject( SdrObject* pObj )
TYPEINIT1(SdrUndoAction,SfxUndoAction);
+SdrUndoAction::~SdrUndoAction() {}
+
sal_Bool SdrUndoAction::CanRepeat(SfxRepeatTarget& rView) const
{
SdrView* pV=PTR_CAST(SdrView,&rView);
@@ -553,6 +555,8 @@ XubString SdrUndoAttrObj::GetSdrRepeatComment(SdrView& /*rView*/) const
////////////////////////////////////////////////////////////////////////////////////////////////////
+SdrUndoMoveObj::~SdrUndoMoveObj() {}
+
void SdrUndoMoveObj::Undo()
{
// Trigger PageChangeCall