summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/backgrnd.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-02-24 13:24:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-02-24 19:31:38 +0100
commit2baf13e903164e92af6c87346e368043bbd09b28 (patch)
tree5ce84dc9f5d64a46495bd7ca5f404285bb4683b9 /cui/source/tabpages/backgrnd.cxx
parent089ce740f9f97f9c7b13e37a31acfc94984e9a3e (diff)
use more TypedWhichId
Change-Id: I6ab3ca829bc08e672736dd8dd41ba714d7172090 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130498 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cui/source/tabpages/backgrnd.cxx')
-rw-r--r--cui/source/tabpages/backgrnd.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index ada1d46c1521..6b9d906ec907 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -204,7 +204,7 @@ bool SvxBkgTabPage::FillItemSet( SfxItemSet* rCoreSet )
{
if (SfxItemState::SET == maSet.GetItemState(SID_ATTR_BRUSH_ROW))
{
- SvxBrushItem aBrushItem(static_cast<const SvxBrushItem&>(maSet.Get(SID_ATTR_BRUSH_ROW)));
+ SvxBrushItem aBrushItem(maSet.Get(SID_ATTR_BRUSH_ROW));
rCoreSet->Put(aBrushItem);
}
}
@@ -212,7 +212,7 @@ bool SvxBkgTabPage::FillItemSet( SfxItemSet* rCoreSet )
{
if (SfxItemState::SET == maSet.GetItemState(SID_ATTR_BRUSH_TABLE))
{
- SvxBrushItem aBrushItem(static_cast<const SvxBrushItem&>(maSet.Get(SID_ATTR_BRUSH_TABLE)));
+ SvxBrushItem aBrushItem(maSet.Get(SID_ATTR_BRUSH_TABLE));
rCoreSet->Put(aBrushItem);
}
}