summaryrefslogtreecommitdiff
path: root/extensions/source/ole/servprov.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/ole/servprov.cxx')
-rw-r--r--extensions/source/ole/servprov.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/source/ole/servprov.cxx b/extensions/source/ole/servprov.cxx
index f3cacec755a7..4fa08a3a6181 100644
--- a/extensions/source/ole/servprov.cxx
+++ b/extensions/source/ole/servprov.cxx
@@ -28,6 +28,7 @@
#include <cppuhelper/queryinterface.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <o3tl/any.hxx>
+#include <o3tl/char16_t2wchar_t.hxx>
using namespace cppu;
using namespace osl;
@@ -537,7 +538,7 @@ Reference<XInterface> SAL_CALL OleClient_Impl::createInstance(const OUString& Se
o2u_attachCurrentThread();
result = CLSIDFromProgID(
- SAL_W(ServiceSpecifier.getStr()), //Pointer to the ProgID
+ o3tl::toW(ServiceSpecifier.getStr()), //Pointer to the ProgID
&classId); //Pointer to the CLSID