[Libreoffice-commits] core.git: Branch 'feature/SOSAW080' - sc/qa

Armin Le Grand (CIB) Armin.Le.Grand at cib.de
Mon Mar 19 23:35:52 UTC 2018


 sc/qa/extras/anchor.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 2342ac85c4a0e387eaf3582d3e910d38035c726e
Author: Armin Le Grand <Armin.Le.Grand at cib.de (CIB)>
Date:   Tue Mar 20 00:33:57 2018 +0100

    SOSAW080: Corrected CppunitTest_sc_anchor_test
    
    An adaption of a SdrPathObj instantiation was missing,
    added that. Seems as if that test is no tpart of the
    usual 'make' scenario, but used/executed in gerrit builds
    
    Change-Id: I1694b54903df784385abaa8452e1201e12344238

diff --git a/sc/qa/extras/anchor.cxx b/sc/qa/extras/anchor.cxx
index dc0a8942b9dd..65d76c660bc7 100644
--- a/sc/qa/extras/anchor.cxx
+++ b/sc/qa/extras/anchor.cxx
@@ -168,7 +168,7 @@ void ScAnchorTest::testTdf76183()
 
     // Add a circle somewhere below first row.
     const tools::Rectangle aOrigRect = tools::Rectangle(1000, 1000, 1200, 1200);
-    SdrCircObj* pObj = new SdrCircObj(OBJ_CIRC, aOrigRect);
+    SdrCircObj* pObj = new SdrCircObj(*pDrawLayer, OBJ_CIRC, aOrigRect);
     pPage->InsertObject(pObj);
     // Anchor to cell
     ScDrawLayer::SetCellAnchoredFromPosition(*pObj, rDoc, 0, false);


More information about the Libreoffice-commits mailing list