diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-09-18 21:35:50 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-09-18 22:37:58 -0400 |
commit | 05dd2fb998de7e66345d39b0d34e03c84fe22470 (patch) | |
tree | 9ff36cd278b3c0bbabd149196f5493eb0099b468 /sc/qa | |
parent | 02346aa4663055e1adf7c52ede89871a493f4513 (diff) |
Disable all features that rely on orcus.
Change-Id: I6dcf91491497cd9d3662adaeceb73b4b544a56c9
Diffstat (limited to 'sc/qa')
-rw-r--r-- | sc/qa/unit/helper/qahelper.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sc/qa/unit/helper/qahelper.cxx b/sc/qa/unit/helper/qahelper.cxx index 33c8f0494e0b..8139363c4079 100644 --- a/sc/qa/unit/helper/qahelper.cxx +++ b/sc/qa/unit/helper/qahelper.cxx @@ -15,10 +15,14 @@ #include "svx/svdpage.hxx" #include "svx/svdoole2.hxx" +#include <config_orcus.h> + +#if ENABLE_ORCUS #if defined WNT #define __ORCUS_STATIC_LIB #endif #include <orcus/csv_parser.hpp> +#endif #include <fstream> @@ -93,6 +97,8 @@ void loadFile(const OUString& aFileName, std::string& aContent) aContent = aOStream.str(); } +#if ENABLE_ORCUS + void testFile(OUString& aFileName, ScDocument* pDoc, SCTAB nTab, StringType aStringFormat) { csv_handler aHandler(pDoc, nTab, aStringFormat); @@ -142,6 +148,13 @@ void testCondFile(OUString& aFileName, ScDocument* pDoc, SCTAB nTab) } } +#else + +void testFile(OUString&, ScDocument*, SCTAB, StringType) {} +void testCondFile(OUString&, ScDocument*, SCTAB) {} + +#endif + const SdrOle2Obj* getSingleChartObject(ScDocument& rDoc, sal_uInt16 nPage) { // Retrieve the chart object instance from the 2nd page (for the 2nd sheet). |