summaryrefslogtreecommitdiff
path: root/sd/source/ui/func/fuconstr.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/func/fuconstr.cxx')
-rw-r--r--sd/source/ui/func/fuconstr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fuconstr.cxx b/sd/source/ui/func/fuconstr.cxx
index 770355a79f9b..c6d40c0ca0b4 100644
--- a/sd/source/ui/func/fuconstr.cxx
+++ b/sd/source/ui/func/fuconstr.cxx
@@ -318,7 +318,7 @@ void FuConstruct::SetStyleSheet( SfxItemSet& rAttr, SdrObject* pObj,
{
SdPage* pPage = static_cast<SdPage*>(mpView->GetSdrPageView()->GetPage());
if ( pPage->IsMasterPage() && pPage->GetPageKind() == PK_STANDARD &&
- mpDoc->GetDocumentType() == DOCUMENT_TYPE_IMPRESS )
+ mpDoc->GetDocumentType() == DocumentType::Impress )
{
/**********************************************
* Objects was created on the slide master page