summaryrefslogtreecommitdiff
path: root/uitest/math_tests/data
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-10-29 09:28:17 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-10-29 10:50:46 +0100
commit7b91fc00a01e973937861a212750b12ffaaf9501 (patch)
tree5787d14e16025b25d69bfbd176d0ba670b980b85 /uitest/math_tests/data
parent54a836fa5af3428d893cffe5d7a0963b092e9f70 (diff)
workaround loplugin:cppunitassertequals
There is no operator<< for SfxPoolItem, so a straightforward convert to CPPUNIT_ASSERT_EQUAL is not possible. /home/noel/libo/sw/qa/extras/tiledrendering/tiledrendering.cxx:2725:5: error: rather call CPPUNIT_ASSERT_EQUAL when comparing 'const SfxPoolItem' and 'SvxWeightItem' (or rewrite as an explicit operator == call when the operator itself is the topic) [loplugin:cppunitassertequals] 2725 | CPPUNIT_ASSERT(*pPoolItem == aBoldWeightItem); // a bold | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. Change-Id: Ia92779d54d252245e1d3b8e32c574e4226342f36 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175771 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de>
Diffstat (limited to 'uitest/math_tests/data')
0 files changed, 0 insertions, 0 deletions