summaryrefslogtreecommitdiff
path: root/sc/source/filter/ftools
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2013-09-18 21:35:50 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2013-09-18 22:37:58 -0400
commit05dd2fb998de7e66345d39b0d34e03c84fe22470 (patch)
tree9ff36cd278b3c0bbabd149196f5493eb0099b468 /sc/source/filter/ftools
parent02346aa4663055e1adf7c52ede89871a493f4513 (diff)
Disable all features that rely on orcus.
Change-Id: I6dcf91491497cd9d3662adaeceb73b4b544a56c9
Diffstat (limited to 'sc/source/filter/ftools')
-rw-r--r--sc/source/filter/ftools/ftools.cxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx
index aab9afd87ad3..3623a7d6e054 100644
--- a/sc/source/filter/ftools/ftools.cxx
+++ b/sc/source/filter/ftools/ftools.cxx
@@ -32,7 +32,12 @@
#include "stlpool.hxx"
#include "stlsheet.hxx"
#include "compiler.hxx"
+
+#include <config_orcus.h>
+
+#if ENABLE_ORCUS
#include "orcusfiltersimpl.hxx"
+#endif
#include <stdio.h>
@@ -348,8 +353,12 @@ ScFormatFilterPluginImpl::~ScFormatFilterPluginImpl() {}
ScOrcusFilters* ScFormatFilterPluginImpl::GetOrcusFilters()
{
+#if ENABLE_ORCUS
static ScOrcusFiltersImpl aImpl;
return &aImpl;
+#else
+ return NULL;
+#endif
}
SAL_DLLPUBLIC_EXPORT ScFormatFilterPlugin * SAL_CALL ScFilterCreate(void)