summaryrefslogtreecommitdiff
path: root/sc/qa/extras
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-12-10 16:38:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2019-12-11 17:08:16 +0100
commit331cafb1484597544bd94fa3f0e0a45b3328a4d8 (patch)
tree04e88511f2eb1cac4447a8c719cbc80b39f50300 /sc/qa/extras
parentdead2a5b0eaae3fb33f9d2b4d249849864014585 (diff)
Related: tdf#129300 add ScLineBreakCell to provide a description
Change-Id: Ief739616163c68e0e30d6287fdac90c1bcc9d13f Reviewed-on: https://gerrit.libreoffice.org/84879 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc/qa/extras')
-rw-r--r--sc/qa/extras/anchor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/qa/extras/anchor.cxx b/sc/qa/extras/anchor.cxx
index 5d759afa9293..70f8761ce243 100644
--- a/sc/qa/extras/anchor.cxx
+++ b/sc/qa/extras/anchor.cxx
@@ -177,7 +177,7 @@ void ScAnchorTest::testTdf76183()
const tools::Rectangle& rNewRect = pObj->GetLogicRect();
// Set word wrap to true
- rDoc.ApplyAttr(0, 0, 0, SfxBoolItem(ATTR_LINEBREAK, true));
+ rDoc.ApplyAttr(0, 0, 0, ScLineBreakCell(true));
// Add multi-line text to cell to initiate optimal height change
uno::Reference<sheet::XSpreadsheetDocument> xDoc(xComponent, uno::UNO_QUERY_THROW);
uno::Reference<container::XIndexAccess> xIA(xDoc->getSheets(), uno::UNO_QUERY_THROW);