[ooo-build-commit] .: Branch 'ooo-build-3-2' - patches/dev300

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


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

New commits:
commit 684d30a65eb15cd949a496efc048a1e6fd2ccdd2
Author: Cédric Bosdonnat <cedricbosdo at openoffice.org>
Date:   Fri Feb 5 15:20:46 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