diff options
Diffstat (limited to 'cppuhelper/source/bootstrap.cxx')
-rw-r--r-- | cppuhelper/source/bootstrap.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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( |