summaryrefslogtreecommitdiff
path: root/sc
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 /sc
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 'sc')
-rw-r--r--sc/CppunitTest_sc_addin_functions_test.mk1
-rw-r--r--sc/CppunitTest_sc_anchor_test.mk6
-rw-r--r--sc/CppunitTest_sc_array_functions_test.mk1
-rw-r--r--sc/CppunitTest_sc_bugfix_test.mk6
-rw-r--r--sc/CppunitTest_sc_cond_format_merge.mk6
-rw-r--r--sc/CppunitTest_sc_copypaste.mk6
-rw-r--r--sc/CppunitTest_sc_database_functions_test.mk1
-rw-r--r--sc/CppunitTest_sc_dataprovider.mk6
-rw-r--r--sc/CppunitTest_sc_datatransformation.mk6
-rw-r--r--sc/CppunitTest_sc_datetime_functions_test.mk1
-rw-r--r--sc/CppunitTest_sc_filters_test.mk6
-rw-r--r--sc/CppunitTest_sc_financial_functions_test.mk1
-rw-r--r--sc/CppunitTest_sc_functions_test_old.mk1
-rw-r--r--sc/CppunitTest_sc_html_export_test.mk6
-rw-r--r--sc/CppunitTest_sc_information_functions_test.mk1
-rw-r--r--sc/CppunitTest_sc_logical_functions_test.mk1
-rw-r--r--sc/CppunitTest_sc_mathematical_functions_test.mk1
-rw-r--r--sc/CppunitTest_sc_opencl_test.mk6
-rw-r--r--sc/CppunitTest_sc_parallelism.mk6
-rwxr-xr-xsc/CppunitTest_sc_pivottable_filters_test.mk6
-rw-r--r--sc/CppunitTest_sc_spreadsheet_functions_test.mk1
-rw-r--r--sc/CppunitTest_sc_statistical_functions_test.mk1
-rw-r--r--sc/CppunitTest_sc_subsequent_export_test.mk6
-rw-r--r--sc/CppunitTest_sc_subsequent_filters_test.mk6
-rw-r--r--sc/CppunitTest_sc_text_functions_test.mk1
-rw-r--r--sc/CppunitTest_sc_ucalc.mk6
-rw-r--r--sc/Library_scqahelper.mk6
27 files changed, 87 insertions, 15 deletions
diff --git a/sc/CppunitTest_sc_addin_functions_test.mk b/sc/CppunitTest_sc_addin_functions_test.mk
index b1aa766679be..24cbcaf22d1c 100644
--- a/sc/CppunitTest_sc_addin_functions_test.mk
+++ b/sc/CppunitTest_sc_addin_functions_test.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_addin_functions_test,\
$(eval $(call gb_CppunitTest_use_api,sc_addin_functions_test,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_addin_functions_test))
diff --git a/sc/CppunitTest_sc_anchor_test.mk b/sc/CppunitTest_sc_anchor_test.mk
index 2f9719e48fd6..9005c69ce446 100644
--- a/sc/CppunitTest_sc_anchor_test.mk
+++ b/sc/CppunitTest_sc_anchor_test.mk
@@ -59,7 +59,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_anchor_test,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_anchor_test))
+$(eval $(call gb_CppunitTest_use_api,sc_anchor_test,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_anchor_test))
$(eval $(call gb_CppunitTest_use_vcl,sc_anchor_test))
diff --git a/sc/CppunitTest_sc_array_functions_test.mk b/sc/CppunitTest_sc_array_functions_test.mk
index c94b75a7b203..79a4453e3c76 100644
--- a/sc/CppunitTest_sc_array_functions_test.mk
+++ b/sc/CppunitTest_sc_array_functions_test.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_array_functions_test,\
$(eval $(call gb_CppunitTest_use_api,sc_array_functions_test,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_array_functions_test))
diff --git a/sc/CppunitTest_sc_bugfix_test.mk b/sc/CppunitTest_sc_bugfix_test.mk
index d14a9e1154da..18e06b81a94a 100644
--- a/sc/CppunitTest_sc_bugfix_test.mk
+++ b/sc/CppunitTest_sc_bugfix_test.mk
@@ -61,7 +61,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_bugfix_test,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_bugfix_test))
+$(eval $(call gb_CppunitTest_use_api,sc_bugfix_test,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_bugfix_test))
$(eval $(call gb_CppunitTest_use_vcl,sc_bugfix_test))
diff --git a/sc/CppunitTest_sc_cond_format_merge.mk b/sc/CppunitTest_sc_cond_format_merge.mk
index bfb7dc2bba3f..c09d48f022fe 100644
--- a/sc/CppunitTest_sc_cond_format_merge.mk
+++ b/sc/CppunitTest_sc_cond_format_merge.mk
@@ -59,7 +59,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_cond_format_merge,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_cond_format_merge))
+$(eval $(call gb_CppunitTest_use_api,sc_cond_format_merge,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_cond_format_merge))
$(eval $(call gb_CppunitTest_use_vcl,sc_cond_format_merge))
diff --git a/sc/CppunitTest_sc_copypaste.mk b/sc/CppunitTest_sc_copypaste.mk
index 8d71cf6004cf..09aa581b48cf 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))
diff --git a/sc/CppunitTest_sc_database_functions_test.mk b/sc/CppunitTest_sc_database_functions_test.mk
index 8b9b9ac83625..c902ce6cbaf8 100644
--- a/sc/CppunitTest_sc_database_functions_test.mk
+++ b/sc/CppunitTest_sc_database_functions_test.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_database_functions_test,\
$(eval $(call gb_CppunitTest_use_api,sc_database_functions_test,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_database_functions_test))
diff --git a/sc/CppunitTest_sc_dataprovider.mk b/sc/CppunitTest_sc_dataprovider.mk
index fe389fdb3ee5..ef9c6c907546 100644
--- a/sc/CppunitTest_sc_dataprovider.mk
+++ b/sc/CppunitTest_sc_dataprovider.mk
@@ -67,7 +67,11 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sc_dataprovider,\
officecfg/registry \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_dataprovider))
+$(eval $(call gb_CppunitTest_use_api,sc_dataprovider,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_dataprovider))
$(eval $(call gb_CppunitTest_use_vcl,sc_dataprovider))
diff --git a/sc/CppunitTest_sc_datatransformation.mk b/sc/CppunitTest_sc_datatransformation.mk
index b65d315bb944..1d0d99af7b8b 100644
--- a/sc/CppunitTest_sc_datatransformation.mk
+++ b/sc/CppunitTest_sc_datatransformation.mk
@@ -67,7 +67,11 @@ $(eval $(call gb_CppunitTest_use_custom_headers,sc_datatransformation,\
officecfg/registry \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_datatransformation))
+$(eval $(call gb_CppunitTest_use_api,sc_datatransformation,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_datatransformation))
$(eval $(call gb_CppunitTest_use_vcl,sc_datatransformation))
diff --git a/sc/CppunitTest_sc_datetime_functions_test.mk b/sc/CppunitTest_sc_datetime_functions_test.mk
index 560ae910f684..22047623013e 100644
--- a/sc/CppunitTest_sc_datetime_functions_test.mk
+++ b/sc/CppunitTest_sc_datetime_functions_test.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_datetime_functions_test,\
$(eval $(call gb_CppunitTest_use_api,sc_datetime_functions_test,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_datetime_functions_test))
diff --git a/sc/CppunitTest_sc_filters_test.mk b/sc/CppunitTest_sc_filters_test.mk
index 3026f841504a..d00a8d293b7b 100644
--- a/sc/CppunitTest_sc_filters_test.mk
+++ b/sc/CppunitTest_sc_filters_test.mk
@@ -63,7 +63,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_filters_test,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_filters_test))
+$(eval $(call gb_CppunitTest_use_api,sc_filters_test,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_filters_test))
$(eval $(call gb_CppunitTest_use_vcl,sc_filters_test))
diff --git a/sc/CppunitTest_sc_financial_functions_test.mk b/sc/CppunitTest_sc_financial_functions_test.mk
index 748c44b879b8..4089161fab9a 100644
--- a/sc/CppunitTest_sc_financial_functions_test.mk
+++ b/sc/CppunitTest_sc_financial_functions_test.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_financial_functions_test,\
$(eval $(call gb_CppunitTest_use_api,sc_financial_functions_test,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_financial_functions_test))
diff --git a/sc/CppunitTest_sc_functions_test_old.mk b/sc/CppunitTest_sc_functions_test_old.mk
index cad0a6acf1bc..28ab160ba437 100644
--- a/sc/CppunitTest_sc_functions_test_old.mk
+++ b/sc/CppunitTest_sc_functions_test_old.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_functions_test_old,\
$(eval $(call gb_CppunitTest_use_api,sc_functions_test_old,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_functions_test_old))
diff --git a/sc/CppunitTest_sc_html_export_test.mk b/sc/CppunitTest_sc_html_export_test.mk
index 08e7d04d4bf1..a96540398e3a 100644
--- a/sc/CppunitTest_sc_html_export_test.mk
+++ b/sc/CppunitTest_sc_html_export_test.mk
@@ -57,7 +57,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_html_export_test,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_html_export_test))
+$(eval $(call gb_CppunitTest_use_api,sc_html_export_test,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_html_export_test))
$(eval $(call gb_CppunitTest_use_vcl,sc_html_export_test))
diff --git a/sc/CppunitTest_sc_information_functions_test.mk b/sc/CppunitTest_sc_information_functions_test.mk
index 1c476bd6ac3b..ffe85e9a8c65 100644
--- a/sc/CppunitTest_sc_information_functions_test.mk
+++ b/sc/CppunitTest_sc_information_functions_test.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_information_functions_test,\
$(eval $(call gb_CppunitTest_use_api,sc_information_functions_test,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_information_functions_test))
diff --git a/sc/CppunitTest_sc_logical_functions_test.mk b/sc/CppunitTest_sc_logical_functions_test.mk
index ec2d07ea5f80..79caec12a78f 100644
--- a/sc/CppunitTest_sc_logical_functions_test.mk
+++ b/sc/CppunitTest_sc_logical_functions_test.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_logical_functions_test,\
$(eval $(call gb_CppunitTest_use_api,sc_logical_functions_test,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_logical_functions_test))
diff --git a/sc/CppunitTest_sc_mathematical_functions_test.mk b/sc/CppunitTest_sc_mathematical_functions_test.mk
index 94e84e759edb..7cd43a0b128f 100644
--- a/sc/CppunitTest_sc_mathematical_functions_test.mk
+++ b/sc/CppunitTest_sc_mathematical_functions_test.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_mathematical_functions_test,\
$(eval $(call gb_CppunitTest_use_api,sc_mathematical_functions_test,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_mathematical_functions_test))
diff --git a/sc/CppunitTest_sc_opencl_test.mk b/sc/CppunitTest_sc_opencl_test.mk
index 6abc275ec991..a13da391da58 100644
--- a/sc/CppunitTest_sc_opencl_test.mk
+++ b/sc/CppunitTest_sc_opencl_test.mk
@@ -59,7 +59,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_opencl_test,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_opencl_test))
+$(eval $(call gb_CppunitTest_use_api,sc_opencl_test,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_opencl_test))
$(eval $(call gb_CppunitTest_use_vcl,sc_opencl_test))
diff --git a/sc/CppunitTest_sc_parallelism.mk b/sc/CppunitTest_sc_parallelism.mk
index a411caee2ae2..a2bb02fd2c7b 100644
--- a/sc/CppunitTest_sc_parallelism.mk
+++ b/sc/CppunitTest_sc_parallelism.mk
@@ -59,7 +59,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_parallelism,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_parallelism))
+$(eval $(call gb_CppunitTest_use_api,sc_parallelism,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_parallelism))
$(eval $(call gb_CppunitTest_use_vcl,sc_parallelism))
diff --git a/sc/CppunitTest_sc_pivottable_filters_test.mk b/sc/CppunitTest_sc_pivottable_filters_test.mk
index 139ed85f3b24..c806c743043d 100755
--- a/sc/CppunitTest_sc_pivottable_filters_test.mk
+++ b/sc/CppunitTest_sc_pivottable_filters_test.mk
@@ -58,7 +58,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_pivottable_filters_test,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_pivottable_filters_test))
+$(eval $(call gb_CppunitTest_use_api,sc_pivottable_filters_test,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_pivottable_filters_test))
$(eval $(call gb_CppunitTest_use_vcl,sc_pivottable_filters_test))
diff --git a/sc/CppunitTest_sc_spreadsheet_functions_test.mk b/sc/CppunitTest_sc_spreadsheet_functions_test.mk
index 6049862d5782..76d6cbccd998 100644
--- a/sc/CppunitTest_sc_spreadsheet_functions_test.mk
+++ b/sc/CppunitTest_sc_spreadsheet_functions_test.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_spreadsheet_functions_test,\
$(eval $(call gb_CppunitTest_use_api,sc_spreadsheet_functions_test,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_spreadsheet_functions_test))
diff --git a/sc/CppunitTest_sc_statistical_functions_test.mk b/sc/CppunitTest_sc_statistical_functions_test.mk
index 931c0b22ad86..1b89d22c3869 100644
--- a/sc/CppunitTest_sc_statistical_functions_test.mk
+++ b/sc/CppunitTest_sc_statistical_functions_test.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_statistical_functions_test,\
$(eval $(call gb_CppunitTest_use_api,sc_statistical_functions_test,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_statistical_functions_test))
diff --git a/sc/CppunitTest_sc_subsequent_export_test.mk b/sc/CppunitTest_sc_subsequent_export_test.mk
index cf6125f6ef04..16758ea82f2a 100644
--- a/sc/CppunitTest_sc_subsequent_export_test.mk
+++ b/sc/CppunitTest_sc_subsequent_export_test.mk
@@ -58,7 +58,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_subsequent_export_test,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_subsequent_export_test))
+$(eval $(call gb_CppunitTest_use_api,sc_subsequent_export_test,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_subsequent_export_test))
$(eval $(call gb_CppunitTest_use_vcl,sc_subsequent_export_test))
diff --git a/sc/CppunitTest_sc_subsequent_filters_test.mk b/sc/CppunitTest_sc_subsequent_filters_test.mk
index e23869e164eb..7b5800c38840 100644
--- a/sc/CppunitTest_sc_subsequent_filters_test.mk
+++ b/sc/CppunitTest_sc_subsequent_filters_test.mk
@@ -62,7 +62,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_subsequent_filters_test,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_subsequent_filters_test))
+$(eval $(call gb_CppunitTest_use_api,sc_subsequent_filters_test,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_ure,sc_subsequent_filters_test))
$(eval $(call gb_CppunitTest_use_vcl,sc_subsequent_filters_test))
diff --git a/sc/CppunitTest_sc_text_functions_test.mk b/sc/CppunitTest_sc_text_functions_test.mk
index 956b2b9d5aa1..e0c1f22ffa5d 100644
--- a/sc/CppunitTest_sc_text_functions_test.mk
+++ b/sc/CppunitTest_sc_text_functions_test.mk
@@ -60,6 +60,7 @@ $(eval $(call gb_CppunitTest_set_include,sc_text_functions_test,\
$(eval $(call gb_CppunitTest_use_api,sc_text_functions_test,\
offapi \
udkapi \
+ oovbaapi \
))
$(eval $(call gb_CppunitTest_use_ure,sc_text_functions_test))
diff --git a/sc/CppunitTest_sc_ucalc.mk b/sc/CppunitTest_sc_ucalc.mk
index d423f6c73a7b..32bbf28877bc 100644
--- a/sc/CppunitTest_sc_ucalc.mk
+++ b/sc/CppunitTest_sc_ucalc.mk
@@ -82,7 +82,11 @@ $(eval $(call gb_CppunitTest_set_include,sc_ucalc,\
$$(INCLUDE) \
))
-$(eval $(call gb_CppunitTest_use_sdk_api,sc_ucalc))
+$(eval $(call gb_CppunitTest_use_api,sc_ucalc,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_CppunitTest_use_custom_headers,sc_ucalc,\
officecfg/registry \
diff --git a/sc/Library_scqahelper.mk b/sc/Library_scqahelper.mk
index 0e209024b398..f91ec28c224a 100644
--- a/sc/Library_scqahelper.mk
+++ b/sc/Library_scqahelper.mk
@@ -32,7 +32,11 @@ $(eval $(call gb_Library_add_defs,scqahelper,\
-DSCQAHELPER_DLLIMPLEMENTATION \
))
-$(eval $(call gb_Library_use_sdk_api,scqahelper))
+$(eval $(call gb_Library_use_api,scqahelper,\
+ udkapi \
+ offapi \
+ oovbaapi \
+))
$(eval $(call gb_Library_use_libraries,scqahelper,\
comphelper \