summaryrefslogtreecommitdiff
path: root/sw/source/uibase/frmdlg/colex.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/uibase/frmdlg/colex.cxx')
-rw-r--r--sw/source/uibase/frmdlg/colex.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/frmdlg/colex.cxx b/sw/source/uibase/frmdlg/colex.cxx
index e994505427f0..8d458f016806 100644
--- a/sw/source/uibase/frmdlg/colex.cxx
+++ b/sw/source/uibase/frmdlg/colex.cxx
@@ -217,7 +217,7 @@ void SwColExample::DrawPage(vcl::RenderContext& rRenderContext, const Point& rOr
const tools::Rectangle aDefineRect(aRect);
const drawinglayer::attribute::SdrAllFillAttributesHelperPtr& rFillAttributes = getPageFillAttributes();
- if (!rFillAttributes.get() || !rFillAttributes->isUsed())
+ if (!rFillAttributes || !rFillAttributes->isUsed())
{
// If there is no fill, use fallback color
const StyleSettings& rStyleSettings = rRenderContext.GetSettings().GetStyleSettings();