diff options
Diffstat (limited to 'testtools/source/bridgetest/bridgetest.cxx')
-rw-r--r-- | testtools/source/bridgetest/bridgetest.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx index 2a5ac183ef66..78bcdc6f0d3a 100644 --- a/testtools/source/bridgetest/bridgetest.cxx +++ b/testtools/source/bridgetest/bridgetest.cxx @@ -24,6 +24,7 @@ #include <string_view> #include <o3tl/any.hxx> +#include <o3tl/string_view.hxx> #include <osl/diagnose.h> #include <osl/diagnose.hxx> #include <sal/types.h> @@ -1313,7 +1314,7 @@ SAL_DLLPUBLIC_EXPORT void * component_getFactory( { void * pRet = nullptr; - if (pServiceManager && OUString(IMPLNAME).equalsAscii(pImplName)) + if (pServiceManager && o3tl::equalsAscii(IMPLNAME, pImplName)) { Reference< XInterface > xFactory( createSingleComponentFactory( |