[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - libcmis/libcmis-0.3.0.patch
Cédric Bosdonnat
cedric.bosdonnat at free.fr
Thu Jun 13 06:40:28 PDT 2013
libcmis/libcmis-0.3.0.patch | 14 ++++++++++++++
1 file changed, 14 insertions(+)
New commits:
commit 18723cb22bce2e8208ff44b0100991dfac9f455d
Author: Cédric Bosdonnat <cedric.bosdonnat at free.fr>
Date: Thu Jun 13 14:45:48 2013 +0200
Fixed libcmis handling of related multipart content types
Change-Id: I8468286be1affc635838b5329d2df72b53f5c9de
(cherry picked from commit 6b10219eefc0d6bd0e871976d6fe781a26020c8b)
(cherry picked from commit 6ed3ef87d2472bad71b719e9ec927e72acfd2850)
Reviewed-on: https://gerrit.libreoffice.org/4241
Reviewed-by: David Tardon <dtardon at redhat.com>
Tested-by: David Tardon <dtardon at redhat.com>
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 @@ index 7c2a8e6..e7014cb 100644
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;
+--
More information about the Libreoffice-commits
mailing list