diff options
Diffstat (limited to 'dbaccess/source/ui/dlg/sqlmessage.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/sqlmessage.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/dlg/sqlmessage.cxx b/dbaccess/source/ui/dlg/sqlmessage.cxx index 61e80ac209f9..bc123122e91c 100644 --- a/dbaccess/source/ui/dlg/sqlmessage.cxx +++ b/dbaccess/source/ui/dlg/sqlmessage.cxx @@ -286,7 +286,7 @@ namespace if ( aCurrentElement.getType() == SQLExceptionInfo::SQL_CONTEXT ) { const SQLContext* pContext = (const SQLContext*)aCurrentElement; - if ( pContext->Details.getLength() ) + if ( !pContext->Details.isEmpty() ) { ExceptionDisplayInfo aSubInfo( aCurrentElement.getType() ); @@ -634,7 +634,7 @@ void OSQLMessageBox::impl_createStandardButtons( WinBits _nStyle ) AddButton( BUTTON_OK, BUTTONID_OK, BUTTONDIALOG_DEFBUTTON | BUTTONDIALOG_FOCUSBUTTON ); } - if ( m_sHelpURL.getLength() ) + if ( !m_sHelpURL.isEmpty() ) { lcl_addButton( *this, BUTTON_HELP, false ); |