From f4a9ba4b484480ddacc62a47f68b02e449d72880 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 9 Feb 2017 13:50:39 +0200 Subject: convert ConfigNameFormat to scoped enum and drop unused constants CONFIG_NAME_PLAINTEXT_NAME CONFIG_NAME_FULL_PATH Change-Id: Ibf7e88da0ae54516cb863b8efa995201f2a95268 --- include/unotools/configitem.hxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'include') 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; -- cgit