sw btlr writing mode: implement UNO API

Desktop / LibreOffice - Miklos Vajna [collabora.com] - 12 February 2019 15:34 EST

The custom code in SwXCell::setPropertyValue() was added in commit 5a5597655a4bf12e4ca07c9c2b6f6221e217f080 (tentative fix for fdo#30474#, 2010-11-26), which suggests that not handling all constants from text::WritingMode2 was not intentional.

Later the writerfilter side (which is the only client of this hidden property) was adapted to use text::WritingMode2, so do the same here. This implicitly adds support for the new text::WritingMode2::BT_LR as well.

Change-Id: I37d8eaa844847cb19e7503b2d973069f9895e6bc Reviewed-on: https://gerrit.libreoffice.org/67730

052b5d375307 sw btlr writing mode: implement UNO API
editeng/source/items/frmitems.cxx | 6 ++++++
sw/source/core/unocore/unotbl.cxx | 8 +-------
2 files changed, 7 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share