diff options
Diffstat (limited to 'sd/source/ui/view/drawview.cxx')
-rw-r--r-- | sd/source/ui/view/drawview.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/drawview.cxx b/sd/source/ui/view/drawview.cxx index f3da2e75ce24..e800f6957705 100644 --- a/sd/source/ui/view/drawview.cxx +++ b/sd/source/ui/view/drawview.cxx @@ -134,7 +134,7 @@ bool DrawView::SetAttributes(const SfxItemSet& rSet, bool bOk = false; // is there a masterpage edit? - if ( mpDrawViewShell && mpDrawViewShell->GetEditMode() == EM_MASTERPAGE ) + if ( mpDrawViewShell && mpDrawViewShell->GetEditMode() == EditMode::MasterPage ) { SfxStyleSheetBasePool* pStShPool = mrDoc.GetStyleSheetPool(); SdPage& rPage = *mpDrawViewShell->getCurrentPage(); @@ -430,7 +430,7 @@ bool DrawView::SetStyleSheet(SfxStyleSheet* pStyleSheet, bool bDontRemoveHardAtt bool bResult = true; // is there a masterpage edit? - if (mpDrawViewShell && mpDrawViewShell->GetEditMode() == EM_MASTERPAGE) + if (mpDrawViewShell && mpDrawViewShell->GetEditMode() == EditMode::MasterPage) { if (IsPresObjSelected(false)) { |