From 3ba3652eab747a2b707288d9e04db8a4d5fe8a26 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Fri, 28 Jan 2011 15:19:18 +0100 Subject: Replace empty equalsAscii() with getLength(). --- xmlsecurity/tools/standalone/csfit/helper.cxx | 4 ++-- xmlsecurity/tools/standalone/mscsfit/helper.cxx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'xmlsecurity/tools') 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" ) ; -- cgit v1.2.3