summaryrefslogtreecommitdiff
path: root/sw/CppunitTest_sw_odfexport.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 21:47:21 +0300
commit3849a867037f9378d2a80cebf5461844b71d6c7e (patch)
treea93fbf5bcaaec6a7803ba763a3816c2a463dc8cf /sw/CppunitTest_sw_odfexport.mk
parent05aa70c121a322c3933f898d9db8841fdffda2bf (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 'sw/CppunitTest_sw_odfexport.mk')
-rw-r--r--sw/CppunitTest_sw_odfexport.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/CppunitTest_sw_odfexport.mk b/sw/CppunitTest_sw_odfexport.mk
index 8fb2228d84a3..e4dca1bfd438 100644
--- a/sw/CppunitTest_sw_odfexport.mk
+++ b/sw/CppunitTest_sw_odfexport.mk
@@ -42,7 +42,11 @@ $(eval $(call gb_CppunitTest_set_include,sw_odfexport,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sw_odfexport))
+$(eval $(call gb_CppunitTest_use_api,sw_odfexport,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sw_odfexport))
$(eval $(call gb_CppunitTest_use_vcl,sw_odfexport))