diff options
Diffstat (limited to 'svtools/source/uno/toolboxcontroller.cxx')
-rw-r--r-- | svtools/source/uno/toolboxcontroller.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/toolboxcontroller.cxx b/svtools/source/uno/toolboxcontroller.cxx index 4e4970b5d729..1146f7cea924 100644 --- a/svtools/source/uno/toolboxcontroller.cxx +++ b/svtools/source/uno/toolboxcontroller.cxx @@ -252,7 +252,7 @@ throw ( Exception, RuntimeException ) { } - if ( m_aCommandURL.getLength() ) + if ( !m_aCommandURL.isEmpty() ) m_aListenerMap.insert( URLToDispatchMap::value_type( m_aCommandURL, Reference< XDispatch >() )); } } @@ -373,7 +373,7 @@ throw (::com::sun::star::uno::RuntimeException) if ( m_bInitialized && m_xFrame.is() && m_xServiceManager.is() && - m_aCommandURL.getLength() ) + !m_aCommandURL.isEmpty() ) { aCommandURL = m_aCommandURL; |