summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/view/Outliner.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index f3ff21a01449..1db238667469 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -1072,7 +1072,7 @@ void Outliner::ProvideNextTextObject()
maCurrentPosition = *maObjectIterator;
// LOK: do not descent to notes or master pages when searching
- bool bForbiddenPage = comphelper::LibreOfficeKit::isActive() && (maCurrentPosition.mePageKind != PageKind::Standard || maCurrentPosition.meEditMode != EditMode::Page);
+ bool bForbiddenPage = comphelper::LibreOfficeKit::isActive() && (maCurrentPosition.mePageKind != PK_STANDARD || maCurrentPosition.meEditMode != EM_PAGE);
// Switch to the current object only if it is a valid text object.
if (!bForbiddenPage && IsValidTextObject(maCurrentPosition))