summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav-curl/DAVTypes.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'ucb/source/ucp/webdav-curl/DAVTypes.cxx')
-rw-r--r--ucb/source/ucp/webdav-curl/DAVTypes.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/ucb/source/ucp/webdav-curl/DAVTypes.cxx b/ucb/source/ucp/webdav-curl/DAVTypes.cxx
index 015c3520bf73..1bdd4f6ff5bd 100644
--- a/ucb/source/ucp/webdav-curl/DAVTypes.cxx
+++ b/ucb/source/ucp/webdav-curl/DAVTypes.cxx
@@ -164,6 +164,11 @@ void DAVOptionsCache::addDAVOptions( DAVOptions & rDAVOptions, const sal_uInt32
{ // already in cache, check LifeTime
if ( (*it).second.getRequestedTimeLife() == nLifeTime )
return; // same lifetime, do nothing
+
+ // 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() );
}
// not in cache, add it
TimeValue t1;