summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-05-04 08:38:54 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-05-04 07:26:34 +0000
commite05ad4fc8b3a0a0e92c31c0afe935acfcb8efb97 (patch)
tree5732884ed5c0fce1d49abf86a11659d9af05c895 /sw
parentb73137aa58fe3a3562ec02f25114d769910b9740 (diff)
CPPUNIT_ASSERT(a == b) -> CPPUNIT_ASSERT_EQUAL(b, a)
Change-Id: I84dcd5ccc48d46f4aaa1ad33b341bfe7542757a3 Reviewed-on: https://gerrit.libreoffice.org/24631 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/extras/uiwriter/uiwriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index fca4a79d5dee..beed66ebbf86 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -3454,7 +3454,7 @@ void SwUiWriterTest::testTdf96536()
uno::Reference<lang::XComponent> xParagraph(getParagraph(2), uno::UNO_QUERY);
xParagraph->dispose();
calcLayout();
- CPPUNIT_ASSERT(parseDump("/root/page[1]/infos/bounds", "height").toInt32() == nSingleParaPageHeight);
+ CPPUNIT_ASSERT_EQUAL(nSingleParaPageHeight, parseDump("/root/page[1]/infos/bounds", "height").toInt32());
}
void SwUiWriterTest::testTdf96479()