diff options
Diffstat (limited to 'sw/source/ui/config/optpage.cxx')
-rw-r--r-- | sw/source/ui/config/optpage.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx index 84c3cf26df57..2369aa04b729 100644 --- a/sw/source/ui/config/optpage.cxx +++ b/sw/source/ui/config/optpage.cxx @@ -549,7 +549,6 @@ SwStdFontTabPage::SwStdFontTabPage( vcl::Window* pParent, m_bSetLabelDefault(true), m_bIdxDefault(false), m_bSetIdxDefault(true), - m_bDeletePrinter(false), m_bListHeightDefault (false), m_bSetListHeightDefault (false), @@ -611,8 +610,6 @@ SwStdFontTabPage::~SwStdFontTabPage() void SwStdFontTabPage::dispose() { delete m_pFontList; - if (m_bDeletePrinter) - m_pPrt.disposeAndClear(); m_pLabelFT.clear(); m_pStandardBox.clear(); m_pStandardHeightLB.clear(); @@ -802,11 +799,6 @@ void SwStdFontTabPage::Reset( const SfxItemSet* rSet) const SfxPoolItem* pItem; - if (m_bDeletePrinter) - { - m_pPrt.disposeAndClear(); - } - if(SfxItemState::SET == rSet->GetItemState(FN_PARAM_PRINTER, false, &pItem)) { m_pPrt = static_cast<SfxPrinter*>(static_cast<const SwPtrItem*>(pItem)->GetValue()); |