diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-07 20:25:45 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-06-08 09:35:54 +0200 |
commit | aed5ce3547cc6c28c2cb25d77f3982c53100fee8 (patch) | |
tree | 239d2f394d39c666df0b9a9bd333c42076059041 /sd | |
parent | 1f07faf2caf8fd8df6fa8824ff5030b01c0c0634 (diff) |
loplugin:unusedfields
Change-Id: I9758fd606c7d4c251a3ac06661d642a47260b5fc
Reviewed-on: https://gerrit.libreoffice.org/73674
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/BulletAndPositionDlg.cxx | 13 | ||||
-rw-r--r-- | sd/source/ui/inc/BulletAndPositionDlg.hxx | 4 |
2 files changed, 1 insertions, 16 deletions
diff --git a/sd/source/ui/dlg/BulletAndPositionDlg.cxx b/sd/source/ui/dlg/BulletAndPositionDlg.cxx index a9fc0adcd9b8..806506d8d292 100644 --- a/sd/source/ui/dlg/BulletAndPositionDlg.cxx +++ b/sd/source/ui/dlg/BulletAndPositionDlg.cxx @@ -117,13 +117,10 @@ SvxBulletAndPositionDlg::SvxBulletAndPositionDlg(weld::Window* pWindow, const Sf : GenericDialogController(pWindow, "cui/ui/bulletandposition.ui", "BulletAndPosition") , bLastWidthModified(false) , bModified(false) - , bPreset(false) , bAutomaticCharStyles(true) - , bHTMLMode(false) , bInInitControl(false) , bLabelAlignmentPosAndSpaceModeActive(false) , bApplyToMaster(false) - , bIsSlideScope(false) , nBullet(0xff) , nActNumLvl(1) , p_Window(pWindow) @@ -246,6 +243,7 @@ SvxBulletAndPositionDlg::SvxBulletAndPositionDlg(weld::Window* pWindow, const Sf const SfxPoolItem* pItem; const SfxItemSet* pExampleSet = &rSet; sal_uInt16 nTmpNumLvl = 1; + bool bPreset = false; if (pExampleSet) { if (SfxItemState::SET == pExampleSet->GetItemState(SID_PARAM_NUM_PRESET, false, &pItem)) @@ -386,15 +384,6 @@ void SvxBulletAndPositionDlg::Reset(const SfxItemSet* rSet) *pActNum = *pSaveNum; m_aPreviewWIN.SetNumRule(pActNum.get()); - SfxObjectShell* pShell; - if (SfxItemState::SET == rSet->GetItemState(SID_HTML_MODE, false, &pItem) - || (nullptr != (pShell = SfxObjectShell::Current()) - && nullptr != (pItem = pShell->GetItem(SID_HTML_MODE)))) - { - sal_uInt16 nHtmlMode = static_cast<const SfxUInt16Item*>(pItem)->GetValue(); - bHTMLMode = 0 != (nHtmlMode & HTMLMODE_ON); - } - bool bContinuous = pActNum->IsFeatureSupported(SvxNumRuleFlags::CONTINUOUS); // again misusage: in Draw there is numeration only until the bitmap diff --git a/sd/source/ui/inc/BulletAndPositionDlg.hxx b/sd/source/ui/inc/BulletAndPositionDlg.hxx index 54fe2abcd057..3e2402eb0bef 100644 --- a/sd/source/ui/inc/BulletAndPositionDlg.hxx +++ b/sd/source/ui/inc/BulletAndPositionDlg.hxx @@ -62,13 +62,10 @@ class SvxBulletAndPositionDlg : public weld::GenericDialogController bool bLastWidthModified : 1; bool bModified : 1; - bool bPreset : 1; bool bAutomaticCharStyles : 1; - bool bHTMLMode : 1; bool bInInitControl : 1; // workaround for Modify-error, is said to be corrected from 391 on bool bLabelAlignmentPosAndSpaceModeActive; bool bApplyToMaster; - bool bIsSlideScope; std::vector<OUString> aGrfNames; vcl::Font aActBulletFont; @@ -78,7 +75,6 @@ class SvxBulletAndPositionDlg : public weld::GenericDialogController weld::Window* p_Window; sal_uInt16 nNumItemId; MapUnit eCoreUnit; - ::sd::View* p_View; SvxNumberingPreview m_aPreviewWIN; std::unique_ptr<weld::Widget> m_xGrid; |