summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-01-28 15:19:18 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-01-28 15:19:27 +0100
commit3ba3652eab747a2b707288d9e04db8a4d5fe8a26 (patch)
tree7f83e6648e83a54c61fd7f37b631dee77be2c919 /xmlsecurity
parent2158a2497c28a8f1e9af1bc974b9d4da83cc3fb1 (diff)
Replace empty equalsAscii() with getLength().
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/tools/standalone/csfit/helper.cxx4
-rw-r--r--xmlsecurity/tools/standalone/mscsfit/helper.cxx4
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" ) ;