Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Mon, Nov 05, 2012 at 12:39:48PM -0800, julien2412 wrote:

With master sources updated today, I've got this:

/home/julien/compile-libreoffice/libo/connectivity/source/drivers/evoab2/NStatement.cxx:
In constructor
‘connectivity::evoab::OCommonStatement::OCommonStatement(connectivity::evoab::OEvoabConnection*)’:
/home/julien/compile-libreoffice/libo/connectivity/source/drivers/evoab2/NStatement.cxx:69:48:
error: no matching function for call to
‘connectivity::OSQLParser::OSQLParser(const
com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>&)’

I think it's due to
http://cgit.freedesktop.org/libreoffice/core/commit/?id=0666e43c45876199ddc71e378554878cca6f0539

Yes. Try the attached patch, and let me know if it
works. Noel/Stephan, could you also please validate that the patch
does the sensible thing? Thanks.

-- 
Lionel
From 28839dc8d18fd48c13e94730db3389c7bffbb88f Mon Sep 17 00:00:00 2001
From: Lionel Elie Mamane <lionel@mamane.lu>
Date: Tue, 6 Nov 2012 05:03:13 +0100
Subject: [PATCH] adapt evoab2 driver to "use service constructor for
 i18n::CharClassification"

Change-Id: Ieefc7f3b91b5ab920689000c86dc5940fbbac2d0
---
 connectivity/source/drivers/evoab2/NStatement.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/connectivity/source/drivers/evoab2/NStatement.cxx 
b/connectivity/source/drivers/evoab2/NStatement.cxx
index 6c0de19..444407a 100644
--- a/connectivity/source/drivers/evoab2/NStatement.cxx
+++ b/connectivity/source/drivers/evoab2/NStatement.cxx
@@ -55,7 +55,7 @@ OCommonStatement::OCommonStatement(OEvoabConnection* _pConnection)
     , m_xResultSet(NULL)
     , m_pResultSet(NULL)
     , m_pConnection(_pConnection)
-    , m_aParser(_pConnection->getDriver().getMSFactory())
+    , m_aParser(comphelper::getComponentContext(_pConnection->getDriver().getMSFactory()))
     , m_aSQLIterator( _pConnection, _pConnection->createCatalog()->getTables(), m_aParser, NULL )
     , m_pParseTree(NULL)
     , m_nMaxFieldSize(0)
-- 
1.7.10.4


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.