diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-10-18 13:36:49 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-10-18 15:37:40 +0200 |
commit | f5ef4f27d5f2d82b28be690154102dae72f94545 (patch) | |
tree | bc3b4ec5a4e648fd715a266ecbabb3ce6eaede44 /writerfilter | |
parent | Merge SvLBoxTreeList and SvTreeList. (diff) | |
download | core-f5ef4f27d5f2d82b28be690154102dae72f94545.tar.gz core-f5ef4f27d5f2d82b28be690154102dae72f94545.zip |
fix import of RTF default page left/right margin
This is one more fallout from fdo#42407, which is still incomplete.
Change-Id: Ie47f06be598ce5236c45bd3750ea7a21fd98175c
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/dmapper/DomainMapper_Impl.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 4ea99838b9de..069e94c4b4c5 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -3471,7 +3471,9 @@ _PageMar::_PageMar() { header = footer = ConversionHelper::convertTwipToMM100(sal_Int32(720)); top = bottom = ConversionHelper::convertTwipToMM100( sal_Int32(1440)); - right = left = ConversionHelper::convertTwipToMM100( sal_Int32(1800)); + // This is strange, the RTF spec says it's 1800, but it's clearly 1440 in Word + // OOXML seems not to specify a default value + right = left = ConversionHelper::convertTwipToMM100( sal_Int32(1440)); gutter = 0; } |