summaryrefslogtreecommitdiff
path: root/include/unotools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-09 11:53:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-10 08:08:45 +0200
commitaef704d8077226b13a28e664db59d27017241afe (patch)
treeed4d4e9d05d4554048cec4b35a4eb15c33187536 /include/unotools
parenta4d0ec84dae49a6c47c38bfc6ee5bba988349721 (diff)
convert SvtSaveOptions::EOption to scoped enum
and remove unused E_SAVEUNPACKED, E_USESHA1INODF12, E_USEBLOWFISHINODF12 enumerators Change-Id: I7c384e0c30af5091a22beeda1c77e4b71fdde55e
Diffstat (limited to 'include/unotools')
-rw-r--r--include/unotools/saveopt.hxx35
1 files changed, 16 insertions, 19 deletions
diff --git a/include/unotools/saveopt.hxx b/include/unotools/saveopt.hxx
index 22d81677f50a..9b8a361b8f04 100644
--- a/include/unotools/saveopt.hxx
+++ b/include/unotools/saveopt.hxx
@@ -29,26 +29,23 @@ class UNOTOOLS_DLLPUBLIC SvtSaveOptions: public utl::detail::Options
public:
- enum EOption
+ enum class EOption
{
- E_AUTOSAVETIME,
- E_USEUSERDATA,
- E_BACKUP,
- E_AUTOSAVE,
- E_AUTOSAVEPROMPT,
- E_DOCINFSAVE,
- E_SAVEWORKINGSET,
- E_SAVEDOCVIEW,
- E_SAVERELINET,
- E_SAVERELFSYS,
- E_SAVEUNPACKED,
- E_DOPRETTYPRINTING,
- E_WARNALIENFORMAT,
- E_LOADDOCPRINTER,
- E_ODFDEFAULTVERSION,
- E_USESHA1INODF12,
- E_USEBLOWFISHINODF12,
- E_USERAUTOSAVE,
+ AutoSaveTime,
+ UseUserData,
+ Backup,
+ AutoSave,
+ AutoSavePrompt,
+ DocInfSave,
+ SaveWorkingSet,
+ SaveDocView,
+ SaveRelInet,
+ SaveRelFsys,
+ DoPrettyPrinting,
+ WarnAlienFormat,
+ LoadDocPrinter,
+ OdfDefaultVersion,
+ UserAutoSave,
};
/** Keep enum values sorted that a less or greater compare maps to older