diff options
Diffstat (limited to 'sd/source/ui/unoidl/SdUnoDrawView.cxx')
-rw-r--r-- | sd/source/ui/unoidl/SdUnoDrawView.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/source/ui/unoidl/SdUnoDrawView.cxx b/sd/source/ui/unoidl/SdUnoDrawView.cxx index 820e77cb6b84..9ec3bbe7f0e3 100644 --- a/sd/source/ui/unoidl/SdUnoDrawView.cxx +++ b/sd/source/ui/unoidl/SdUnoDrawView.cxx @@ -64,15 +64,15 @@ SdUnoDrawView::~SdUnoDrawView() throw() bool SdUnoDrawView::getMasterPageMode() const throw() { - return (mrDrawViewShell.GetEditMode() == EM_MASTERPAGE); + return (mrDrawViewShell.GetEditMode() == EditMode::MasterPage); } void SdUnoDrawView::setMasterPageMode (bool bMasterPageMode) throw() { - if ((mrDrawViewShell.GetEditMode() == EM_MASTERPAGE) != bMasterPageMode) + if ((mrDrawViewShell.GetEditMode() == EditMode::MasterPage) != bMasterPageMode) { mrDrawViewShell.ChangeEditMode ( - bMasterPageMode ? EM_MASTERPAGE : EM_PAGE, + bMasterPageMode ? EditMode::MasterPage : EditMode::Page, mrDrawViewShell.IsLayerModeActive()); } } |