diff options
Diffstat (limited to 'toolkit/source/helper/property.cxx')
-rw-r--r-- | toolkit/source/helper/property.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/toolkit/source/helper/property.cxx b/toolkit/source/helper/property.cxx index b09b0a7e8fff..c3b67df41ac4 100644 --- a/toolkit/source/helper/property.cxx +++ b/toolkit/source/helper/property.cxx @@ -45,6 +45,8 @@ using ::com::sun::star::graphic::XGraphic; using namespace com::sun::star; +namespace { + struct ImplPropertyInfo { OUString aName; @@ -65,6 +67,8 @@ struct ImplPropertyInfo }; +} + #define DECL_PROP_1( asciiname, id, type, attrib1 ) \ ImplPropertyInfo( asciiname, BASEPROPERTY_##id, cppu::UnoType<type>::get(), css::beans::PropertyAttribute::attrib1 ) #define DECL_PROP_2( asciiname, id, type, attrib1, attrib2 ) \ @@ -268,6 +272,7 @@ static ImplPropertyInfo* ImplGetPropertyInfos( sal_uInt16& rElementCount ) return aImplPropertyInfos; } +namespace { struct ImplPropertyInfoCompareFunctor { @@ -281,6 +286,8 @@ struct ImplPropertyInfoCompareFunctor } }; +} + static void ImplAssertValidPropertyArray() { static bool bSorted = false; |