Kaydet (Commit) 974ef69c authored tarafından Andreas Brandner's avatar Andreas Brandner Kaydeden (comit) Thorsten Behrens

tdf#115968: make libcmis work better with CIB doxima

Change-Id: I1758bcee9a191937ed265dc26212f259a59fffef
Reviewed-on: https://gerrit.libreoffice.org/50231Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarThorsten Behrens <Thorsten.Behrens@CIB.de>
üst c64f2d34
...@@ -17,4 +17,16 @@ diff -ur cmis.org/src/libcmis/xml-utils.cxx cmis/src/libcmis/xml-utils.cxx ...@@ -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 ); string timeStr = dateTimeStr.substr( teePos + 1 );
// Get the TZ if any // 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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment