[Libreoffice-commits] .: oox/source

Radek Doulík rodo at kemper.freedesktop.org
Tue Nov 8 06:42:22 PST 2011


 oox/source/drawingml/textparagraphproperties.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a8bdbeb1a819c0296940b4dd882890be16ec4cba
Author: Radek Doulik <rodo at novell.com>
Date:   Tue Nov 8 15:40:31 2011 +0100

    fixed regression, set the left paragraph margin

diff --git a/oox/source/drawingml/textparagraphproperties.cxx b/oox/source/drawingml/textparagraphproperties.cxx
index f7168c1..b6c9178 100644
--- a/oox/source/drawingml/textparagraphproperties.cxx
+++ b/oox/source/drawingml/textparagraphproperties.cxx
@@ -456,7 +456,7 @@ void TextParagraphProperties::pushToPropSet( const ::oox::core::XmlFilterBase* p
         }
     }
     if ( noParaLeftMargin )
-        aPropSet.setProperty( PROP_ParaLeftMargin, sal_Int32(0) /**noParaLeftMargin*/ );
+        aPropSet.setProperty( PROP_ParaLeftMargin, sal_Int32( *noParaLeftMargin ) );
     if ( noFirstLineIndentation )
         aPropSet.setProperty( PROP_ParaFirstLineIndent, *noFirstLineIndentation );
 }


More information about the Libreoffice-commits mailing list