summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-13 12:43:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-13 15:20:58 +0200
commit3697b87b70c69e17e1d0398e0192a11dab179fe3 (patch)
treea498cce1f1351e6f92385aa9245c66c0724b6430 /forms
parent9bc95521aaa35b533894b3934519acdbd7a47815 (diff)
use more OUString::operator== in forms..sal
Change-Id: I70d7e50f8c1e019524ccad915f0cca912c5035dc Reviewed-on: https://gerrit.libreoffice.org/39899 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ComboBox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/ComboBox.cxx b/forms/source/component/ComboBox.cxx
index 54da60a79dc3..c99cf8a1808e 100644
--- a/forms/source/component/ComboBox.cxx
+++ b/forms/source/component/ComboBox.cxx
@@ -775,7 +775,7 @@ bool OComboBoxModel::commitControlValueToDbColumn( bool _bPostReset )
sal_Int32 i;
for (i=0; i<aStringItemList.getLength(); ++i, ++pStringItems)
{
- if ( pStringItems->equals( sNewValue ) )
+ if ( *pStringItems == sNewValue )
break;
}