vcl/qa/cppunit/svm/svmtest.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 243b96653e0f5d1113521129baecb4e1c278cc83
Author:     Luboš Luňák <l.lu...@collabora.com>
AuthorDate: Wed Jul 8 17:45:08 2020 +0200
Commit:     Tomaž Vajngerl <qui...@gmail.com>
CommitDate: Wed Jul 8 20:53:41 2020 +0200

    svmtest shouldn't compare rendering against itself
    
    Change-Id: I426187abfd4e5e2596f9680aff14fc1e370a18ab
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98383
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <qui...@gmail.com>

diff --git a/vcl/qa/cppunit/svm/svmtest.cxx b/vcl/qa/cppunit/svm/svmtest.cxx
index f318aa718c4d..e03267e3bd36 100644
--- a/vcl/qa/cppunit/svm/svmtest.cxx
+++ b/vcl/qa/cppunit/svm/svmtest.cxx
@@ -258,8 +258,9 @@ void 
SvmTest::checkRendering(ScopedVclPtrInstance<VirtualDevice> const & pVirtua
 {
     BitmapEx aSourceBitmapEx = pVirtualDev->GetBitmapEx(Point(), Size(10, 10));
     ScopedVclPtrInstance<VirtualDevice> pVirtualDevResult;
+    pVirtualDevResult->SetOutputSizePixel(Size(10, 10));
     const_cast<GDIMetaFile&>(rMetaFile).Play(pVirtualDevResult.get());
-    BitmapEx aResultBitmapEx = pVirtualDev->GetBitmapEx(Point(), Size(10, 10));
+    BitmapEx aResultBitmapEx = pVirtualDevResult->GetBitmapEx(Point(), 
Size(10, 10));
 
     const bool bWriteCompareBitmap = false;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to