From bc89d402b3df00c2402ac86896eb2ce4c3f7b7d0 Mon Sep 17 00:00:00 2001 From: Armin Le Grand Date: Fri, 17 Jan 2014 01:37:00 +0000 Subject: i123042 corrected reload of linked content to have access to it's own path --- sfx2/source/appl/fileobj.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sfx2') diff --git a/sfx2/source/appl/fileobj.cxx b/sfx2/source/appl/fileobj.cxx index 07db70ab60b9..7a1575bee814 100644 --- a/sfx2/source/appl/fileobj.cxx +++ b/sfx2/source/appl/fileobj.cxx @@ -349,7 +349,9 @@ sal_Bool SvFileObject::GetGraphic_Impl( Graphic& rGrf, SvStream* pStream ) else if( !pDownLoadData ) { pStream->Seek( STREAM_SEEK_TO_BEGIN ); - nRes = pGF->ImportGraphic( rGrf, aEmptyStr, *pStream, nFilter ); + + // #123042# for e.g. SVG the path is needed, see same TaskID in svx for more info + nRes = pGF->ImportGraphic( rGrf, sFileNm, *pStream, nFilter ); } else { -- cgit