summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2015-02-14 19:52:19 +0100
committerAndras Timar <andras.timar@collabora.com>2015-02-23 10:35:06 +0100
commit5877dd181bc82ac57ba40244234712bd9548d772 (patch)
tree7a5991a2a9d9c0764ee8f5f5e752302acdd9f021
parent63f478b98abddf0876564a00c13eaccc40e218fa (diff)
tdf#88624 set DocumentBaseURL when saving report
regression from 1d38cb365543924f9c50014e6b2227e77de1d0c9 Change-Id: Ia8cfe47b9d92889b3724f394db5090a59e69dd48 Reviewed-on: https://gerrit.libreoffice.org/14495 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us> (cherry picked from commit 4ea953b468995675f2bcac02e1d512228aa7bb6e)
-rw-r--r--embeddedobj/source/commonembedding/persistence.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx
index c85e7863e2e6..2f8fc705d163 100644
--- a/embeddedobj/source/commonembedding/persistence.cxx
+++ b/embeddedobj/source/commonembedding/persistence.cxx
@@ -1629,7 +1629,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();
}