summaryrefslogtreecommitdiff
path: root/sw/qa
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2014-05-24 21:53:19 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2014-05-24 22:11:04 +0200
commit1c14618eaf7c2cc15f060733d6f88a5d4ed132f9 (patch)
tree4c5e37f4e7beaeac0cfe12e09d2588fa20cd38fa /sw/qa
parent5ea67ff9ca1a522a6b72ac51cae5b5a6165d5c81 (diff)
CppunitTest_sw_rtfimport: the point here was only that this was nearly zero
If the old width was that small, then something larger should be also fine. (Seen 564 instead of 423.) Change-Id: Ife0fd4a55738268cdc1691b90e28b51adba829ef
Diffstat (limited to 'sw/qa')
-rw-r--r--sw/qa/extras/rtfimport/rtfimport.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/qa/extras/rtfimport/rtfimport.cxx b/sw/qa/extras/rtfimport/rtfimport.cxx
index e96f03723f72..02847363f531 100644
--- a/sw/qa/extras/rtfimport/rtfimport.cxx
+++ b/sw/qa/extras/rtfimport/rtfimport.cxx
@@ -821,7 +821,8 @@ DECLARE_RTFIMPORT_TEST(testFdo52989, "fdo52989.rtf")
{
// Same as n#192129, but for JPEG files.
uno::Reference<drawing::XShape> xShape(getShape(1), uno::UNO_QUERY);
- CPPUNIT_ASSERT_EQUAL(sal_Int32(423), xShape->getSize().Width);
+ // This was 2, should be 423.
+ CPPUNIT_ASSERT(xShape->getSize().Width >= 423);
}
DECLARE_RTFIMPORT_TEST(testFdo48442, "fdo48442.rtf")