summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviewsb.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviewsb.cxx')
-rw-r--r--sd/source/ui/view/drviewsb.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviewsb.cxx b/sd/source/ui/view/drviewsb.cxx
index 0c4c7f05d05a..75406a095927 100644
--- a/sd/source/ui/view/drviewsb.cxx
+++ b/sd/source/ui/view/drviewsb.cxx
@@ -74,7 +74,7 @@ bool DrawViewShell::RenameSlide( sal_uInt16 nPageId, const OUString & rName )
SdPage* pPageToRename = nullptr;
PageKind ePageKind = GetPageKind();
- if( GetEditMode() == EM_PAGE )
+ if( GetEditMode() == EditMode::Page )
{
pPageToRename = GetDoc()->GetSdPage( nPageId - 1, ePageKind );