summaryrefslogtreecommitdiff
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
commit6f3191fc75c89613f4d1b37eeaf44cdc2751606a (patch)
treec67055fda9f4a48ea3ec609a9b72d3d74e285373
parent9923c5f5606383b386e81640aaa5f2b7a3908ec0 (diff)
Replace empty equalsAscii() with getLength().
-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 7adc229fc..6487f89cf 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 6cdb0e6f5..9a7b4bb75 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" ) ;