summaryrefslogtreecommitdiff
path: root/editeng/qa
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2011-01-20 15:22:01 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2011-03-19 17:57:18 +0100
commitd13469c38ba3e88219c918425b106e2ef83608c5 (patch)
tree59f8f60fbc1a57c7a210bc212f84564eec77f9d2 /editeng/qa
parent5aa3e4a3d93f1cc8fff2ee42353390a307ce08a2 (diff)
Fixed lines width guessing: gap are no smaller than 1pt
Diffstat (limited to 'editeng/qa')
-rw-r--r--editeng/qa/items/borderline_test.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/qa/items/borderline_test.cxx b/editeng/qa/items/borderline_test.cxx
index e7ea1a1deece..870a6a740173 100644
--- a/editeng/qa/items/borderline_test.cxx
+++ b/editeng/qa/items/borderline_test.cxx
@@ -80,7 +80,7 @@ void BorderLineTest::testGuessWidthNoMatch()
{
SvxBorderLine line;
line.GuessLinesWidths( DOUBLE,
- 1, 2, 3 );
+ TEST_WIDTH + 1, TEST_WIDTH + 2, TEST_WIDTH + 3 );
CPPUNIT_ASSERT_EQUAL( DOUBLE, line.GetStyle() );
CPPUNIT_ASSERT_EQUAL( long( 0 ), line.GetWidth() );
}