summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorFridrich Strba <fridrich@documentfoundation.org>2013-07-22 09:22:31 +0000
committerFridrich Strba <fridrich@documentfoundation.org>2013-07-22 09:23:04 +0000
commitf9e981ba0e2da6ce122e3ef30aef057c439c8fb8 (patch)
tree0937e3f4e83ab3184424558b087df970bdcaea26 /starmath
parent074ef06c908af1e5c6922a0c8ff9ccc9a9d54063 (diff)
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@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/ElementsDockingWindow.hxx1
-rw-r--r--starmath/source/ElementsDockingWindow.cxx5
2 files changed, 0 insertions, 6 deletions
diff --git a/starmath/inc/ElementsDockingWindow.hxx b/starmath/inc/ElementsDockingWindow.hxx
index 9a98cf97e885..c46cf7948e28 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 d7656f505190..8f71602d27d6 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;