summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-11-23 13:34:31 +0200
committerAshod Nakashian <ashod.nakashian@collabora.co.uk>2017-12-18 01:08:05 -0500
commitd2f7063d7e8c7631d804ea18ce5cc5d0aa310cb9 (patch)
tree216a2bf4e0458bc916c2092b1e06d2b28c358f53 /include
parent5fb3078cc992da133527a0b2f933553345c0b58e (diff)
convert SFXWB_ constants to scoped enum
Change-Id: I63d442e51b7e22093da1c232e1b575bc961c0e69 (cherry picked from commit 0e04b531448d7915b40c59dccef7a9313bd28c11) (cherry picked from commit e14539d0ed367e377346cbc0247b4c3e3637c35e)
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/new.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/sfx2/new.hxx b/include/sfx2/new.hxx
index 7ce3c8207da7..6113215f8af7 100644
--- a/include/sfx2/new.hxx
+++ b/include/sfx2/new.hxx
@@ -34,8 +34,9 @@ class SfxObjectShellLock;
class SfxObjectShell;
-#define SFXWB_PREVIEW 0x0003
-#define SFXWB_LOAD_TEMPLATE 0x0004
+enum class SfxNewFileDialogMode {
+ NONE, Preview, LoadTemplate
+};
enum class SfxTemplateFlags
{
@@ -63,7 +64,7 @@ private:
public:
- SfxNewFileDialog(vcl::Window *pParent, sal_uInt16 nFlags);
+ SfxNewFileDialog(vcl::Window *pParent, SfxNewFileDialogMode nFlags);
virtual ~SfxNewFileDialog() override;
virtual void dispose() override;