summaryrefslogtreecommitdiff
path: root/desktop/source/pkgchk
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 /desktop/source/pkgchk
parent51a50cc95a8cb461b7026c1eb8908e17f4055076 (diff)
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 'desktop/source/pkgchk')
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_app.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
index b50374694e41..be570542a97c 100644
--- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx
+++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx
@@ -63,8 +63,8 @@ struct ExtensionName
explicit ExtensionName( OUString const & str ) : m_str( str ) {}
bool operator () ( Reference<deployment::XPackage> const & e ) const
{
- return m_str.equals(dp_misc::getIdentifier(e))
- || m_str.equals(e->getName());
+ return m_str == dp_misc::getIdentifier(e)
+ || m_str == e->getName();
}
};