summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview/pview.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-13 11:28:49 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-04-15 11:34:21 +0000
commit9782438a5887c40246016c1f2b5fe12401d2c68d (patch)
tree9ccf853b12d1bc16bb6b9b48e54317bcdf10856f /sw/source/uibase/uiview/pview.cxx
parentc2c22d26db03949771d5a0bb4f8abf6d2dc850ea (diff)
convert SFX_VIEW constants to scoped enum
Change-Id: I327dc1ec722fa9445f13fc5168ad646e272ba9d4 Reviewed-on: https://gerrit.libreoffice.org/15300 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sw/source/uibase/uiview/pview.cxx')
-rw-r--r--sw/source/uibase/uiview/pview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/uiview/pview.cxx b/sw/source/uibase/uiview/pview.cxx
index fa80f75052a0..973cc9114358 100644
--- a/sw/source/uibase/uiview/pview.cxx
+++ b/sw/source/uibase/uiview/pview.cxx
@@ -101,7 +101,7 @@ void SwPagePreview::InitInterface_Impl()
TYPEINIT1(SwPagePreview,SfxViewShell)
-#define SWVIEWFLAGS ( SFX_VIEW_CAN_PRINT|SFX_VIEW_HAS_PRINTOPTIONS )
+#define SWVIEWFLAGS ( SfxViewShellFlags::CAN_PRINT | SfxViewShellFlags::HAS_PRINTOPTIONS )
#define MIN_PREVIEW_ZOOM 25
#define MAX_PREVIEW_ZOOM 600