[Libreoffice-commits] .: Branch 'libreoffice-3-6' - l10ntools/source xmlhelp/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Sep 7 05:02:35 PDT 2012


 l10ntools/source/help/LuceneHelper.hxx                |    8 ++++++++
 xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx |    6 ++++++
 2 files changed, 14 insertions(+)

New commits:
commit a251a353300e27625741338b6290a109c5588952
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Fri Aug 24 11:01:51 2012 +0100

    Related: fdo#53337 Maybe this is a typeinfo visibility problem
    
    Change-Id: I024de5b400d0f7a443d4cce7bfe4e88841e6049b
    Signed-off-by: Michael Meeks <michael.meeks at suse.com>

diff --git a/l10ntools/source/help/LuceneHelper.hxx b/l10ntools/source/help/LuceneHelper.hxx
index c990647..a0248f8 100644
--- a/l10ntools/source/help/LuceneHelper.hxx
+++ b/l10ntools/source/help/LuceneHelper.hxx
@@ -35,9 +35,17 @@
 #pragma warning(disable : 4068 4263 4264 4266)
 #endif
 
+#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE)
+#  pragma GCC visibility push (default)
+#endif
+
 #include <CLucene.h>
 #include <CLucene/analysis/LanguageBasedAnalyzer.h>
 
+#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE)
+#  pragma GCC visibility pop
+#endif
+
 #if defined _MSC_VER
 #pragma warning(pop)
 #endif
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
index 240edff..4f221f6 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
@@ -40,7 +40,13 @@
 #pragma warning(disable : 4068 4263 4264 4266)
 #endif
 
+#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE)
+#  pragma GCC visibility push (default)
+#endif
 #include <CLucene.h>
+#if defined(__GNUC__) && defined(HAVE_GCC_VISIBILITY_FEATURE)
+#  pragma GCC visibility pop
+#endif
 
 #if defined _MSC_VER
 #pragma warning(pop)


More information about the Libreoffice-commits mailing list