CppunitTest_sc_autoformatobj: fix read of value vs content of value

Desktop / LibreOffice - Miklos Vajna [collabora.co.uk] - 5 January 2018 19:37 EST

As far as I see the old qadevOOo/runner/lib/MultiPropertyTest.java didn't assert the content of the property value (only avoided the set of the property if the value was null or void), the new C++ version asserts both the type and the value. Asserting the type is probably a good thing, but asserting the value is problematic, at least the test failed for me without these tweaks.

Change-Id: I688486025e6118ad4c8907de6cb2629dd008f8fd Reviewed-on: https://gerrit.libreoffice.org/47475

6007cdaabe16 CppunitTest_sc_autoformatobj: fix read of value vs content of value
test/source/sheet/tableautoformat.cxx | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)

Upstream: cgit.freedesktop.org


  • Share