diff options
Diffstat (limited to 'dbaccess/source/ui/control/opendoccontrols.cxx')
-rw-r--r-- | dbaccess/source/ui/control/opendoccontrols.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/control/opendoccontrols.cxx b/dbaccess/source/ui/control/opendoccontrols.cxx index c488801a61d3..71fd695ffc04 100644 --- a/dbaccess/source/ui/control/opendoccontrols.cxx +++ b/dbaccess/source/ui/control/opendoccontrols.cxx @@ -247,7 +247,7 @@ namespace dbaui INetURLObject aURL; aURL.SetSmartURL( sURL ); // The password is set only when it is not empty. - if ( sPassword.getLength() > 0 ) + if ( !sPassword.isEmpty() ) aURL.SetPass( sPassword ); if ( !sTitle.Len() ) |