Hi,
I have submitted a patch for review:
https://gerrit.libreoffice.org/4241
To pull it, you can do:
git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/41/4241/1
Fixed libcmis handling of related multipart content types
Change-Id: I8468286be1affc635838b5329d2df72b53f5c9de
(cherry picked from commit 6b10219eefc0d6bd0e871976d6fe781a26020c8b)
(cherry picked from commit 6ed3ef87d2472bad71b719e9ec927e72acfd2850)
---
M libcmis/libcmis-0.3.0.patch
1 file changed, 14 insertions(+), 0 deletions(-)
diff --git a/libcmis/libcmis-0.3.0.patch b/libcmis/libcmis-0.3.0.patch
index 37644c8..772c828 100644
--- a/libcmis/libcmis-0.3.0.patch
+++ b/libcmis/libcmis-0.3.0.patch
@@ -33,3 +33,17 @@
contentLength = it->second->getLongs( ).front( );
return contentLength;
}
+diff --git src/libcmis/ws-relatedmultipart.cxx src/libcmis/ws-relatedmultipart.cxx
+index ef91b4d..3a990e7 100644
+--- src/libcmis/ws-relatedmultipart.cxx
++++ src/libcmis/ws-relatedmultipart.cxx
+@@ -93,6 +93,8 @@ RelatedMultipart::RelatedMultipart( const string& body, const string& contentTyp
+ if ( value[0] == '"' && value[value.length() - 1] == '"' )
+ value = value.substr( 1, value.length( ) - 2 );
+
++ name = libcmis::trim( name );
++
+ if ( name == "start" )
+ {
+ m_startId = value;
+--
--
To view, visit https://gerrit.libreoffice.org/4241
To unsubscribe, visit https://gerrit.libreoffice.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8468286be1affc635838b5329d2df72b53f5c9de
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
Context
- [PATCH libreoffice-4-0] Fixed libcmis handling of related multipart content types · Bosdonnat Cedric (via Code Review)
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.