summaryrefslogtreecommitdiff
path: root/extensions/Library_oleautobridge.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-02-13 18:41:24 +0200
committerTor Lillqvist <tml@collabora.com>2018-05-29 16:35:45 +0200
commit0667df70dc749ae50ce29713308f14d624f2a683 (patch)
treef7dd224f42d3693b568954cc3251491648a91d30 /extensions/Library_oleautobridge.mk
parent4c63572b2ca9648aeebe6df6f71da1308dbd5ac1 (diff)
Provide also an ooo.vba.word.XApplication object
Create the objects on offer to Automation clients lazily It would be silly to create the ooo.vba.word.XApplication in every LibreOffice instance, even if no Writer functionality was going to be used at all in that process. I did not have to do what the old FIXME said, "make Application a proper service", whatever that means. Change-Id: I02a0ceb6290012b4bb6afacadc03871feaf57406 Reviewed-on: https://gerrit.libreoffice.org/55005 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'extensions/Library_oleautobridge.mk')
-rw-r--r--extensions/Library_oleautobridge.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/extensions/Library_oleautobridge.mk b/extensions/Library_oleautobridge.mk
index 70b518c50d41..ec59f715c504 100644
--- a/extensions/Library_oleautobridge.mk
+++ b/extensions/Library_oleautobridge.mk
@@ -13,7 +13,11 @@ $(eval $(call gb_Library_Library,oleautobridge))
$(eval $(call gb_Library_set_componentfile,oleautobridge,extensions/source/ole/oleautobridge))
-$(eval $(call gb_Library_use_sdk_api,oleautobridge))
+$(eval $(call gb_Library_use_api,oleautobridge,\
+ offapi \
+ oovbaapi \
+ udkapi \
+))
$(eval $(call gb_Library_set_include,oleautobridge,\
$(foreach inc,$(ATL_INCLUDE),-I$(inc)) \