summaryrefslogtreecommitdiff
path: root/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx')
-rw-r--r--svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx b/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx
index 197acb8db4ce..4b257d9ffb7e 100644
--- a/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx
@@ -31,11 +31,16 @@ static ::osl::Mutex& getHashMapMutex()
return s_aHashMapProtection;
}
+namespace {
+
struct NameTypeTable
{
const char* pS;
MSO_SPT const pE;
};
+
+}
+
static const NameTypeTable pNameTypeTableArray[] =
{
{ "non-primitive", mso_sptMin },
@@ -309,12 +314,17 @@ OUString EnhancedCustomShapeTypeNames::Get( const MSO_SPT eShapeType )
typedef std::unordered_map< const char*, const char*, rtl::CStringHash, rtl::CStringEqual> TypeACCNameHashMap;
static TypeACCNameHashMap* pACCHashMap = nullptr;
+
+namespace {
+
struct ACCNameTypeTable
{
const char* pS;
const char* pE;
};
+}
+
static const ACCNameTypeTable pACCNameTypeTableArray[] =
{
{ "non-primitive", "Non Primitive Shape" },