From e09f22aa2626267e01b9e759c152f3a0d70ddc68 Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Sat, 10 Jul 2021 12:35:44 +0300 Subject: editengine-columns: tdf#143258 Fix handling rotated text This reverts modifications to existing unit tests made in commit d0a1616ccad0dd5f5a02c1b0204f537b57d0b4b5. My idea that those changes were required because of more correct calculations was wrong, and in fact they were caused by off-by-1 error in height calculations. Change-Id: Ib94878a911238c977c35a8f8e3e5694cedc79a89 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118705 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- test/source/sheet/xsheetannotationshapesupplier.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/source') diff --git a/test/source/sheet/xsheetannotationshapesupplier.cxx b/test/source/sheet/xsheetannotationshapesupplier.cxx index fe392fc83494..dac446b72b52 100644 --- a/test/source/sheet/xsheetannotationshapesupplier.cxx +++ b/test/source/sheet/xsheetannotationshapesupplier.cxx @@ -33,7 +33,7 @@ void XSheetAnnotationShapeSupplier::testGetAnnotationShape() CPPUNIT_ASSERT_EQUAL_MESSAGE("getAnnotationShape() wrong width", sal_Int32(11275), xShape->getSize().Width); CPPUNIT_ASSERT_EQUAL_MESSAGE("getAnnotationShape() wrong height", - sal_Int32(1387), xShape->getSize().Height); + sal_Int32(1386), xShape->getSize().Height); } } -- cgit