sc/qa/unit/uicalc/uicalc.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 6705b59ed0599dd74ce84d670a915458cff4c971
Author: Thorsten Behrens <[email protected]>
AuthorDate: Wed Jul 24 11:50:26 2024 +0200
Commit: Thorsten Behrens <[email protected]>
CommitDate: Wed Jul 24 11:52:37 2024 +0200
Fixup: tdf#161641 - Select data area before select all
The unit test modification was accidentally dropped on this backport.
Change-Id: I4a497fc52dfcf2140a9ae2e65c72623389c66cb6
diff --git a/sc/qa/unit/uicalc/uicalc.cxx b/sc/qa/unit/uicalc/uicalc.cxx
index 15795baceaa1..1190ab0fa471 100644
--- a/sc/qa/unit/uicalc/uicalc.cxx
+++ b/sc/qa/unit/uicalc/uicalc.cxx
@@ -1975,6 +1975,8 @@ CPPUNIT_TEST_FIXTURE(ScUiCalcTest, testTdf108654)
ScDocument* pDoc = getScDoc();
dispatchCommand(mxComponent, ".uno:SelectAll", {});
+ // first .uno:SelectAll selects the range, second all (tdf#161641)
+ dispatchCommand(mxComponent, u".uno:SelectAll"_ustr, {});
dispatchCommand(mxComponent, ".uno:Copy", {});