diff options
Diffstat (limited to 'cui/source/options/fontsubs.cxx')
-rw-r--r-- | cui/source/options/fontsubs.cxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cui/source/options/fontsubs.cxx b/cui/source/options/fontsubs.cxx index 098855ae032e..6dfd19f52a2a 100644 --- a/cui/source/options/fontsubs.cxx +++ b/cui/source/options/fontsubs.cxx @@ -147,8 +147,16 @@ void SvxFontSubstTabPage::dispose() pCheckButtonData = NULL; delete pConfig; pConfig = NULL; - delete m_pCheckLB; - m_pCheckLB = NULL; + m_pCheckLB.clear(); + m_pUseTableCB.clear(); + m_pReplacements.clear(); + m_pFont1CB.clear(); + m_pFont2CB.clear(); + m_pApply.clear(); + m_pDelete.clear(); + m_pFontNameLB.clear(); + m_pNonPropFontsOnlyCB.clear(); + m_pFontHeightLB.clear(); SfxTabPage::dispose(); } |