diff options
Diffstat (limited to 'cui/source/tabpages/page.cxx')
-rw-r--r-- | cui/source/tabpages/page.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cui/source/tabpages/page.cxx b/cui/source/tabpages/page.cxx index c2de6652ec87..c0606c2f65be 100644 --- a/cui/source/tabpages/page.cxx +++ b/cui/source/tabpages/page.cxx @@ -1089,7 +1089,6 @@ void SvxPageDescPage::ResetBackground_Impl(const SfxItemSet& rSet) } drawinglayer::attribute::SdrAllFillAttributesHelperPtr aPageFillAttributes; - const SfxPoolItem* pItem = nullptr; if(mbEnableDrawingLayerFillStyles) { @@ -1098,7 +1097,7 @@ void SvxPageDescPage::ResetBackground_Impl(const SfxItemSet& rSet) } else { - pItem = GetItem(rSet, SID_ATTR_BRUSH); + const SfxPoolItem* pItem = GetItem(rSet, SID_ATTR_BRUSH); if(pItem) { |