diff options
Diffstat (limited to 'sw/source/ui/dbui/dbinsdlg.cxx')
-rw-r--r-- | sw/source/ui/dbui/dbinsdlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx index 47fa5297fdde..5a7f3dcf95da 100644 --- a/sw/source/ui/dbui/dbinsdlg.cxx +++ b/sw/source/ui/dbui/dbinsdlg.cxx @@ -818,7 +818,7 @@ IMPL_LINK( SwInsertDBColAutoPilot, SelectHdl, ListBox*, pBox ) if( pBox == &aLbDbFmtFromUsr ) { - if( aSrch.sColumn.getLength() ) + if( !aSrch.sColumn.isEmpty() ) { aOldNumFmtLnk.Call( pBox ); aDBColumns[ nFndPos ]->nUsrNumFmt = aLbDbFmtFromUsr.GetFormat(); @@ -829,7 +829,7 @@ IMPL_LINK( SwInsertDBColAutoPilot, SelectHdl, ListBox*, pBox ) // set the selected FieldName at the FormatGroupBox, so that // it's clear what field is configured by the format! String sTxt( aFlFormat.GetText().Copy( 0, nGBFmtLen )); - if( !aSrch.sColumn.getLength() ) + if( aSrch.sColumn.isEmpty() ) { aRbDbFmtFromDb.Enable( sal_False ); aRbDbFmtFromUsr.Enable( sal_False ); |