vcl/qa/cppunit/outdev.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit a35c63e19891a1f7cebb54746ca9793c30b16b95 Author: Chris Sherlock <chris.sherloc...@gmail.com> AuthorDate: Fri Oct 8 02:05:50 2021 +1100 Commit: Tomaž Vajngerl <qui...@gmail.com> CommitDate: Mon Oct 11 11:55:09 2021 +0200 vcl: ensure test VDevs are always bigger than operation being tested Change-Id: I4b57db489e950d75929be51210c113e6a149b534 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123222 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <qui...@gmail.com> diff --git a/vcl/qa/cppunit/outdev.cxx b/vcl/qa/cppunit/outdev.cxx index b360dfec9336..7c333593c346 100644 --- a/vcl/qa/cppunit/outdev.cxx +++ b/vcl/qa/cppunit/outdev.cxx @@ -1048,7 +1048,7 @@ void VclOutdevTest::testErase() aMtf.Record(pVDev.get()); // this actually triggers Erase() - pVDev->SetOutputSizePixel(Size(1, 1)); + pVDev->SetOutputSizePixel(Size(10, 10)); pVDev->Erase(); MetaAction* pAction = aMtf.GetAction(INITIAL_SETUP_ACTION_COUNT); @@ -1079,7 +1079,7 @@ void VclOutdevTest::testDrawPixel() aMtf.Record(pVDev.get()); // triggers an Erase() - pVDev->SetOutputSizePixel(Size(1, 1)); + pVDev->SetOutputSizePixel(Size(10, 10)); pVDev->SetLineColor(COL_RED); pVDev->DrawPixel(Point(0, 0), COL_GREEN); @@ -1122,7 +1122,7 @@ void VclOutdevTest::testDrawLine() GDIMetaFile aMtf; aMtf.Record(pVDev.get()); - pVDev->SetOutputSizePixel(Size(1, 100)); + pVDev->SetOutputSizePixel(Size(10, 100)); pVDev->DrawLine(Point(0, 0), Point(0, 50)); MetaAction* pAction = aMtf.GetAction(INITIAL_SETUP_ACTION_COUNT);