[Libreoffice-commits] core.git: extensions/source

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Wed Dec 9 08:34:29 UTC 2020


 extensions/source/ole/unoobjw.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d78e5d2e334de0441451b2558966fd4c42170561
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Dec 9 08:22:13 2020 +0100
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Dec 9 09:33:43 2020 +0100

    loplugin:stringview (clang-cl)
    
    Change-Id: I02c13286f9e76431e7b6b11c48225006c57de6fd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107452
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/extensions/source/ole/unoobjw.cxx b/extensions/source/ole/unoobjw.cxx
index 87b00e340bde..ad411479401b 100644
--- a/extensions/source/ole/unoobjw.cxx
+++ b/extensions/source/ole/unoobjw.cxx
@@ -1265,7 +1265,7 @@ COM_DECLSPEC_NOTHROW STDMETHODIMP InterfaceOleWrapper::GetIDsOfNames(REFIID /*ri
                             bool bFound = false;
                             for (int j = 0; j < aParamInfos.getLength(); ++j)
                             {
-                                if (aParamInfos[j].aName.equalsIgnoreAsciiCase(OUString(o3tl::toU(rgszNames[i]))))
+                                if (aParamInfos[j].aName.equalsIgnoreAsciiCase(o3tl::toU(rgszNames[i])))
                                 {
                                     rgdispid[i] = j;
                                     bFound = true;


More information about the Libreoffice-commits mailing list