diff options
author | Christian Barth <Christian.Barth@zoho.com> | 2017-08-11 19:15:02 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2017-08-12 08:07:36 +0200 |
commit | c8696bd396e013b07944930d4267bfc9da827d5a (patch) | |
tree | ebd0f753af16df569bdbad7fc7fef58bec8d96ec /sw | |
parent | 595cfbc432b8d4bef5d1a078beb389c3b49535cd (diff) |
tdf#107197: Replace relationship URI
Replaced URIs in sw/source/filter
Change-Id: If73c30e9d590742568a3009a6d593f1b3249a5a4
Signed-off-by: Christian Barth <Christian.Barth@zoho.com>
Reviewed-on: https://gerrit.libreoffice.org/41055
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/docxexport.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx index b5c5e0bba337..87de4e11b242 100644 --- a/sw/source/filter/ww8/docxexport.cxx +++ b/sw/source/filter/ww8/docxexport.cxx @@ -1294,7 +1294,7 @@ void DocxExport::WriteVBA() pOut->WriteStream(*pIn); // Write the relationship. - m_pFilter->addRelation(m_pDocumentFS->getOutputStream(), "http://schemas.microsoft.com/office/2006/relationships/vbaProject", "vbaProject.bin"); + m_pFilter->addRelation(m_pDocumentFS->getOutputStream(), oox::getRelationship(Relationship::VBAPROJECT), "vbaProject.bin"); } OUString aDataName("_MS_VBA_Macros_XML"); @@ -1320,7 +1320,7 @@ void DocxExport::WriteVBA() if (!xProjectStream.is()) return; - m_pFilter->addRelation(xProjectStream, "http://schemas.microsoft.com/office/2006/relationships/wordVbaData", "vbaData.xml"); + m_pFilter->addRelation(xProjectStream, oox::getRelationship(Relationship::WORDVBADATA), "vbaData.xml"); } } |