diff options
Diffstat (limited to 'forms/source/component/ComboBox.cxx')
-rw-r--r-- | forms/source/component/ComboBox.cxx | 2 |
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; } |