diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-17 21:18:46 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2013-12-18 10:13:31 -0500 |
commit | ecc884e9b8afbdaaa917774471d71060ff96cc74 (patch) | |
tree | e29bf7a1a3d9c9b868cf06e3c8d8d8e7a29baa29 /sc/Library_scqahelper.mk | |
parent | df63ec609f361108bc1e531e1454734f6c03258e (diff) |
Use orcus csv parser to streamd data which has much less overhead.
Also, use DocumentStreamAccess to modify ScDocument's content.
Change-Id: I516260cff1f2315267afcff05e36e620798a1aed
Diffstat (limited to 'sc/Library_scqahelper.mk')
-rw-r--r-- | sc/Library_scqahelper.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sc/Library_scqahelper.mk b/sc/Library_scqahelper.mk index 37b1d54f3c02..cbdc99df6441 100644 --- a/sc/Library_scqahelper.mk +++ b/sc/Library_scqahelper.mk @@ -18,11 +18,15 @@ $(eval $(call gb_Library_set_include,scqahelper,\ $(eval $(call gb_Library_use_externals,scqahelper, \ boost_headers \ mdds_headers \ - orcus \ - orcus-parser \ cppunit \ )) +ifeq ($(SYSTEM_LIBORCUS),YES) +$(eval $(call gb_Library_use_externals,scqahelper,orcus)) +else +$(eval $(call gb_Library_use_externals,scqahelper,orcus-parser)) +endif + $(eval $(call gb_Library_add_defs,scqahelper,\ -DSCQAHELPER_DLLIMPLEMENTATION \ )) |