diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-03-08 11:32:48 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-03-09 13:03:06 +0100 |
commit | 3912e47044f753f82c63ac11e803be5fb756c14f (patch) | |
tree | 87d9bb88027876ef0528218d712de5305e651f55 /xmloff | |
parent | 52c5eb20fd96d63e17cb9cd18912030131bcc787 (diff) |
Work around -Werror=unused-local-typedefs from comphelper/stl_types.hxx
Change-Id: Id9f588e551b40a64bc86cae7c6d50f99659f94ab
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/propertyimport.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xmloff/source/forms/propertyimport.cxx b/xmloff/source/forms/propertyimport.cxx index 98c450af2ec8..8bd21c6ecb77 100644 --- a/xmloff/source/forms/propertyimport.cxx +++ b/xmloff/source/forms/propertyimport.cxx @@ -247,8 +247,7 @@ Type PropertyConversion::xmlTypeToUnoType( const ::rtl::OUString& _rType ) { Type aUnoType( ::getVoidCppuType() ); - DECLARE_STL_USTRINGACCESS_MAP( ::com::sun::star::uno::Type, MapString2Type ); - static MapString2Type s_aTypeNameMap; + static std::map< OUString, css::uno::Type > s_aTypeNameMap; if ( s_aTypeNameMap.empty() ) { s_aTypeNameMap[ token::GetXMLToken( token::XML_BOOLEAN ) ] = ::getBooleanCppuType(); @@ -257,7 +256,7 @@ Type PropertyConversion::xmlTypeToUnoType( const ::rtl::OUString& _rType ) s_aTypeNameMap[ token::GetXMLToken( token::XML_VOID ) ] = ::getVoidCppuType(); } - const ConstMapString2TypeIterator aTypePos = s_aTypeNameMap.find( _rType ); + const std::map< OUString, css::uno::Type >::iterator aTypePos = s_aTypeNameMap.find( _rType ); OSL_ENSURE( s_aTypeNameMap.end() != aTypePos, "PropertyConversion::xmlTypeToUnoType: invalid property name!" ); if ( s_aTypeNameMap.end() != aTypePos ) aUnoType = aTypePos->second; |