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 /dbaccess | |
parent | WaE: private field 'mpGraphics' is not used (diff) | |
download | core-e13bd0cfc7cd395baa125fff86171d030be71f8c.tar.gz core-e13bd0cfc7cd395baa125fff86171d030be71f8c.zip |
Fix possible inefficient checking for variables emptiness
Change-Id: I95a6784d5448b63b0cdde436484915692f8633be
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/filter/xml/xmlDataSourceSetting.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx index b9c779a07d25..031690515fae 100644 --- a/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx +++ b/dbaccess/source/filter/xml/xmlDataSourceSetting.cxx @@ -73,7 +73,7 @@ OXMLDataSourceSetting::OXMLDataSourceSetting( ODBFilter& 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) ); |