summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2023-04-18 14:25:37 +0200
committerThorsten Behrens <thorsten.behrens@allotropia.de>2023-04-18 14:32:03 +0200
commit64c51acbb7ba13266b86b0166c8542e4e0318853 (patch)
tree96bbec1bd8943d6ebbe5c10b6e3f776355cae3ac
parent36034a942ad90e9bde04b5d4172e5541bbc58563 (diff)
ucb: webdav-curl: experiment feature/allo_contract34185
Change-Id: I85e5253c7df0980f373d2dea788c331b81ed4a82
-rw-r--r--ucb/source/ucp/webdav-curl/DAVTypes.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav-curl/DAVTypes.cxx b/ucb/source/ucp/webdav-curl/DAVTypes.cxx
index d5b255c175cd..e41c5426e959 100644
--- a/ucb/source/ucp/webdav-curl/DAVTypes.cxx
+++ b/ucb/source/ucp/webdav-curl/DAVTypes.cxx
@@ -168,7 +168,10 @@ void DAVOptionsCache::addDAVOptions( DAVOptions & rDAVOptions, const sal_uInt32
// 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;