summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/nsplugin/source/so_main.cxx4
-rw-r--r--extensions/source/plugin/win/winmgr.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/extensions/source/nsplugin/source/so_main.cxx b/extensions/source/nsplugin/source/so_main.cxx
index 054fd77d4920..f62383f843f6 100644
--- a/extensions/source/nsplugin/source/so_main.cxx
+++ b/extensions/source/nsplugin/source/so_main.cxx
@@ -313,7 +313,7 @@ Reference< lang::XMultiServiceFactory > SAL_CALL start_office(NSP_PIPE_FD read_f
aPluginPipeName = ::rtl::OUString::valueOf( aPath.hashCode() );
// accept string
- OSL_ASSERT( buf.getLength() == 0 );
+ OSL_ASSERT( buf.isEmpty() );
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "--accept=pipe,name=" ) );
buf.append( aPluginPipeName ); //user installation path as pipe name
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( ";urp;" ) );
@@ -332,7 +332,7 @@ Reference< lang::XMultiServiceFactory > SAL_CALL start_office(NSP_PIPE_FD read_f
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( aPluginPipeName );
buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(
diff --git a/extensions/source/plugin/win/winmgr.cxx b/extensions/source/plugin/win/winmgr.cxx
index 4f62ecd1c881..81d1e55080eb 100644
--- a/extensions/source/plugin/win/winmgr.cxx
+++ b/extensions/source/plugin/win/winmgr.cxx
@@ -387,7 +387,7 @@ Sequence< PluginDescription > XPluginManager_Impl::impl_getPluginDescriptions(vo
PluginDescription & rDescr = pDescriptions[nStart+nTok];
OString aMIMEToken( aMIME.getToken( 0, '|', nIndex ) );
OString aExtToken2( aExt.getToken( 0, '|', nIndex2 ) );
- if( aMIMEToken.getLength() == 0 || aExtToken2.getLength() == 0 )
+ if( aMIMEToken.isEmpty() || aExtToken2.isEmpty() )
continue;
rDescr.Mimetype = OUString(