diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-07-17 17:32:12 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-07-17 18:29:55 -0400 |
commit | 380855c3588092dc6d7472afb265c2457b163d10 (patch) | |
tree | 81cf20b30fb015f6e5279e113795c06656ae9e21 /sc | |
parent | fffc9b2f262a54a163ff43ceb769c95fa41344ff (diff) |
Let's use this macro since it's there.
Change-Id: I9b1736bea65a582fb5214521472028835aec28ee
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xcl97/XclExpChangeTrack.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/filter/xcl97/XclExpChangeTrack.cxx b/sc/source/filter/xcl97/XclExpChangeTrack.cxx index 2cd80cce9a23..3aa2a748acdc 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()). |