diff options
-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 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(); } |