diff options
author | Armin Le Grand <alg@apache.org> | 2014-01-17 01:37:00 +0000 |
---|---|---|
committer | Armin Le Grand <alg@apache.org> | 2014-01-17 01:37:00 +0000 |
commit | bc89d402b3df00c2402ac86896eb2ce4c3f7b7d0 (patch) | |
tree | 07d42d3f6d7f522a9a4e131e665f61b72b36283a /sfx2 | |
parent | 91eb528b63cdee73afc2dc4a48d5dca1b96dedd5 (diff) |
i123042 corrected reload of linked content to have access to it's own path
Notes
Notes:
merged as: 87432aeecdfa7194bb5050f912656e03294cf6c7
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/fileobj.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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 { |