summaryrefslogtreecommitdiff
path: root/sd/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-04-01 09:21:10 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-04-01 10:28:58 +0200
commit8fb5ee2a1399383dbfe3baec8c8716788c1fa0e8 (patch)
treeb666c95ba39ca1cdc981758057737442ebb4692a /sd/inc
parent4de3d96458006b8312446397b423bc3dc5d50294 (diff)
convert SdXMLFilterMode to scoped enum
Change-Id: I5e5e533c076f3108fed776d00c7ec649e202d9df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91463 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/sdxmlwrp.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/inc/sdxmlwrp.hxx b/sd/inc/sdxmlwrp.hxx
index 84d3862b0c03..0c42447be28f 100644
--- a/sd/inc/sdxmlwrp.hxx
+++ b/sd/inc/sdxmlwrp.hxx
@@ -26,10 +26,10 @@
class ErrCode;
// SdXMLFilter
-enum SdXMLFilterMode
+enum class SdXMLFilterMode
{
- SDXMLMODE_Normal, ///< standard load and save of the complete document
- SDXMLMODE_Organizer ///< only for import, only the styles are loaded
+ Normal, ///< standard load and save of the complete document
+ Organizer ///< only for import, only the styles are loaded
};
class SdXMLFilter final : public SdFilter
@@ -38,7 +38,7 @@ public:
SdXMLFilter(
SfxMedium& rMedium,
::sd::DrawDocShell& rDocShell,
- SdXMLFilterMode eFilterMode = SDXMLMODE_Normal,
+ SdXMLFilterMode eFilterMode = SdXMLFilterMode::Normal,
sal_uLong nStoreVer = SOFFICE_FILEFORMAT_8 );
virtual ~SdXMLFilter() override;