summaryrefslogtreecommitdiffstats
path: root/oox/source/vml
diff options
context:
space:
mode:
authorJustin Luth <justin_luth@sil.org>2017-09-18 15:57:51 -0400
committerJustin Luth <justin_luth@sil.org>2017-12-07 05:18:43 +0100
commit9644f506ae31f1cacd6ab4c24b2591179791eebd (patch)
tree99007d1d4967e70ef48ad5856a7253fe59c12092 /oox/source/vml
parentUse return iterator from erase in swnewtable (sw) (diff)
downloadcore-9644f506ae31f1cacd6ab4c24b2591179791eebd.tar.gz
core-9644f506ae31f1cacd6ab4c24b2591179791eebd.zip
tdf#97648 ooxmlimport: horizontal lines have no margins
Change-Id: I170ab7a742f8e9d8029512592abda9fc54edda18 Reviewed-on: https://gerrit.libreoffice.org/42437 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Justin Luth <justin_luth@sil.org>
Diffstat (limited to 'oox/source/vml')
-rw-r--r--oox/source/vml/vmlshapecontext.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/oox/source/vml/vmlshapecontext.cxx b/oox/source/vml/vmlshapecontext.cxx
index 423ba1458053..8181c982780d 100644
--- a/oox/source/vml/vmlshapecontext.cxx
+++ b/oox/source/vml/vmlshapecontext.cxx
@@ -308,6 +308,8 @@ ShapeTypeContext::ShapeTypeContext(ContextHandler2Helper const & rParent,
OUString hrpct = rAttribs.getString( O_TOKEN( hrpct ), "1000" );
if( hrpct != "0" )
mrTypeModel.maWidthPercent = OUString::number( hrpct.toInt32() );
+ mrTypeModel.maWrapDistanceLeft = "0";
+ mrTypeModel.maWrapDistanceRight = "0";
}
// stroke settings (may be overridden by v:stroke element later)