[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - embeddedobj/source
Lionel Elie Mamane
lionel at mamane.lu
Sat Feb 14 12:11:04 PST 2015
embeddedobj/source/commonembedding/persistence.cxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 4ea953b468995675f2bcac02e1d512228aa7bb6e
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date: Sat Feb 14 19:52:19 2015 +0100
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 at kohei.us>
Tested-by: Kohei Yoshida <libreoffice at kohei.us>
diff --git a/embeddedobj/source/commonembedding/persistence.cxx b/embeddedobj/source/commonembedding/persistence.cxx
index c85e786..2f8fc70 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();
}
More information about the Libreoffice-commits
mailing list