diff options
Diffstat (limited to 'dbaccess/source/ui/misc/linkeddocuments.cxx')
-rw-r--r-- | dbaccess/source/ui/misc/linkeddocuments.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/misc/linkeddocuments.cxx b/dbaccess/source/ui/misc/linkeddocuments.cxx index 9e6aa6103eba..9692b902a8b0 100644 --- a/dbaccess/source/ui/misc/linkeddocuments.cxx +++ b/dbaccess/source/ui/misc/linkeddocuments.cxx @@ -206,7 +206,7 @@ namespace dbaui if ( m_xConnection.is() ) aArgs.put( "ActiveConnection", m_xConnection ); - if ( _rObjectName.getLength() && ( _nCommandType != -1 ) ) + if ( !_rObjectName.isEmpty() && ( _nCommandType != -1 ) ) { aArgs.put( "CommandType", _nCommandType ); aArgs.put( "Command", _rObjectName ); |