Bugzilla – Attachment 78659 Details for
Bug 60549
Pictures not saved to .pptx
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
appears to 'fix' the problem; but of course I have no idea what I'm doing.
fdo60549-potential.patch (text/plain), 1.96 KB, created by
Michael Meeks
on 2013-04-30 17:19:10 UTC
(
hide
)
Description:
appears to 'fix' the problem; but of course I have no idea what I'm doing.
Filename:
MIME Type:
Creator:
Michael Meeks
Created:
2013-04-30 17:19:10 UTC
Size:
1.96 KB
patch
obsolete
>diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx >index f26a527..dab14ce 100644 >--- a/oox/source/export/shapes.cxx >+++ b/oox/source/export/shapes.cxx >@@ -822,11 +822,18 @@ void ShapeExport::WriteGraphicObjectShapePart( Reference< XShape > xShape, const > > if( NonEmptyText( xShape ) ) > { >- WriteTextShape( xShape ); >+ // avoid treating all 'IsPresentationObject' objects as having text. >+ Reference< XSimpleText > xText( xShape, UNO_QUERY ); > >- //DBG(dump_pset(mXPropSet)); >+ if( xText.is() && xText->getString().getLength() ) >+ { >+ DBG(printf("graphicObject: wrote only text\n")); > >- return; >+ WriteTextShape( xShape ); >+ >+ //DBG(dump_pset(mXPropSet)); >+ return; >+ } > } > > DBG(printf("graphicObject without text\n")); >@@ -1124,6 +1131,12 @@ static const NameToConvertMapType& lcl_GetConverters() > shape_converters[ "com.sun.star.drawing.OLE2Shape" ] = &ShapeExport::WriteOLE2Shape; > shape_converters[ "com.sun.star.drawing.TableShape" ] = &ShapeExport::WriteTableShape; > shape_converters[ "com.sun.star.drawing.TextShape" ] = &ShapeExport::WriteTextShape; >+ >+ shape_converters[ "com.sun.star.presentation.GraphicObjectShape" ] = &ShapeExport::WriteGraphicObjectShape; >+ shape_converters[ "com.sun.star.presentation.OLE2Shape" ] = &ShapeExport::WriteOLE2Shape; >+ shape_converters[ "com.sun.star.presentation.TableShape" ] = &ShapeExport::WriteTableShape; >+ shape_converters[ "com.sun.star.presentation.TextShape" ] = &ShapeExport::WriteTextShape; >+ > shape_converters[ "com.sun.star.presentation.DateTimeShape" ] = &ShapeExport::WriteTextShape; > shape_converters[ "com.sun.star.presentation.FooterShape" ] = &ShapeExport::WriteTextShape; > shape_converters[ "com.sun.star.presentation.HeaderShape" ] = &ShapeExport::WriteTextShape;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 60549
:
74490
| 78659