Hello,

I found out that on make -sr debug=true dbglevel=2 dbaccess did not compile successfully, the problem is with xmlfilter.cxx, it uses OStringBuffer, but there is no include to use it, so cxx says: "OStringBuffer is not a member of rtl namespace" I did the include, and the build works fine, I must notice that it only appears in debug version making, as the code is behind a DBGLEVEL>1 macro. I send the patch to fix it in the attachement, please add it to all the sources.

Gabor Jenei
>From 4d1b1789ff14c26bb23f49adfaad6e95991af25c Mon Sep 17 00:00:00 2001
From: Gabor Jenei <jen...@elte.hu>
Date: Mon, 8 Aug 2011 19:49:20 +0200
Subject: [PATCH] patch for xmlfilter.cxx

---
 dbaccess/source/filter/xml/xmlfilter.cxx |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx 
b/dbaccess/source/filter/xml/xmlfilter.cxx
index 383fc29..933f9cd 100644
--- a/dbaccess/source/filter/xml/xmlfilter.cxx
+++ b/dbaccess/source/filter/xml/xmlfilter.cxx
@@ -76,6 +76,7 @@
 #include <connectivity/CommonTools.hxx>
 #include <connectivity/DriversConfig.hxx>
 #include "dsntypes.hxx"
+#include <rtl/strbuf.hxx>
 
 using namespace ::com::sun::star;
 
@@ -269,7 +270,7 @@ sal_Int32 ReadThroughComponent(
     catch (const SAXParseException& r)
     {
 #if OSL_DEBUG_LEVEL > 1
-        rtl::OStringBuffer aError(RTL_CONSTASCII_STRINGPARAM(
+        ::rtl::OStringBuffer aError(RTL_CONSTASCII_STRINGPARAM(
             "SAX parse exception catched while importing:\n"));
         aError.append(rtl::OUStringToOString(r.Message,
             RTL_TEXTENCODING_ASCII_US));
-- 
1.7.2.5

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to