[Libreoffice-commits] core.git: external/libcmis
Andreas Brandner
Andreas.Brandner at cib.de
Sat Feb 24 12:57:38 UTC 2018
external/libcmis/libcmis-fix-error-handling.patch | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
New commits:
commit 974ef69c73a4e62b7513effa5c5b8d46ec0a1c80
Author: Andreas Brandner <Andreas.Brandner at cib.de>
Date: Fri Feb 23 12:25:57 2018 +0100
tdf#115968: make libcmis work better with CIB doxima
Change-Id: I1758bcee9a191937ed265dc26212f259a59fffef
Reviewed-on: https://gerrit.libreoffice.org/50231
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/external/libcmis/libcmis-fix-error-handling.patch b/external/libcmis/libcmis-fix-error-handling.patch
index 09df7ac9ebe5..d0f1ae29cebc 100644
--- a/external/libcmis/libcmis-fix-error-handling.patch
+++ b/external/libcmis/libcmis-fix-error-handling.patch
@@ -17,4 +17,16 @@ diff -ur cmis.org/src/libcmis/xml-utils.cxx cmis/src/libcmis/xml-utils.cxx
string timeStr = dateTimeStr.substr( teePos + 1 );
// Get the TZ if any
-
+@@ -459,10 +459,9 @@
+ bool value = false;
+ if ( boolStr == "true" || boolStr == "1" )
+ value = true;
+- else if ( boolStr == "false" || boolStr == "0" )
+- value = false;
+ else
+- throw Exception( string( "Invalid xsd:boolean input: " ) + boolStr );
++ // treat everthing else, including absence of property, as 'false', not as an error
++ value = false;
+ return value;
+ }
+
More information about the Libreoffice-commits
mailing list