From a2454a42ad2236f0f6b88be166bc7e6a8f90f036 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 9 Mar 2013 17:22:11 +0100 Subject: fdo#43460: use isEmpty() Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e --- cppuhelper/source/bootstrap.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cppuhelper/source') diff --git a/cppuhelper/source/bootstrap.cxx b/cppuhelper/source/bootstrap.cxx index b984de0b82fa..2de4b5643211 100644 --- a/cppuhelper/source/bootstrap.cxx +++ b/cppuhelper/source/bootstrap.cxx @@ -143,7 +143,7 @@ Reference< XComponentContext > SAL_CALL bootstrap() OUString sPipeName( buf.makeStringAndClear() ); // accept string - OSL_ASSERT( buf.getLength() == 0 ); + OSL_ASSERT( buf.isEmpty() ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "--accept=pipe,name=" ) ); buf.append( sPipeName ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( ";urp;" ) ); @@ -199,7 +199,7 @@ Reference< XComponentContext > SAL_CALL bootstrap() bridge::UnoUrlResolver::create( xLocalContext ) ); // connection string - OSL_ASSERT( buf.getLength() == 0 ); + OSL_ASSERT( buf.isEmpty() ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "uno:pipe,name=" ) ); buf.append( sPipeName ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( -- cgit