[Libreoffice-commits] core.git: Branch 'distro/collabora/co-2021' - sc/qa

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Thu Apr 15 15:58:13 UTC 2021


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

New commits:
commit 1df25a707d3d3b548f580b2b70d96ca58e6d3fde
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu Apr 15 17:57:13 2021 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Apr 15 17:57:17 2021 +0200

    CppunitTest_sc_tiledrendering: ATTR_LINEBREAK is an ScLineBreakCell
    
    Used to be SfxBoolItem on cp-6.4.
    
    Change-Id: Ibc42f437d8d763bb3cb703198268effd84a6a5cd

diff --git a/sc/qa/unit/tiledrendering/tiledrendering.cxx b/sc/qa/unit/tiledrendering/tiledrendering.cxx
index 1d42998f7066..8e32f6e57b97 100644
--- a/sc/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sc/qa/unit/tiledrendering/tiledrendering.cxx
@@ -2348,7 +2348,7 @@ void ScTiledRenderingTest::testPasteIntoWrapTextCell()
     ScDocument* pDoc = pModelObj->GetDocument();
 
     // Set Wrap text in A3
-    pDoc->ApplyAttr(0, 2, 0, SfxBoolItem(ATTR_LINEBREAK, true));
+    pDoc->ApplyAttr(0, 2, 0, ScLineBreakCell(true));
     const SfxBoolItem* pItem = static_cast<const SfxBoolItem*>(pDoc->GetAttr(0, 2, 0, ATTR_LINEBREAK));
     CPPUNIT_ASSERT(pItem->GetValue());
 


More information about the Libreoffice-commits mailing list