diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-28 15:19:18 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-28 15:19:27 +0100 |
commit | 3ba3652eab747a2b707288d9e04db8a4d5fe8a26 (patch) | |
tree | 7f83e6648e83a54c61fd7f37b631dee77be2c919 /xmlsecurity | |
parent | WaE: gcc 4.6.0 various warnings (diff) | |
download | core-3ba3652eab747a2b707288d9e04db8a4d5fe8a26.tar.gz core-3ba3652eab747a2b707288d9e04db8a4d5fe8a26.zip |
Replace empty equalsAscii() with getLength().
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/tools/standalone/csfit/helper.cxx | 4 | ||||
-rw-r--r-- | xmlsecurity/tools/standalone/mscsfit/helper.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/tools/standalone/csfit/helper.cxx b/xmlsecurity/tools/standalone/csfit/helper.cxx index 18772a5d68f9..8136b679c6b2 100644 --- a/xmlsecurity/tools/standalone/csfit/helper.cxx +++ b/xmlsecurity/tools/standalone/csfit/helper.cxx @@ -94,11 +94,11 @@ Reference< XMultiComponentFactory > serviceManager( Reference< XComponentContext Reference< XMultiComponentFactory > xUsedServiceManager = NULL ; Reference< XComponentContext > xUsedComponentContext = NULL ; - OSL_ENSURE( !sUnoUrl.equalsAscii( "" ) , + OSL_ENSURE( sUnoUrl.getLength() , "serviceManager - " "No uno URI specified" ) ; - OSL_ENSURE( !sRdbUrl.equalsAscii( "" ) , + OSL_ENSURE( sRdbUrl.getLength() , "serviceManager - " "No rdb URI specified" ) ; diff --git a/xmlsecurity/tools/standalone/mscsfit/helper.cxx b/xmlsecurity/tools/standalone/mscsfit/helper.cxx index 261972221ee8..4415b9c4a96a 100644 --- a/xmlsecurity/tools/standalone/mscsfit/helper.cxx +++ b/xmlsecurity/tools/standalone/mscsfit/helper.cxx @@ -62,11 +62,11 @@ Reference< XMultiComponentFactory > serviceManager( Reference< XComponentContext Reference< XMultiComponentFactory > xUsedServiceManager = NULL ; Reference< XComponentContext > xUsedComponentContext = NULL ; - OSL_ENSURE( !sUnoUrl.equalsAscii( "" ) , + OSL_ENSURE( sUnoUrl.getLength() , "serviceManager - " "No uno URI specified" ) ; - OSL_ENSURE( !sRdbUrl.equalsAscii( "" ) , + OSL_ENSURE( sRdbUrl.getLength() , "serviceManager - " "No rdb URI specified" ) ; |