[Libreoffice-commits] core.git: extensions/source

Miklos Vajna vmiklos at collabora.co.uk
Fri Jun 5 07:42:57 PDT 2015


 extensions/source/abpilot/datasourcehandling.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 621ab8571ee99b0d425cfb88892898884edb2eec
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Fri Jun 5 16:25:40 2015 +0200

    abpilot: fix relative reference of embedded data source
    
    With this, not only the MM wizard, but the address book data source
    wizard can create relative references correctly.
    
    Change-Id: Id7357dbcc4503ca69595992ee7ebd6b1234d386a

diff --git a/extensions/source/abpilot/datasourcehandling.cxx b/extensions/source/abpilot/datasourcehandling.cxx
index 0115775..f74c530 100644
--- a/extensions/source/abpilot/datasourcehandling.cxx
+++ b/extensions/source/abpilot/datasourcehandling.cxx
@@ -402,7 +402,8 @@ namespace abp
                     uno::Sequence<beans::PropertyValue> aSequence = comphelper::InitPropertySequence(
                     {
                         {"TargetStorage", uno::makeAny(xStorage)},
-                        {"StreamRelPath", uno::makeAny(aStreamRelPath)}
+                        {"StreamRelPath", uno::makeAny(aStreamRelPath)},
+                        {"BaseURI", uno::makeAny(aOwnURL)}
                     });
                     xStorable->storeAsURL(sTmpName, aSequence);
                     m_pImpl->sName = sTmpName;


More information about the Libreoffice-commits mailing list