From 5838c0fe8e9244c2cefbd2f3c3554fdd2bfc5ee1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 14 Jul 2017 10:34:45 +0200 Subject: use more OUString::operator== in sw Change-Id: If43c8bfa906fc711ed8026a1e06add3d7ac166d9 Reviewed-on: https://gerrit.libreoffice.org/39941 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sw/source/filter/basflt/iodetect.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw/source/filter/basflt/iodetect.cxx') diff --git a/sw/source/filter/basflt/iodetect.cxx b/sw/source/filter/basflt/iodetect.cxx index 862f0165e4c3..055a952bbfab 100644 --- a/sw/source/filter/basflt/iodetect.cxx +++ b/sw/source/filter/basflt/iodetect.cxx @@ -76,7 +76,7 @@ std::shared_ptr SwIoSystem::GetFilterOfFormat(const OUString& r std::shared_ptr pFilter = aIter.First(); while ( pFilter ) { - if( pFilter->GetUserData().equals(rFormatNm) ) + if( pFilter->GetUserData() == rFormatNm ) return pFilter; pFilter = aIter.Next(); } -- cgit