summaryrefslogtreecommitdiff
path: root/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-13 09:53:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-13 11:02:55 +0200
commit8a75aa52ef572655db261679da431aff84f52348 (patch)
treec1d6133b1942c756d9160c51c2f95abfbaab5780 /canvas
parent46ba298934d1765365018349f26f8a732cefba63 (diff)
use more OUString::operator== in a*..chart2
Change-Id: Ifb5608abebffd9687ed55e8c74f9be54a749111d Reviewed-on: https://gerrit.libreoffice.org/39887 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'canvas')
-rw-r--r--canvas/source/factory/cf_service.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/canvas/source/factory/cf_service.cxx b/canvas/source/factory/cf_service.cxx
index c0f57e906b16..d8eb242b5061 100644
--- a/canvas/source/factory/cf_service.cxx
+++ b/canvas/source/factory/cf_service.cxx
@@ -330,7 +330,7 @@ Reference<XInterface> CanvasFactory::lookupAndUse(
m_aCachedImplementations.begin(),
aEnd,
[&serviceName](CachePair const& cp)
- { return serviceName.equals(cp.first); }
+ { return serviceName == cp.first; }
)) != aEnd) {
Reference<XInterface> xCanvas( use( aMatch->second, args, xContext ) );
if(xCanvas.is())
@@ -344,7 +344,7 @@ Reference<XInterface> CanvasFactory::lookupAndUse(
m_aAvailableImplementations.begin(),
aAvailEnd,
[&serviceName](AvailPair const& ap)
- { return serviceName.equals(ap.first); }
+ { return serviceName == ap.first; }
)) == aAvailEnd ) {
return Reference<XInterface>();
}
@@ -355,7 +355,7 @@ Reference<XInterface> CanvasFactory::lookupAndUse(
m_aAAImplementations.begin(),
aAAEnd,
[&serviceName](AvailPair const& ap)
- { return serviceName.equals(ap.first); }
+ { return serviceName == ap.first; }
)) == aAAEnd) {
return Reference<XInterface>();
}
@@ -366,7 +366,7 @@ Reference<XInterface> CanvasFactory::lookupAndUse(
m_aAcceleratedImplementations.begin(),
aAccelEnd,
[&serviceName](AvailPair const& ap)
- { return serviceName.equals(ap.first); }
+ { return serviceName == ap.first; }
)) == aAccelEnd ) {
return Reference<XInterface>();
}
@@ -397,7 +397,7 @@ Reference<XInterface> CanvasFactory::lookupAndUse(
std::any_of(pFirstAccelImpl,
pEndAccelImpl,
[&aCurrName](OUString const& src)
- { return aCurrName.equals(src.trim()); }
+ { return aCurrName == src.trim(); }
));
// check whether given canvas service is listed in the
@@ -406,7 +406,7 @@ Reference<XInterface> CanvasFactory::lookupAndUse(
std::any_of(pFirstAAImpl,
pEndAAImpl,
[&aCurrName](OUString const& src)
- { return aCurrName.equals(src.trim()); }
+ { return aCurrName == src.trim(); }
));
// try to instantiate canvas *only* if either accel and AA