From 0f0049d77a0ee6ae936922213c7290d0bc4fee29 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 16 Nov 2017 16:16:22 +0200 Subject: TypedWhichId for XATTR* constants Change-Id: Ie9d637d701b77a549de3b00956f9c74ee8bd08c1 Reviewed-on: https://gerrit.libreoffice.org/44830 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svx/source/svdraw/svdpage.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svx/source/svdraw/svdpage.cxx') diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx index 30b6c306348b..eb6a7a972ca0 100644 --- a/svx/source/svdraw/svdpage.cxx +++ b/svx/source/svdraw/svdpage.cxx @@ -1705,7 +1705,7 @@ Color SdrPage::GetPageBackgroundColor( SdrPageView const * pView, bool bScreenDi if(!IsMasterPage() && TRG_HasMasterPage()) { - if(drawing::FillStyle_NONE == static_cast(pBackgroundFill->Get(XATTR_FILLSTYLE)).GetValue()) + if(drawing::FillStyle_NONE == pBackgroundFill->Get(XATTR_FILLSTYLE).GetValue()) { pBackgroundFill = &TRG_GetMasterPage().getSdrPageProperties().GetItemSet(); } -- cgit