Kaydet (Commit) be7d87be authored tarafından Andrzej J.R. Hunt's avatar Andrzej J.R. Hunt

EMF+: force canvas if EMF+ comments are used.

Without this the drawinglayer renderer is used, whereas
only the canvas renderer supports EMF+.

Change-Id: Id8a10e400e08c1913e7d6864a51f7b73fc9be437
üst fb9d14f6
......@@ -2765,6 +2765,13 @@ SvStream& operator>>( SvStream& rIStm, GDIMetaFile& rGDIMetaFile )
{
pAction = MetaAction::ReadMetaAction( rIStm, &aReadData );
if (pAction->GetType() == META_COMMENT_ACTION)
{
MetaCommentAction* pCommentAct = static_cast<MetaCommentAction*>(pAction);
if ( pCommentAct->GetComment() == "EMF_PLUS" )
rGDIMetaFile.UseCanvas( sal_True );
}
if( pAction )
rGDIMetaFile.AddAction( pAction );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment