From 09046504749cb59cc5b8f257658f49ffa93622c9 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 30 Sep 2014 21:09:27 +0200 Subject: actually the LineStyle property is *write-only* ... which is highly suspect in any case, but whatever. Change-Id: Ibeff36a7d30750fc33e9729b067f86b3901d1c76 --- editeng/source/items/frmitems.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'editeng') diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx index 315a332cd9e1..f184a2869f44 100644 --- a/editeng/source/items/frmitems.cxx +++ b/editeng/source/items/frmitems.cxx @@ -1716,6 +1716,12 @@ bool SvxBoxItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const nDist = nRightDist; bDistMember = true; break; + case LINE_STYLE: + case LINE_WIDTH: + // it doesn't make sense to return a value for these since it's + // probably ambiguous + return true; + break; } if( bDistMember ) -- cgit