summaryrefslogtreecommitdiff
path: root/svl/source/numbers/zforscan.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 09:25:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-14 10:19:27 +0200
commit6af025501db1f25397bdbf1fdd6b71da4debcac4 (patch)
tree19f627e7ed7da45efa4c5bbf6bad8ed148fd6551 /svl/source/numbers/zforscan.cxx
parent8e39ef66928a3e37c618d3a70a631e71266db274 (diff)
use more OUString::operator== in sfx2..svtools
Change-Id: I859b77319f551eabd19dae54bd69c212221112a8 Reviewed-on: https://gerrit.libreoffice.org/39938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source/numbers/zforscan.cxx')
-rw-r--r--svl/source/numbers/zforscan.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/numbers/zforscan.cxx b/svl/source/numbers/zforscan.cxx
index a1d8de727ade..25014fa7e0f5 100644
--- a/svl/source/numbers/zforscan.cxx
+++ b/svl/source/numbers/zforscan.cxx
@@ -1283,7 +1283,7 @@ sal_Int32 ImpSvNumberformatScan::ScanType()
eNewType = css::util::NumberFormat::TEXT;
break;
default:
- if (pLoc->getTime100SecSep().equals(sStrArray[i]))
+ if (pLoc->getTime100SecSep() == sStrArray[i])
{
bDecSep = true; // for SS,0
}
@@ -1338,7 +1338,7 @@ sal_Int32 ImpSvNumberformatScan::ScanType()
{
eScannedType = css::util::NumberFormat::UNDEFINED;
}
- else if (!pLoc->getTimeSep().equals(sStrArray[i]))
+ else if (pLoc->getTimeSep() != sStrArray[i])
{
return nPos;
}
@@ -1359,7 +1359,7 @@ sal_Int32 ImpSvNumberformatScan::ScanType()
eScannedType = css::util::NumberFormat::UNDEFINED;
}
else if ( pFormatter->GetDateSep() != sStrArray[i] &&
- !pLoc->getTimeSep().equals(sStrArray[i]) )
+ pLoc->getTimeSep() != sStrArray[i] )
{
return nPos;
}