summaryrefslogtreecommitdiff
path: root/sw/source/ui/config
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-02-09 15:57:36 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-02-10 09:47:46 +0100
commit1c0aa970650ffc7c749e0b5ea655ebb2d137c8ae (patch)
tree9e119ca2556f5e05d21ced0874abe1e7562cffdb /sw/source/ui/config
parent3e340d3f7b73c8577e58c561a34c2b826e77da51 (diff)
add more TypedWhichId
Change-Id: I6401dcf2507ac53a71dbe4de4ba774aed905961e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129731 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source/ui/config')
-rw-r--r--sw/source/ui/config/optpage.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/ui/config/optpage.cxx b/sw/source/ui/config/optpage.cxx
index d75cd17c40c2..ee175236d000 100644
--- a/sw/source/ui/config/optpage.cxx
+++ b/sw/source/ui/config/optpage.cxx
@@ -228,8 +228,7 @@ void SwContentOptPage::Reset(const SfxItemSet* rSet)
bool SwContentOptPage::FillItemSet(SfxItemSet* rSet)
{
- const SwElemItem* pOldAttr = static_cast<const SwElemItem*>(
- GetOldItem(GetItemSet(), FN_PARAM_ELEM));
+ const SwElemItem* pOldAttr = GetOldItem(GetItemSet(), FN_PARAM_ELEM);
SwElemItem aElem;
aElem.m_bTable = m_xTableCB->get_active();
@@ -1301,8 +1300,7 @@ bool SwShdwCursorOptionsTabPage::FillItemSet( SfxItemSet* rSet )
bRet = true;
}
- const SwDocDisplayItem* pOldAttr = static_cast<const SwDocDisplayItem*>(
- GetOldItem(GetItemSet(), FN_PARAM_DOCDISP));
+ const SwDocDisplayItem* pOldAttr = GetOldItem(GetItemSet(), FN_PARAM_DOCDISP);
SwDocDisplayItem aDisp;