[PATCH 3/3] fdo#36555: pImplementationName is not a compile-time constant

Lionel Elie Mamane lionel.mamane at gestman.lu
Tue Nov 22 05:25:10 PST 2011


---
 connectivity/source/drivers/ado/Aservices.cxx |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/connectivity/source/drivers/ado/Aservices.cxx b/connectivity/source/drivers/ado/Aservices.cxx
index 68600ba..69bd7c6 100644
--- a/connectivity/source/drivers/ado/Aservices.cxx
+++ b/connectivity/source/drivers/ado/Aservices.cxx
@@ -59,7 +59,7 @@ struct ProviderRequest
         sal_Char const* pImplementationName
     )
     : xServiceManager(reinterpret_cast<XMultiServiceFactory*>(pServiceManager))
-    , sImplementationName(OUString(RTL_CONSTASCII_USTRINGPARAM(pImplementationName)))
+    , sImplementationName(OUString::createFromAscii(pImplementationName))
     {
     }
 
-- 
1.7.7.3


--+QahgC5+KEYLbs62--


More information about the LibreOffice mailing list