diff options
Diffstat (limited to 'xmlsecurity/tools')
-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" ) ; |