summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2015-02-14 19:52:19 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2015-02-14 19:54:56 +0100
commit5b81128f77426b7105530a99b1eba2c580a8fa37 (patch)
tree747df4a556ca52fca0c7d48b881e437f4ed458d3
parent00729f0f95ae06d063620f7b6211c2d803571c47 (diff)
tdf#88624 set DocumentBaseURL when saving report
regression from 1d38cb365543924f9c50014e6b2227e77de1d0c9 Change-Id: Ia8cfe47b9d92889b3724f394db5090a59e69dd48
-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 8367d94273bf..9ac7dd2d2242 100644
--- a/embeddedobj/source/commonembedding/persistence.cxx
+++ b/embeddedobj/source/commonembedding/persistence.cxx
@@ -1628,7 +1628,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();
}