diff options
Diffstat (limited to 'svx/source/customshapes')
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeFontWork.cxx | 3 | ||||
-rw-r--r-- | svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx index e91751e0ed2c..cf0be984808f 100644 --- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx +++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx @@ -61,6 +61,8 @@ using namespace com::sun::star; using namespace com::sun::star::uno; +namespace { + struct FWCharacterData // representing a single character { std::vector< tools::PolyPolygon > vOutlines; @@ -89,6 +91,7 @@ struct FWData // representing the whole text bool bScaleX; }; +} static bool InitializeFontWorkData( const SdrObjCustomShape& rSdrObjCustomShape, 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" }, |