ucb: webdav-curl: experiment
Change-Id: I85e5253c7df0980f373d2dea788c331b81ed4a82
diff --git a/ucb/source/ucp/webdav-curl/DAVTypes.cxx b/ucb/source/ucp/webdav-curl/DAVTypes.cxx
index d5b255c..e41c542 100644
--- a/ucb/source/ucp/webdav-curl/DAVTypes.cxx
+++ b/ucb/source/ucp/webdav-curl/DAVTypes.cxx
@@ -168,7 +168,10 @@
// tdf#153642 keep cached Class1 bit at aDAVOptionsException to avoid of
// losing the ability to resave the document within the lifetime because
// of disabled DAV detection in getResourceType()
- rDAVOptions.setClass1( (*it).second.isClass1() );
+ if ((*it).second.isClass1())
+ {
+ rDAVOptions.setClass1( (*it).second.isClass1() );
+ }
}
// not in cache, add it
TimeValue t1;