summaryrefslogtreecommitdiff
path: root/writerfilter
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-12-13 10:35:24 +0100
committerCédric Bosdonnat <cedric.bosdonnat@free.fr>2011-12-13 10:36:56 +0100
commitb1a096a7d5be33982294d3eb4f67a4bc4daff803 (patch)
tree8393de29abfb6c4be320538a94a02f299fc24f62 /writerfilter
parente2812dd41916cb90c28782b855a100edb4b681b0 (diff)
RTF import: default scale for images is 100% not 0%
This fixes the import of pictures in n#228839 and n#77738
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index b76dcebfc54b..8b25e4eebfe2 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -3213,8 +3213,8 @@ RTFPicture::RTFPicture()
nHeight(0),
nGoalWidth(0),
nGoalHeight(0),
- nScaleX(0),
- nScaleY(0),
+ nScaleX(100),
+ nScaleY(100),
nCropT(0),
nCropB(0),
nCropL(0),