From 3697b87b70c69e17e1d0398e0192a11dab179fe3 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 13 Jul 2017 12:43:20 +0200 Subject: use more OUString::operator== in forms..sal Change-Id: I70d7e50f8c1e019524ccad915f0cca912c5035dc Reviewed-on: https://gerrit.libreoffice.org/39899 Tested-by: Jenkins Reviewed-by: Noel Grandin --- forms/source/component/ComboBox.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'forms') 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; iequals( sNewValue ) ) + if ( *pStringItems == sNewValue ) break; } -- cgit