From 8c77b5670ec0ee6d550d5adba51b8ae76fe2c162 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 6 Jul 2017 13:10:19 +0200 Subject: use OString::operator== in preference to ::equals Change-Id: Ib291521963a791a9c6175964571e9d9895072acf Reviewed-on: https://gerrit.libreoffice.org/39646 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/source/control/ctrltool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools') diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx index 1586caf4959d..11d6d69ba65a 100644 --- a/svtools/source/control/ctrltool.cxx +++ b/svtools/source/control/ctrltool.cxx @@ -839,7 +839,7 @@ long FontSizeNames::Name2Size( const OUString& rName ) const // linear search is sufficient for this rare case for( long i = mnElem; --i >= 0; ) - if ( aName.equals(mpArray[i].mszUtf8Name) ) + if ( aName == mpArray[i].mszUtf8Name ) return mpArray[i].mnSize; } -- cgit