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


On Mon, Nov 05, 2012 at 10:38:16PM -0800, julien2412 wrote:

I gave a try to your patch. I applied it then "make connectivity", I got
this:

/home/julien/compile-libreoffice/libo/solenv/gbuild/ComponentTarget.mk:63:
*** gb_Deliver_deliver: file does not exist in solver, and cannot be
delivered:
/home/julien/compile-libreoffice/libo/solver/unxlngx6/xml/component/i18npool/util/i18npool.component.
 

That's yet another error, not sure where it comes from. Try "make i18npool".

In constructor
'connectivity::evoab::OCommonStatement::OCommonStatement(connectivity::evoab::OEvoabConnection*)':
/home/julien/compile-libreoffice/libo/connectivity/source/drivers/evoab2/NStatement.cxx:58:17:
error: 'getComponentContext' is not a member of 'comphelper'

This should be fixed by attached patch. (Sorry, still not tested by
me, I don't have a master build yet, I'm still in libreoffice-3-6 land...)

-- 
Lionel
From 856002ba56b5bd76ed4012aad924a4c0bdbbca57 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 |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/connectivity/source/drivers/evoab2/NStatement.cxx 
b/connectivity/source/drivers/evoab2/NStatement.cxx
index 6c0de19..f2aa689 100644
--- a/connectivity/source/drivers/evoab2/NStatement.cxx
+++ b/connectivity/source/drivers/evoab2/NStatement.cxx
@@ -26,6 +26,7 @@
 #include <com/sun/star/sdbc/FetchDirection.hpp>
 #include <com/sun/star/lang/DisposedException.hpp>
 #include <cppuhelper/typeprovider.hxx>
+#include <comphelper/processfactory.hxx>
 #include "propertyids.hxx"
 #include "NStatement.hxx"
 #include "NConnection.hxx"
@@ -55,7 +56,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.