[Libreoffice-commits] core.git: Branch 'distro/nisz/libreoffice-7-0' - sc/qa
Gabor Kelemen (via logerrit)
logerrit at kemper.freedesktop.org
Wed Feb 24 09:13:07 UTC 2021
sc/qa/unit/subsequent_filters-test.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 9793d21ffb551af8d8caa22d777893de6b914061
Author: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
AuthorDate: Wed Feb 24 10:10:16 2021 +0100
Commit: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
CommitDate: Wed Feb 24 10:12:32 2021 +0100
Fix unit test broken in f5394680e45d56cd666dfb545c5da2c0c4192131
Change-Id: I1b0fb9f50c34b234ba35a63112f3e23ec38c0cd5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111448
Tested-by: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
Reviewed-by: Gabor Kelemen <kelemen.gabor2 at nisz.hu>
diff --git a/sc/qa/unit/subsequent_filters-test.cxx b/sc/qa/unit/subsequent_filters-test.cxx
index b760998bd5a8..b067b8c22ba8 100644
--- a/sc/qa/unit/subsequent_filters-test.cxx
+++ b/sc/qa/unit/subsequent_filters-test.cxx
@@ -4644,7 +4644,7 @@ void ScFiltersTest::testDeleteCircles()
// Mark invalid value
bool bOverflow;
- bool bMarkInvalid = ScDetectiveFunc(rDoc, 0).MarkInvalid(bOverflow);
+ bool bMarkInvalid = ScDetectiveFunc(&rDoc, 0).MarkInvalid(bOverflow);
CPPUNIT_ASSERT_EQUAL(true, bMarkInvalid);
// There should be a circle object!
@@ -4658,7 +4658,7 @@ void ScFiltersTest::testDeleteCircles()
bool bValidA1 = pData->IsDataValid(aCellA1, aPosA1);
// if valid, delete circle.
if (bValidA1)
- ScDetectiveFunc(rDoc, 0).DeleteCirclesAt(aPosA1.Col(), aPosA1.Row());
+ ScDetectiveFunc(&rDoc, 0).DeleteCirclesAt(aPosA1.Col(), aPosA1.Row());
// There should not be a circle object!
CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(0), pPage->GetObjCount());
More information about the Libreoffice-commits
mailing list