summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/app/AppControllerGen.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/app/AppControllerGen.cxx')
-rw-r--r--dbaccess/source/ui/app/AppControllerGen.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/app/AppControllerGen.cxx b/dbaccess/source/ui/app/AppControllerGen.cxx
index c894cd814548..ef40f0f607c9 100644
--- a/dbaccess/source/ui/app/AppControllerGen.cxx
+++ b/dbaccess/source/ui/app/AppControllerGen.cxx
@@ -239,7 +239,7 @@ void OApplicationController::openDialog( const ::rtl::OUString& _sServiceName )
::rtl::OUString sInitialSelection;
if ( getContainer() )
sInitialSelection = getDatabaseName();
- if ( sInitialSelection.getLength() )
+ if ( !sInitialSelection.isEmpty() )
{
aArgs[ nArgPos++ ] <<= PropertyValue(
::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "InitialSelection" ) ), 0,
@@ -331,7 +331,7 @@ void SAL_CALL OApplicationController::propertyChange( const PropertyChangeEvent&
// if the old name is empty, then this is a newly inserted content. We're notified of it via the
// elementInserted method, so there's no need to handle it here.
- if ( sOldName.getLength() )
+ if ( !sOldName.isEmpty() )
{
Reference<XChild> xChild(evt.Source,UNO_QUERY);
if ( xChild.is() )