diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-09 13:50:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-02-10 08:08:45 +0200 |
commit | f4a9ba4b484480ddacc62a47f68b02e449d72880 (patch) | |
tree | 63c46455796508142a9a49a90c8f7101a1a0522c /include | |
parent | cc96c1fdc1b62f8b61567f5df63e892953c87f10 (diff) |
convert ConfigNameFormat to scoped enum
and drop unused constants
CONFIG_NAME_PLAINTEXT_NAME
CONFIG_NAME_FULL_PATH
Change-Id: Ibf7e88da0ae54516cb863b8efa995201f2a95268
Diffstat (limited to 'include')
-rw-r--r-- | include/unotools/configitem.hxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/include/unotools/configitem.hxx b/include/unotools/configitem.hxx index 54a57d896f5e..41c8b62a007d 100644 --- a/include/unotools/configitem.hxx +++ b/include/unotools/configitem.hxx @@ -58,12 +58,10 @@ namespace o3tl namespace utl { - enum ConfigNameFormat + enum class ConfigNameFormat { - CONFIG_NAME_PLAINTEXT_NAME, // unescaped local node name, for user display etc. - CONFIG_NAME_LOCAL_NAME, // local node name, for use in XNameAccess etc. ("Item", "Q & A") - CONFIG_NAME_LOCAL_PATH, // one-level relative path, for use when building paths etc. ("Item", "Typ['Q & A']") - CONFIG_NAME_FULL_PATH // full absolute path. ("/org.openoffice.Sample/Group/Item", "/org.openoffice.Sample/Set/Typ['Q & A']") + LocalNode, // local node name, for use in XNameAccess etc. ("Item", "Q & A") + LocalPath, // one-level relative path, for use when building paths etc. ("Item", "Typ['Q & A']") }; class ConfigChangeListener_Impl; |