summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;