summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-13 09:56:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-13 12:05:42 +0200
commitdc63cc326ee5757124cef45e470d290e6e32002e (patch)
treee912d5e06b8602e391f3aa7e084e92c808f2fcfb /dbaccess/source/inc
parentimprove useuniqueptr loplugin to find arrays (diff)
downloadcore-dc63cc326ee5757124cef45e470d290e6e32002e.tar.gz
core-dc63cc326ee5757124cef45e470d290e6e32002e.zip
use more OUString::operator== in dbaccess..filter
Change-Id: Ib7b4f2b2403ce766a7db2f6ffc118468e7677776 Reviewed-on: https://gerrit.libreoffice.org/39889 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source/inc')
-rw-r--r--dbaccess/source/inc/apitools.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/inc/apitools.hxx b/dbaccess/source/inc/apitools.hxx
index f8ff269f15dd..d03fdb0d453b 100644
--- a/dbaccess/source/inc/apitools.hxx
+++ b/dbaccess/source/inc/apitools.hxx
@@ -81,7 +81,7 @@ public:
css::uno::Sequence< OUString > aSupported(getSupportedServiceNames()); \
const OUString* pSupported = aSupported.getConstArray(); \
for (sal_Int32 i=0; i<aSupported.getLength(); ++i, ++pSupported) \
- if (pSupported->equals(_rServiceName)) \
+ if (*pSupported == _rServiceName) \
return true; \
\
return false; \