diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-05-12 11:57:18 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-05-12 11:57:38 +0200 |
commit | e13bd0cfc7cd395baa125fff86171d030be71f8c (patch) | |
tree | d9e0d0895d53309b2c76c681fd086636b2a07f4a /reportdesign | |
parent | 0037c288a15423d800d4df311741cc77411663df (diff) |
Fix possible inefficient checking for variables emptiness
Change-Id: I95a6784d5448b63b0cdde436484915692f8633be
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlControlProperty.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reportdesign/source/filter/xml/xmlControlProperty.cxx b/reportdesign/source/filter/xml/xmlControlProperty.cxx index 7d4ec150a661..6509da4a7407 100644 --- a/reportdesign/source/filter/xml/xmlControlProperty.cxx +++ b/reportdesign/source/filter/xml/xmlControlProperty.cxx @@ -86,7 +86,7 @@ OXMLControlProperty::OXMLControlProperty( ORptFilter& rImport { // needs to be translated into a ::com::sun::star::uno::Type static std::map< OUString, css::uno::Type > s_aTypeNameMap; - if (!s_aTypeNameMap.size()) + if (s_aTypeNameMap.empty()) { s_aTypeNameMap[GetXMLToken( XML_BOOLEAN)] = ::getBooleanCppuType(); s_aTypeNameMap[GetXMLToken( XML_FLOAT)] = ::getCppuType( static_cast< double* >(NULL) ); |