[ooo-build-commit] .: patches/dev300

Cédric Bosdonnat cbosdo at kemper.freedesktop.org
Fri Feb 5 06:20:23 PST 2010


 patches/dev300/docx-fixes01.diff |   13 +++++++++++++
 1 file changed, 13 insertions(+)

New commits:
commit d4e89bfbeb57751c8c83f5d4488929d2718f3ce0
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date:   Fri Feb 5 15:15:15 2010 +0100

    Docx import: fixed image wrapping
    
    * patches/dev300/docx-fixes01.diff:

diff --git a/patches/dev300/docx-fixes01.diff b/patches/dev300/docx-fixes01.diff
index 9b032ce..b484305 100644
--- a/patches/dev300/docx-fixes01.diff
+++ b/patches/dev300/docx-fixes01.diff
@@ -975,3 +975,16 @@ index ff23dfc..97f3f28 100644
  
              ofstream dumpStream(fileName.c_str());
              aIt->second->output(dumpStream);
+diff --git writerfilter/source/dmapper/GraphicImport.cxx writerfilter/source/dmapper/GraphicImport.cxx
+index 21ed725..2ad5f90 100644
+--- writerfilter/source/dmapper/GraphicImport.cxx
++++ writerfilter/source/dmapper/GraphicImport.cxx
+@@ -1981,7 +1981,7 @@ uno::Reference< text::XTextContent > GraphicImport::createGraphicObject( const b
+             }
+ 
+             // setting properties for all types
+-            xGraphicObjectProperties->setPropertyValue(rPropNameSupplier.GetName( PROP_ALTERNATIVE_TEXT ),
++            xGraphicObjectProperties->setPropertyValue(rPropNameSupplier.GetName( PROP_TITLE ),
+                 uno::makeAny( m_pImpl->sAlternativeText ));
+             if( m_pImpl->bPositionProtected )
+                 xGraphicObjectProperties->setPropertyValue(rPropNameSupplier.GetName( PROP_POSITION_PROTECTED ), 


More information about the ooo-build-commit mailing list