diff options
author | Vasily Melenchuk <Vasily.Melenchuk@cib.de> | 2017-10-04 11:23:19 +0300 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-10-09 01:59:30 +0200 |
commit | 91d5cebbde2e854a73a9a7633725350df1418387 (patch) | |
tree | 94adec172e3debd48d2767bb1f60bcf14a652cbc /oox | |
parent | b98c65538e9d9079e0d0f97793db76759a057beb (diff) |
tdf#100491: Reduce DOCX shapes arrow line ending size multiplier
Older arrow line endings are quite big comparing to other DOCX line
ending and same arrows in MS Word.
Change-Id: I9617aa283a7e3fcc8f413c999352d7e33f05c187
Reviewed-on: https://gerrit.libreoffice.org/43119
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/lineproperties.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/oox/source/drawingml/lineproperties.cxx b/oox/source/drawingml/lineproperties.cxx index 534bc2a0cb9a..d5a71614cb1b 100644 --- a/oox/source/drawingml/lineproperties.cxx +++ b/oox/source/drawingml/lineproperties.cxx @@ -221,16 +221,16 @@ void lclPushMarkerProperties( ShapePropertyMap& rPropMap, double fArrowLength = 1.0; switch( nLength ) { - case OOX_ARROWSIZE_SMALL: fArrowLength = (bIsArrow ? 3.5 : 2.0); break; - case OOX_ARROWSIZE_MEDIUM: fArrowLength = (bIsArrow ? 4.5 : 3.0); break; - case OOX_ARROWSIZE_LARGE: fArrowLength = (bIsArrow ? 6.0 : 5.0); break; + case OOX_ARROWSIZE_SMALL: fArrowLength = (bIsArrow ? 2.5 : 2.0); break; + case OOX_ARROWSIZE_MEDIUM: fArrowLength = (bIsArrow ? 3.5 : 3.0); break; + case OOX_ARROWSIZE_LARGE: fArrowLength = (bIsArrow ? 5.5 : 5.0); break; } double fArrowWidth = 1.0; switch( nWidth ) { - case OOX_ARROWSIZE_SMALL: fArrowWidth = (bIsArrow ? 3.5 : 2.0); break; - case OOX_ARROWSIZE_MEDIUM: fArrowWidth = (bIsArrow ? 4.5 : 3.0); break; - case OOX_ARROWSIZE_LARGE: fArrowWidth = (bIsArrow ? 6.0 : 5.0); break; + case OOX_ARROWSIZE_SMALL: fArrowWidth = (bIsArrow ? 2.5 : 2.0); break; + case OOX_ARROWSIZE_MEDIUM: fArrowWidth = (bIsArrow ? 3.5 : 3.0); break; + case OOX_ARROWSIZE_LARGE: fArrowWidth = (bIsArrow ? 5.5 : 5.0); break; } // set arrow width relative to line width sal_Int32 nBaseLineWidth = ::std::max< sal_Int32 >( nLineWidth, 70 ); |