summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
Diffstat (limited to 'unotools')
-rw-r--r--unotools/source/config/configvaluecontainer.cxx4
-rw-r--r--unotools/source/config/fltrcfg.cxx5
-rw-r--r--unotools/source/misc/fontcvt.cxx4
3 files changed, 13 insertions, 0 deletions
diff --git a/unotools/source/config/configvaluecontainer.cxx b/unotools/source/config/configvaluecontainer.cxx
index fcdae8faee58..780a59d99926 100644
--- a/unotools/source/config/configvaluecontainer.cxx
+++ b/unotools/source/config/configvaluecontainer.cxx
@@ -34,12 +34,16 @@ namespace utl
//= NodeValueAccessor
+ namespace {
+
enum class LocationType
{
SimplyObjectInstance,
Unbound
};
+ }
+
struct NodeValueAccessor
{
private:
diff --git a/unotools/source/config/fltrcfg.cxx b/unotools/source/config/fltrcfg.cxx
index 5ebfdbf90668..92ec14e0dd14 100644
--- a/unotools/source/config/fltrcfg.cxx
+++ b/unotools/source/config/fltrcfg.cxx
@@ -28,6 +28,8 @@
using namespace utl;
using namespace com::sun::star::uno;
+namespace {
+
enum class ConfigFlags {
NONE = 0x0000000,
WordCode = 0x0000001,
@@ -55,6 +57,9 @@ enum class ConfigFlags {
CreateMSOLockFiles = 0x2000000,
VisioLoad = 0x4000000,
};
+
+}
+
namespace o3tl {
template<> struct typed_flags<ConfigFlags> : is_typed_flags<ConfigFlags, 0xe7fff3f> {};
}
diff --git a/unotools/source/misc/fontcvt.cxx b/unotools/source/misc/fontcvt.cxx
index 12c6528498db..d9d80ce2e2de 100644
--- a/unotools/source/misc/fontcvt.cxx
+++ b/unotools/source/misc/fontcvt.cxx
@@ -1011,12 +1011,16 @@ static sal_Unicode ImplStarSymbolToStarBats( sal_Unicode c )
return c;
}
+namespace {
+
enum SymbolFont
{
Symbol=1, Wingdings=2, MonotypeSorts=4, Webdings=8, Wingdings2=16,
Wingdings3=32, MTExtra=64, TimesNewRoman=128
};
+}
+
const char * const aSymbolNames[] =
{
"Symbol", "Wingdings", "Monotype Sorts", "Webdings", "Wingdings 2",