summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_copypaste.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-03-22 12:46:56 +0200
committerTor Lillqvist <tml@collabora.com>2018-05-31 10:13:03 +0200
commit0ee6b72bf50337157e603d42e33b4a1e6a2ec715 (patch)
tree8522b058bb15890c1d0703b939826db20b2e8b6d /sc/CppunitTest_sc_copypaste.mk
parentae50762741a967a20bae9f39f1f8f7aa7dd4e763 (diff)
SwModule is a convenient (?) place for passing events to Automation clients
Generate Application.DocumentChange and Application.Quit events. SfxHintId::DocChanged seems to correspond nicely enough to Application.DocumentChange. It is generated a bit eagerly, but as its documentation is fairly vague and no specific detailed information is passed in parameters anyway, it probably doesn't hurt if a client gets it a bit more often with LO than with some other product. Can now remove the FIXME-marked Quit event things in SwVbaApplication. Now need oovbaapi in many makefiles for them to compile. Change-Id: I4d0c5b93b584f198bcc854002eec7aaba7909ecc Reviewed-on: https://gerrit.libreoffice.org/55106 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'sc/CppunitTest_sc_copypaste.mk')
-rw-r--r--sc/CppunitTest_sc_copypaste.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/sc/CppunitTest_sc_copypaste.mk b/sc/CppunitTest_sc_copypaste.mk
index 18728202e69b..e7759957df86 100644
--- a/sc/CppunitTest_sc_copypaste.mk
+++ b/sc/CppunitTest_sc_copypaste.mk
@@ -61,7 +61,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_copypaste,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_copypaste))
+$(eval $(call gb_CppunitTest_use_api,sc_copypaste,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_copypaste))
$(eval $(call gb_CppunitTest_use_vcl,sc_copypaste))