[Libreoffice-commits] core.git: starmath/inc starmath/source
Fridrich Strba
fridrich at documentfoundation.org
Mon Jul 22 02:23:23 PDT 2013
starmath/inc/ElementsDockingWindow.hxx | 1 -
starmath/source/ElementsDockingWindow.cxx | 5 -----
2 files changed, 6 deletions(-)
New commits:
commit f9e981ba0e2da6ce122e3ef30aef057c439c8fb8
Author: Fridrich Strba <fridrich at documentfoundation.org>
Date: Mon Jul 22 09:22:31 2013 +0000
Revert "Math: Fix memory leak with SmDocShell"
It breaks "make check"
This reverts commit d3cf684146162a1528046ab2bcd7d9fa94443c69
Change-Id: Iae8ef2a49a395e885aa8ab3658244836c9ce71c5
Reviewed-on: https://gerrit.libreoffice.org/5021
Reviewed-by: Fridrich Strba <fridrich at documentfoundation.org>
Tested-by: Fridrich Strba <fridrich at documentfoundation.org>
diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx
index 9a98cf9..c46cf79 100644
--- a/starmath/inc/ElementsDockingWindow.hxx
+++ b/starmath/inc/ElementsDockingWindow.hxx
@@ -100,7 +100,6 @@ class SmElementsControl : public Control
public:
SmElementsControl(Window *pParent, const ResId& rResId);
- ~SmElementsControl();
void setElementSetId(sal_uInt16 aSetId);
diff --git a/starmath/source/ElementsDockingWindow.cxx b/starmath/source/ElementsDockingWindow.cxx
index d7656f5..8f71602 100644
--- a/starmath/source/ElementsDockingWindow.cxx
+++ b/starmath/source/ElementsDockingWindow.cxx
@@ -178,11 +178,6 @@ SmElementsControl::SmElementsControl(Window *pParent, const ResId& rResId) :
maFormat.SetBaseSize(PixelToLogic(Size(0, 24)));
}
-SmElementsControl::~SmElementsControl()
-{
- delete mpDocShell;
-}
-
void SmElementsControl::setVerticalMode(bool bVerticalMode)
{
mbVerticalMode = bVerticalMode;
More information about the Libreoffice-commits
mailing list