From 3b536279ed8131373a2c123873e07f45c36a8684 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 10 Feb 2017 08:06:31 +0200 Subject: convert SwXPrintSettingsType to scoped enum and drop read-only PRINT_SETTINGS_WEB enumerator Change-Id: I5260b92bca2d86082bbec37569e31be9525a300e --- sw/source/uibase/inc/unomod.hxx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sw/source/uibase/inc') 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 -- cgit