summaryrefslogtreecommitdiff
path: root/sw/source/uibase/frmdlg/colex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/frmdlg/colex.cxx')
-rw-r--r--sw/source/uibase/frmdlg/colex.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/uibase/frmdlg/colex.cxx b/sw/source/uibase/frmdlg/colex.cxx
index 89038314a97d..2c5df5343023 100644
--- a/sw/source/uibase/frmdlg/colex.cxx
+++ b/sw/source/uibase/frmdlg/colex.cxx
@@ -487,7 +487,13 @@ Size SwColumnOnlyExample::GetOptimalSize() const
SwPageGridExample::~SwPageGridExample()
{
+ disposeOnce();
+}
+
+void SwPageGridExample::dispose()
+{
delete pGridItem;
+ SwPageExample::dispose();
}
void SwPageGridExample::DrawPage( const Point& rOrg,