summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/ui/config/optpage.cxx6
-rw-r--r--sw/source/uibase/inc/optpage.hxx4
2 files changed, 0 insertions, 10 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index 374ba9c5bb2d..bfdbc877c869 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -507,9 +507,6 @@ SwStdFontTabPage::SwStdFontTabPage(weld::Container* pPage, weld::DialogControlle
, m_bIdxDefault(false)
, m_bSetIdxDefault(true)
, m_bDisposePrinter(false)
- , m_bListHeightDefault(false)
- , m_bLabelHeightDefault(false)
- , m_bIndexHeightDefault(false)
, m_nFontGroup(FONT_GROUP_DEFAULT)
, m_sScriptWestern(SwResId(ST_SCRIPT_WESTERN))
, m_sScriptAsian(SwResId(ST_SCRIPT_ASIAN))
@@ -847,7 +844,6 @@ void SwStdFontTabPage::Reset( const SfxItemSet* rSet)
const SvxFontHeightItem& rFontHeightList = static_cast<const SvxFontHeightItem&>(pColl->GetFormatAttr(nFontHeightWhich));
nListHeight = static_cast<sal_Int32>(rFontHeightList.GetHeight());
- m_bListHeightDefault = SfxItemState::DEFAULT == pColl->GetAttrSet().GetItemState(nFontWhich, false);
pColl = m_pWrtShell->GetTextCollFromPool(RES_POOLCOLL_LABEL);
m_bLabelDefault = SfxItemState::DEFAULT == pColl->GetAttrSet().GetItemState(nFontWhich, false);
@@ -856,7 +852,6 @@ void SwStdFontTabPage::Reset( const SfxItemSet* rSet)
m_sShellLabel = sCapBackup = rFontCP.GetFamilyName();
const SvxFontHeightItem& rFontHeightLabel = static_cast<const SvxFontHeightItem&>(pColl->GetFormatAttr(nFontHeightWhich));
nLabelHeight = static_cast<sal_Int32>(rFontHeightLabel.GetHeight());
- m_bLabelHeightDefault = SfxItemState::DEFAULT == pColl->GetAttrSet().GetItemState(nFontWhich, false);
pColl = m_pWrtShell->GetTextCollFromPool(RES_POOLCOLL_REGISTER_BASE);
m_bIdxDefault = SfxItemState::DEFAULT == pColl->GetAttrSet().GetItemState(nFontWhich, false);
@@ -865,7 +860,6 @@ void SwStdFontTabPage::Reset( const SfxItemSet* rSet)
m_sShellIndex = sIdxBackup = rFontIDX.GetFamilyName();
const SvxFontHeightItem& rFontHeightIndex = static_cast<const SvxFontHeightItem&>(pColl->GetFormatAttr(nFontHeightWhich));
nIndexHeight = static_cast<sal_Int32>(rFontHeightIndex.GetHeight());
- m_bIndexHeightDefault = SfxItemState::DEFAULT == pColl->GetAttrSet().GetItemState(nFontWhich, false);
}
m_xStandardBox->set_entry_text(sStdBackup );
m_xTitleBox->set_entry_text(sOutBackup );
diff --git a/sw/source/uibase/inc/optpage.hxx b/sw/source/uibase/inc/optpage.hxx
index 99e24ed7f487..7bb77695140f 100644
--- a/sw/source/uibase/inc/optpage.hxx
+++ b/sw/source/uibase/inc/optpage.hxx
@@ -143,10 +143,6 @@ class SwStdFontTabPage final : public SfxTabPage
bool m_bSetIdxDefault :1;
bool m_bDisposePrinter :1;
- bool m_bListHeightDefault :1;
- bool m_bLabelHeightDefault :1;
- bool m_bIndexHeightDefault :1;
-
sal_uInt8 m_nFontGroup; //fontcfg.hxx: FONT_GROUP_[STANDARD|CJK|CTL]
OUString m_sScriptWestern;