summaryrefslogtreecommitdiff
path: root/dbaccess/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-05-29 11:34:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-05-29 14:44:37 +0200
commit9b25614939f7709e3d67949f49c4beeec0cdc534 (patch)
treec1e25fc743202c1fd8288ef5f8c0332203b1fc5c /dbaccess/source
parent6647a167400753df45dba788ed793d55ca0be9f8 (diff)
loplugin:simplifybool in dbaccess..framework
Change-Id: I0d73bb7d8d3fde426edc0a10c0750758b68aceb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95099 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source')
-rw-r--r--dbaccess/source/ui/dlg/TextConnectionHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
index bacc0f7cb67c..a494bda4c4ad 100644
--- a/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
+++ b/dbaccess/source/ui/dlg/TextConnectionHelper.cxx
@@ -358,7 +358,7 @@ namespace dbaui
if (nPos == -1)
return rBox.get_active_text().copy(0);
- if ( !( m_xTextSeparator.get() == &rBox && nPos == (rBox.get_count()-1) ) )
+ if ( m_xTextSeparator.get() != &rBox || nPos != (rBox.get_count()-1) )
return OUString(
static_cast< sal_Unicode >( rList.getToken((nPos*2)+1, nTok ).toInt32() ));
// somewhat strange ... translates for instance an "32" into " "