summaryrefslogtreecommitdiff
path: root/framework
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 /framework
parent02346aa4663055e1adf7c52ede89871a493f4513 (diff)
Disable all features that rely on orcus.
Change-Id: I6dcf91491497cd9d3662adaeceb73b4b544a56c9
Diffstat (limited to 'framework')
-rw-r--r--framework/source/loadenv/loadenv.cxx13
1 files changed, 13 insertions, 0 deletions
diff --git a/framework/source/loadenv/loadenv.cxx b/framework/source/loadenv/loadenv.cxx
index effa1d3a7702..1767133b7740 100644
--- a/framework/source/loadenv/loadenv.cxx
+++ b/framework/source/loadenv/loadenv.cxx
@@ -86,6 +86,8 @@
#include "rtl/bootstrap.hxx"
#include <vcl/svapp.hxx>
+#include <config_orcus.h>
+
const char PROP_TYPES[] = "Types";
const char PROP_NAME[] = "Name";
@@ -711,6 +713,8 @@ LoadEnv::EContentType LoadEnv::classifyContent(const OUString&
namespace {
+#if ENABLE_ORCUS
+
bool queryOrcusTypeAndFilter(const uno::Sequence<beans::PropertyValue>& rDescriptor, OUString& rType, OUString& rFilter)
{
// depending on the experimental mode
@@ -775,6 +779,15 @@ bool queryOrcusTypeAndFilter(const uno::Sequence<beans::PropertyValue>& rDescrip
return false;
}
+#else
+
+bool queryOrcusTypeAndFilter(const uno::Sequence<beans::PropertyValue>&, OUString&, OUString&)
+{
+ return false;
+}
+
+#endif
+
}
void LoadEnv::impl_detectTypeAndFilter()