summaryrefslogtreecommitdiff
path: root/sw/source/uibase/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-10 08:06:31 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-10 08:08:45 +0200
commit3b536279ed8131373a2c123873e07f45c36a8684 (patch)
treecf2d0845e63dd049c2a8d6d2a72af60ea6a88972 /sw/source/uibase/inc
parent6e12729f715f142140d220dc7d3b28a4a0657016 (diff)
convert SwXPrintSettingsType to scoped enum
and drop read-only PRINT_SETTINGS_WEB enumerator Change-Id: I5260b92bca2d86082bbec37569e31be9525a300e
Diffstat (limited to 'sw/source/uibase/inc')
-rw-r--r--sw/source/uibase/inc/unomod.hxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/sw/source/uibase/inc/unomod.hxx b/sw/source/uibase/inc/unomod.hxx
index ad83a01700c2..c3ef5a5de79e 100644
--- a/sw/source/uibase/inc/unomod.hxx
+++ b/sw/source/uibase/inc/unomod.hxx
@@ -64,11 +64,10 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
};
-enum SwXPrintSettingsType
+enum class SwXPrintSettingsType
{
- PRINT_SETTINGS_MODULE,
- PRINT_SETTINGS_WEB,
- PRINT_SETTINGS_DOCUMENT
+ Module,
+ Document
};
class SwXPrintSettings : public comphelper::ChainableHelperNoState