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

Kohei Yoshida kohei.yoshida at collabora.com
Thu Jul 17 15:30:16 PDT 2014


 sc/source/filter/xcl97/XclExpChangeTrack.cxx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 380855c3588092dc6d7472afb265c2457b163d10
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Thu Jul 17 17:32:12 2014 -0400

    Let's use this macro since it's there.
    
    Change-Id: I9b1736bea65a582fb5214521472028835aec28ee

diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
index 2cd80cc..3aa2a74 100644
--- a/sc/source/filter/xcl97/XclExpChangeTrack.cxx
+++ b/sc/source/filter/xcl97/XclExpChangeTrack.cxx
@@ -403,7 +403,7 @@ void XclExpChTrInfo::SaveXml( XclExpXmlStream& rRevisionHeadersStrm )
             XclXmlUtils::GetStreamName( NULL, "revisionLog", mnLogNumber ),
             rRevisionHeadersStrm.GetCurrentStream()->getOutputStream(),
             "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml",
-            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/revisionLog",
+            CREATE_OFFICEDOC_RELATION_TYPE("revisionLog"),
             &sRelationshipId );
 
     rRevisionHeadersStrm.WriteAttributes(
@@ -1579,7 +1579,7 @@ static void lcl_WriteUserNamesXml( XclExpXmlStream& rWorkbookStrm )
             OUString( "revisions/userNames.xml" ),
             rWorkbookStrm.GetCurrentStream()->getOutputStream(),
             "application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml",
-            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/usernames" );
+            CREATE_OFFICEDOC_RELATION_TYPE("usernames"));
     pUserNames->startElement( XML_users,
             XML_xmlns,                  "http://schemas.openxmlformats.org/spreadsheetml/2006/main",
             FSNS( XML_xmlns, XML_r ),   "http://schemas.openxmlformats.org/officeDocument/2006/relationships",
@@ -1603,7 +1603,7 @@ void XclExpChangeTrack::WriteXml( XclExpXmlStream& rWorkbookStrm )
             OUString( "revisions/revisionHeaders.xml" ),
             rWorkbookStrm.GetCurrentStream()->getOutputStream(),
             "application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml",
-            "http://schemas.openxmlformats.org/officeDocument/2006/relationships/revisionHeaders" );
+            CREATE_OFFICEDOC_RELATION_TYPE("revisionHeaders"));
     // OOXTODO: XML_userinfo elements for each user editing the file
     //          Doesn't seem to be supported by .xls output either (based on
     //          contents of XclExpChangeTrack::WriteUserNamesStream()).


More information about the Libreoffice-commits mailing list