summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorPriyanka Gaikwad <priyanka.gaikwad@synerzip.com>2013-11-12 11:29:34 +0530
committerMiklos Vajna <vmiklos@collabora.co.uk>2013-11-14 13:51:52 +0100
commit7e115a4685ad21872e6759686860c5113e19c473 (patch)
treec5db71f9a2aa4c8363b730288e70c8ce4e565458 /editeng
parent99b2f2bdef388bafd127139f7a05e47dc1592738 (diff)
Fixed for spacing between lines in paragraph.
Problem Description: In "w:spacing" value of "w:line" attribute value is not getting preserved. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/6645 Change-Id: Id9da4f9234d14cf4599c6520b4a191ad9af92c25
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/paraitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/items/paraitem.cxx b/editeng/source/items/paraitem.cxx
index a78912b579c4..c130771a862e 100644
--- a/editeng/source/items/paraitem.cxx
+++ b/editeng/source/items/paraitem.cxx
@@ -203,7 +203,7 @@ bool SvxLineSpacingItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
case style::LineSpacingMode::PROP:
{
eLineSpace = SVX_LINE_SPACE_AUTO;
- nPropLineSpace = (sal_Int8)std::min(aLSp.Height, (short)0xFF);
+ nPropLineSpace = (sal_Int16)aLSp.Height;
if(100 == aLSp.Height)
eInterLineSpace = SVX_INTER_LINE_SPACE_OFF;
else