summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--l10ntools/source/help/LuceneHelper.hxx8
-rw-r--r--xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx6
2 files changed, 14 insertions, 0 deletions
diff --git a/l10ntools/source/help/LuceneHelper.hxx b/l10ntools/source/help/LuceneHelper.hxx
index c990647a1a9b..a0248f836a1f 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 240edffdba20..4f221f6ca554 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)