summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--svx/source/sidebar/text/TextPropertyPanel.cxx3
-rw-r--r--svx/source/sidebar/tools/Popup.cxx1
2 files changed, 4 insertions, 0 deletions
diff --git a/svx/source/sidebar/text/TextPropertyPanel.cxx b/svx/source/sidebar/text/TextPropertyPanel.cxx
index 416a2e3e745c..3ba3dd7b0cef 100644
--- a/svx/source/sidebar/text/TextPropertyPanel.cxx
+++ b/svx/source/sidebar/text/TextPropertyPanel.cxx
@@ -131,6 +131,9 @@ void TextPropertyPanel::dispose()
maUnderlineControl.dispose();
maSpacingControl.dispose();
+ maCharSpacePopup.dispose();
+ maUnderlinePopup.dispose();
+
PanelLayout::dispose();
}
diff --git a/svx/source/sidebar/tools/Popup.cxx b/svx/source/sidebar/tools/Popup.cxx
index 98064ee328d9..ba03dd5335b1 100644
--- a/svx/source/sidebar/tools/Popup.cxx
+++ b/svx/source/sidebar/tools/Popup.cxx
@@ -44,6 +44,7 @@ void Popup::dispose()
{
mxControl.disposeAndClear();
mxContainer.disposeAndClear();
+ mpParent.clear();
}
Popup::~Popup()