diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2015-02-14 19:52:19 +0100 |
---|---|---|
committer | Kohei Yoshida <libreoffice@kohei.us> | 2015-02-14 20:10:05 +0000 |
commit | 208f09646fbeec2940b61d5dd7cce7779ced6f9c (patch) | |
tree | b067aeaaee85d8cb25375bb5e098ecd29f6784b7 /embeddedobj | |
parent | 5fb88fddb856f53e0b187a3cf2ca98c9b83e874c (diff) |
tdf#88624 set DocumentBaseURL when saving report
regression from 1d38cb365543924f9c50014e6b2227e77de1d0c9
Change-Id: Ia8cfe47b9d92889b3724f394db5090a59e69dd48
Reviewed-on: https://gerrit.libreoffice.org/14494
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Diffstat (limited to 'embeddedobj')
-rw-r--r-- | embeddedobj/source/commonembedding/persistence.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx index e3f615df4e01..f24c18e7c90f 100644 --- a/embeddedobj/source/commonembedding/persistence.cxx +++ b/embeddedobj/source/commonembedding/persistence.cxx @@ -1630,7 +1630,10 @@ void SAL_CALL OCommonEmbeddedObject::storeOwn() aGuard.clear(); uno::Sequence<beans::PropertyValue> aEmpty; - StoreDocToStorage_Impl( m_xObjectStorage, aEmpty, aEmpty, nStorageFormat, m_aEntryName, true ); + uno::Sequence<beans::PropertyValue> aMediaArgs(1); + aMediaArgs[0].Name = "DocumentBaseURL"; + aMediaArgs[0].Value <<= GetBaseURL_Impl(); + StoreDocToStorage_Impl( m_xObjectStorage, aMediaArgs, aEmpty, nStorageFormat, m_aEntryName, true ); aGuard.reset(); } |