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

Noel Power noelp at kemper.freedesktop.org
Mon Nov 22 04:05:23 PST 2010


 oox/source/vml/vmlshapecontext.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 588a5adeca36921cb23605d896b33f2b3de1345d
Author: Noel Power <noel.power at novell.com>
Date:   Mon Nov 22 12:02:41 2010 +0000

    fix for n#648731 imagedata attribute not imported correctly

diff --git a/oox/source/vml/vmlshapecontext.cxx b/oox/source/vml/vmlshapecontext.cxx
index 4818c20..f8042e3 100644
--- a/oox/source/vml/vmlshapecontext.cxx
+++ b/oox/source/vml/vmlshapecontext.cxx
@@ -241,7 +241,8 @@ ContextHandlerRef ShapeTypeContext::onCreateContext( sal_Int32 nElement, const A
             mrTypeModel.maFillModel.moRotate = lclDecodeBool( rAttribs, XML_rotate );
         break;
         case VML_TOKEN( imagedata ):
-            mrTypeModel.moGraphicPath = decodeFragmentPath( rAttribs, O_TOKEN( relid ) );
+            mydump( rAttribs );
+            mrTypeModel.moGraphicPath = decodeFragmentPath( rAttribs, R_TOKEN( id ) );
             mrTypeModel.moGraphicTitle = rAttribs.getString( O_TOKEN( title ) );
         break;
     }


More information about the Libreoffice-commits mailing list