With:
--- a/svx/source/xml/xmlgrhlp.cxx +++ b/svx/source/xml/xmlgrhlp.cxx @@ -621,6 +621,8 @@ sal_Bool SvXMLGraphicHelper::ImplWriteGraphic( const ::rtl::OUString& rPictureSt } else if( aGraphic.GetType() == GRAPHIC_GDIMETAFILE ) { + fprintf (stderr, "xmlgrhlp.cxx - write meta-file ! 0x%lx\n", + (long)aGraphic.GetChecksum() ); pStream->SetVersion( SOFFICE_FILEFORMAT_8 ); pStream->SetCompressMode( COMPRESSMODE_ZBITMAP );
@@ -643,6 +645,9 @@ sal_Bool SvXMLGraphicHelper::ImplWriteGraphic( const ::rtl::OUString& rPictureSt rMtf.Write( *pStream, GDIMETAFILE_WRITE_REPLACEMENT_RENDERGRAPHIC );
bRet = ( pStream->GetError() == 0 ); + + fprintf (stderr, "xmlgrhlp.cxx - done write meta-file ! 0x%lx\n", + (long)aGraphic.GetChecksum() );
I get:
xmlgrhlp.cxx - write meta-file ! 0x67f3281f xmlgrhlp.cxx - done write meta-file ! 0x67f3281f xmlgrhlp.cxx - write meta-file ! 0xafabbad6 xmlgrhlp.cxx - done write meta-file ! 0xafabbad6
Which seems to suggest that the id change is over & done by the time we get to writing the graphic out; and/or is not immediately caused by the writeout.
With:
--- a/svx/source/ xml/xmlgrhlp. cxx xml/xmlgrhlp. cxx per::ImplWriteG raphic( const ::rtl::OUString& rPictureSt
else if( aGraphic.GetType() == GRAPHIC_GDIMETAFILE ) GetChecksum( ) );
pStream- >SetVersion( SOFFICE_ FILEFORMAT_ 8 );
pStream- >SetCompressMod e( COMPRESSMODE_ ZBITMAP );
+++ b/svx/source/
@@ -621,6 +621,8 @@ sal_Bool SvXMLGraphicHel
}
{
+ fprintf (stderr, "xmlgrhlp.cxx - write meta-file ! 0x%lx\n",
+ (long)aGraphic.
@@ -643,6 +645,9 @@ sal_Bool SvXMLGraphicHel per::ImplWriteG raphic( const ::rtl::OUString& rPictureSt
rMtf. Write( *pStream, GDIMETAFILE_ WRITE_REPLACEME NT_RENDERGRAPHI C );
+
+ fprintf (stderr, "xmlgrhlp.cxx - done write meta-file ! 0x%lx\n",
+ (long)aGraphic.
I get:
xmlgrhlp.cxx - write meta-file ! 0x67f3281f
xmlgrhlp.cxx - done write meta-file ! 0x67f3281f
xmlgrhlp.cxx - write meta-file ! 0xafabbad6
xmlgrhlp.cxx - done write meta-file ! 0xafabbad6
Which seems to suggest that the id change is over & done by the time we get to writing the graphic out; and/or is not immediately caused by the writeout.