Kaydet (Commit) 406004d3 authored tarafından Tomaž Vajngerl's avatar Tomaž Vajngerl Kaydeden (comit) Tomaž Vajngerl

pass originURL to the substitue graphic - work-around

We need to pretend that the substitue graphic has a originURL of
the original for now. Once Graphic will handle all the swapping
and substitution this won't be necessary anymore.

Change-Id: I9590b741c94d06d1b484273cc4ba5517951b77ec
Reviewed-on: https://gerrit.libreoffice.org/49647Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
üst 075e2d8b
......@@ -305,7 +305,9 @@ void GraphicCacheEntry::AddGraphicObjectReference( const GraphicObject& rObj, Gr
if( mbSwappedAll )
mbSwappedAll = !ImplInit( rObj );
OUString rOriginURL = rObj.GetGraphic().getOriginURL();
ImplFillSubstitute( rSubstitute );
rSubstitute.setOriginURL(rOriginURL);
maGraphicObjectList.push_back( const_cast<GraphicObject*>(&rObj) );
}
......
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