From a16b4676a53fdc94c63821cf14e7f24e0fe20959 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Thu, 24 May 2012 07:36:47 +0100 Subject: convert ResStringArray to rtl::OUString Change-Id: I51b86a10caa5da6e12583c2b22404b0d9282b13d --- starmath/source/parse.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'starmath/source/parse.cxx') diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx index 9ecd5ae1a370..d3999a545d00 100644 --- a/starmath/source/parse.cxx +++ b/starmath/source/parse.cxx @@ -2376,7 +2376,7 @@ void SmParser::Special() sal_uInt16 nCount = sal::static_int_cast< sal_uInt16 >(pFrom->Count()); for (sal_uInt16 i = 0; i < nCount; ++i) { - if (pFrom->GetString(i) == rName) + if (pFrom->GetString(i).equals(rName)) { aNewName = pTo->GetString(i); bReplace = true; -- cgit