summaryrefslogtreecommitdiff
path: root/sw/qa/extras/rtfimport
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-09-30 21:09:27 +0200
committerMichael Stahl <mstahl@redhat.com>2014-09-30 21:49:22 +0200
commit09046504749cb59cc5b8f257658f49ffa93622c9 (patch)
tree738f38ae31178929e5431745ef3a329b95bc64f1 /sw/qa/extras/rtfimport
parentc84ce79132c674b4c2d31da8997ed77671323dfe (diff)
actually the LineStyle property is *write-only*
... which is highly suspect in any case, but whatever. Change-Id: Ibeff36a7d30750fc33e9729b067f86b3901d1c76
Diffstat (limited to 'sw/qa/extras/rtfimport')
-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 e12464499b6c..2b2764e14750 100644
--- a/sw/qa/extras/rtfimport/rtfimport.cxx
+++ b/sw/qa/extras/rtfimport/rtfimport.cxx
@@ -881,7 +881,8 @@ DECLARE_RTFIMPORT_TEST(testDoDhgt, "do-dhgt.rtf")
DECLARE_RTFIMPORT_TEST(testDplinehollow, "dplinehollow.rtf")
{
uno::Reference<beans::XPropertySet> xPropertySet(getShape(1), uno::UNO_QUERY);
- CPPUNIT_ASSERT_EQUAL(drawing::LineStyle_NONE, getProperty<drawing::LineStyle>(xPropertySet, "LineStyle"));
+ table::BorderLine2 line(getProperty<table::BorderLine2>(xPropertySet, "TopBorder"));
+ CPPUNIT_ASSERT_EQUAL(table::BorderLineStyle::NONE, line.LineStyle);
}
DECLARE_RTFIMPORT_TEST(testLeftmarginDefault, "leftmargin-default.rtf")