diff options
author | erack <er@openoffice.org> | 2011-09-10 22:44:45 +0000 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2011-11-23 23:34:57 +0100 |
commit | ac0a752acdb8ce769f0830776209342f2ed3a68c (patch) | |
tree | 82595881b0daac9b8b1f5cab607704edb65c5797 /sc | |
parent | 6ad3c553a9bd3b8fb91c45204f0c833f52c52431 (diff) |
impress212: export images with relative links
# User Daniel Rentz [dr] <daniel.rentz@oracle.com>
* found as LGPLv3-only fix at svn rev 1167625 (http://svn.apache.org/viewvc?view=revision&revision=1167625)
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xcl97/xcl97esc.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/filter/xcl97/xcl97esc.cxx b/sc/source/filter/xcl97/xcl97esc.cxx index cf60b12f1cc4..91020254a42c 100644 --- a/sc/source/filter/xcl97/xcl97esc.cxx +++ b/sc/source/filter/xcl97/xcl97esc.cxx @@ -46,6 +46,7 @@ #include <unotools/tempfile.hxx> #include <unotools/ucbstreamhelper.hxx> #include <svx/sdasitm.hxx> +#include <sfx2/docfile.hxx> #include <sot/exchange.hxx> #include "xeescher.hxx" @@ -81,6 +82,7 @@ using ::com::sun::star::script::XEventAttacherManager; XclEscherExGlobal::XclEscherExGlobal( const XclExpRoot& rRoot ) : XclExpRoot( rRoot ) { + SetBaseURI( GetMedium().GetBaseURL( true ) ); } SvStream* XclEscherExGlobal::ImplQueryPictureStream() |