summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-02-09 13:50:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-10 08:08:45 +0200
commitf4a9ba4b484480ddacc62a47f68b02e449d72880 (patch)
tree63c46455796508142a9a49a90c8f7101a1a0522c /include
parentconvert EItem to scoped enum (diff)
downloadcore-f4a9ba4b484480ddacc62a47f68b02e449d72880.tar.gz
core-f4a9ba4b484480ddacc62a47f68b02e449d72880.zip
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.hxx8
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 &amp; A']")
- CONFIG_NAME_FULL_PATH // full absolute path. ("/org.openoffice.Sample/Group/Item", "/org.openoffice.Sample/Set/Typ['Q &amp; 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 &amp; A']")
};
class ConfigChangeListener_Impl;