From b1a096a7d5be33982294d3eb4f67a4bc4daff803 Mon Sep 17 00:00:00 2001 From: Cédric Bosdonnat Date: Tue, 13 Dec 2011 10:35:24 +0100 Subject: RTF import: default scale for images is 100% not 0% This fixes the import of pictures in n#228839 and n#77738 --- writerfilter/source/rtftok/rtfdocumentimpl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'writerfilter') 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), -- cgit