diff options
author | Noel <noelgrandin@gmail.com> | 2020-10-02 13:38:33 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-10-04 14:06:14 +0200 |
commit | 27f1827afa11ba9c5d912614dc84dd308ecf8b5f (patch) | |
tree | 1c1970f9f2d2eacc2c57ccd0fb1b7e8687652241 /ucb/source/ucp/webdav-neon | |
parent | 2a338d521618333a0630a31b46fd0fc9decbe0e5 (diff) |
loplugin:reducevarscope in toolkit..unotools
Change-Id: I439b9f456ac0bfaa3eb9bf17472053bd4787e828
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103840
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'ucb/source/ucp/webdav-neon')
-rw-r--r-- | ucb/source/ucp/webdav-neon/webdavcontent.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx index fd78627c146f..a874390ceb33 100644 --- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx +++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx @@ -3921,12 +3921,12 @@ void Content::getResourceOptions( const std::unique_ptr< DAVResourceAccess > & rResAccess, bool * networkAccessAllowed ) { - OUString aRedirURL; OUString aTargetURL = rResAccess->getURL(); DAVOptions aDAVOptions; // first check if in cache, if not, then send method to server if ( !aStaticDAVOptionsCache.getDAVOptions( aTargetURL, aDAVOptions ) ) { + OUString aRedirURL; try { rResAccess->OPTIONS( aDAVOptions, xEnv ); |