summaryrefslogtreecommitdiff
path: root/svtools/source/uno/popupwindowcontroller.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/uno/popupwindowcontroller.cxx')
-rw-r--r--svtools/source/uno/popupwindowcontroller.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/uno/popupwindowcontroller.cxx b/svtools/source/uno/popupwindowcontroller.cxx
index 9ff12c840c43..553eecbaecdb 100644
--- a/svtools/source/uno/popupwindowcontroller.cxx
+++ b/svtools/source/uno/popupwindowcontroller.cxx
@@ -193,14 +193,14 @@ sal_Bool SAL_CALL PopupWindowController::supportsService( const OUString& Servic
void SAL_CALL PopupWindowController::initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException)
{
svt::ToolboxController::initialize( aArguments );
- if( m_aCommandURL.getLength() )
+ if( !m_aCommandURL.isEmpty() )
addStatusListener( m_aCommandURL );
}
// XComponent
void SAL_CALL PopupWindowController::dispose() throw (RuntimeException)
{
- if( m_aCommandURL.getLength() )
+ if( !m_aCommandURL.isEmpty() )
removeStatusListener( m_aCommandURL );
svt::ToolboxController::dispose();