[Libreoffice-commits] core.git: include/svx svx/source

Tor Lillqvist tml at collabora.com
Sun Sep 8 15:21:18 PDT 2013


 include/svx/svdundo.hxx       |    2 ++
 svx/source/svdraw/svdundo.cxx |    4 ++++
 2 files changed, 6 insertions(+)

New commits:
commit 888f71cc8d455aeb1ccf13264ac245aaaed6fa69
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Sep 9 01:18:34 2013 +0300

    Seems an explicit destructor is needed
    
    Otherwise it is unresolved in an optimising Clang build when linking libsc.
    
    Change-Id: I5f4d3facfe79793607396b83722ebd65ad8bb2ba

diff --git a/include/svx/svdundo.hxx b/include/svx/svdundo.hxx
index a3766b7..ab2c8a5 100644
--- a/include/svx/svdundo.hxx
+++ b/include/svx/svdundo.hxx
@@ -274,6 +274,8 @@ public:
 
     virtual void Undo();
     virtual void Redo();
+
+    virtual ~SdrUndoRemoveObj();
 };
 
 /**
diff --git a/svx/source/svdraw/svdundo.cxx b/svx/source/svdraw/svdundo.cxx
index caf3ba4..5ec3ada 100644
--- a/svx/source/svdraw/svdundo.cxx
+++ b/svx/source/svdraw/svdundo.cxx
@@ -836,6 +836,10 @@ void SdrUndoRemoveObj::Redo()
     ImpShowPageOfThisObject();
 }
 
+SdrUndoRemoveObj::~SdrUndoRemoveObj()
+{
+}
+
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 
 void SdrUndoInsertObj::Undo()


More information about the Libreoffice-commits mailing list