[Libreoffice-commits] .: Branch 'libreoffice-3-5' - writerfilter/source

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Tue Dec 13 01:45:00 PST 2011


 writerfilter/source/rtftok/rtfdocumentimpl.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 2857e160a599d4df97e3d890f480561abe99cedb
Author: Cédric Bosdonnat <cedric.bosdonnat at free.fr>
Date:   Tue Dec 13 10:35:24 2011 +0100

    RTF import: default scale for images is 100% not 0%
    
    This fixes the import of pictures in n#228839 and n#77738

diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index a378e83..718d60e 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -3223,8 +3223,8 @@ RTFPicture::RTFPicture()
     nHeight(0),
     nGoalWidth(0),
     nGoalHeight(0),
-    nScaleX(0),
-    nScaleY(0),
+    nScaleX(100),
+    nScaleY(100),
     nCropT(0),
     nCropB(0),
     nCropL(0),


More information about the Libreoffice-commits mailing list