summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/unmodpg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/unmodpg.cxx')
-rw-r--r--sd/source/ui/view/unmodpg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/unmodpg.cxx b/sd/source/ui/view/unmodpg.cxx
index 5abb98a33fc1..f7416f5a6884 100644
--- a/sd/source/ui/view/unmodpg.cxx
+++ b/sd/source/ui/view/unmodpg.cxx
@@ -95,7 +95,7 @@ void ModifyPageUndoAction::Undo()
{
mpPage->SetName(maOldName);
- if (mpPage->GetPageKind() == PK_STANDARD)
+ if (mpPage->GetPageKind() == PageKind::Standard)
{
SdPage* pNotesPage = static_cast<SdPage*>(mpDoc->GetPage(mpPage->GetPageNum() + 1));
pNotesPage->SetName(maOldName);
@@ -138,7 +138,7 @@ void ModifyPageUndoAction::Redo()
{
mpPage->SetName(maNewName);
- if (mpPage->GetPageKind() == PK_STANDARD)
+ if (mpPage->GetPageKind() == PageKind::Standard)
{
SdPage* pNotesPage = static_cast<SdPage*>(mpDoc->GetPage(mpPage->GetPageNum() + 1));
pNotesPage->SetName(maNewName);