[Libreoffice-commits] .: Branch 'feature/sqlite' - connectivity/source

Michael Meeks michael at kemper.freedesktop.org
Tue Nov 22 07:44:22 PST 2011


 connectivity/source/drivers/ado/Aservices.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7c2dbe9fbb2f4fd5f15b4de90c59788c9219b768
Author: Lionel Elie Mamane <lionel.mamane at gestman.lu>
Date:   Tue Nov 22 14:25:10 2011 +0100

    fdo#36555: pImplementationName is not a compile-time constant
    
    Signed-off-by: Michael Meeks <michael.meeks at suse.com>

diff --git a/connectivity/source/drivers/ado/Aservices.cxx b/connectivity/source/drivers/ado/Aservices.cxx
index 5ae486b..3d1c341 100644
--- a/connectivity/source/drivers/ado/Aservices.cxx
+++ b/connectivity/source/drivers/ado/Aservices.cxx
@@ -85,7 +85,7 @@ struct ProviderRequest
         sal_Char const* pImplementationName
     )
     : xServiceManager(reinterpret_cast<XMultiServiceFactory*>(pServiceManager))
-    , sImplementationName(OUString(RTL_CONSTASCII_USTRINGPARAM(pImplementationName)))
+    , sImplementationName(OUString::createFromAscii(pImplementationName))
     {
     }
 


More information about the Libreoffice-commits mailing list