summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_macros_test.mk
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2022-01-18 15:34:49 +0900
committerXisco Fauli <xiscofauli@libreoffice.org>2022-01-24 12:28:17 +0100
commit54cda94175f372695c55576817e3ae14655598ea (patch)
treec837f37950609efa8ae3eea7d434078f159e20da /sc/CppunitTest_sc_macros_test.mk
parent92fb148a956087483ac837dd540e555e777f1e53 (diff)
sc: fix VBA Copy-Paste using same and separate document
This fixes 2 issues with VBA copy-paste: - VBA command Range(..).Copy issue where the range wasn't selected when copying and the copied cells were from the previous selection. The Copy command now does the same selection as the Cut command. - VBA PasteSpecial issue where the wrong view was used to get the clip document. - VBA Workbooks.Add issue where the new workbook wasn't activated after it was created, which causes an issue when running tests, but not when running in LO application. The Add command does now the same as the Workbooks.Open command. All the issues are supported by new test cases. Change-Id: I36ec45c01f18f7f76e4f95a25a28402a6ee0e2e2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128720 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 0c6ee963e1f089cb73e0c68a28af29d0f8d9e0df) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128678 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'sc/CppunitTest_sc_macros_test.mk')
-rw-r--r--sc/CppunitTest_sc_macros_test.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/CppunitTest_sc_macros_test.mk b/sc/CppunitTest_sc_macros_test.mk
index b29c3fe03b54..37c498e81ec0 100644
--- a/sc/CppunitTest_sc_macros_test.mk
+++ b/sc/CppunitTest_sc_macros_test.mk
@@ -19,6 +19,7 @@ $(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_macros_test))
$(eval $(call gb_CppunitTest_add_exception_objects,sc_macros_test, \
sc/qa/extras/macros-test \
+ sc/qa/extras/vba-macro-test \
))
$(eval $(call gb_CppunitTest_use_libraries,sc_macros_test, \