[Libreoffice-commits] .: writerfilter/source

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


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

New commits:
commit b1a096a7d5be33982294d3eb4f67a4bc4daff803
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 b76dceb..8b25e4e 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),


More information about the Libreoffice-commits mailing list