[Libreoffice-commits] .: svx/inc svx/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Sep 13 02:41:48 PDT 2012


 svx/inc/svx/svdundo.hxx       |    3 +++
 svx/source/svdraw/svdundo.cxx |    4 ++++
 2 files changed, 7 insertions(+)

New commits:
commit b8329bde87089c4d44a48632dd205e157cc0b204
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Sep 13 11:41:16 2012 +0200

    Hide dtor details behind SVX_DLLPUBLIC
    
    Change-Id: I442e114322d2a70fbfbdaa2aa197146c0cffa4bd

diff --git a/svx/inc/svx/svdundo.hxx b/svx/inc/svx/svdundo.hxx
index 5451441..4c13737 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 0a793f2..d58b170 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


More information about the Libreoffice-commits mailing list