diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:40:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-09 15:40:18 +0100 |
commit | d5595090eb335e574e901c805c4c1e2265ed75d2 (patch) | |
tree | 45b371ea5728bb2bb682d8de6e419aceac0cceb2 /ucb | |
parent | f2e743010dec14e358e3b138a35b0cb6f758bb6b (diff) |
New loplugin:externvar: ucb
Change-Id: Idfab6f0d16b85ca280056db88264e5234361bce0
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonHeadRequest.cxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx | 3 | ||||
-rw-r--r-- | ucb/source/ucp/webdav-neon/NeonSession.hxx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/ucb/source/ucp/webdav-neon/NeonHeadRequest.cxx b/ucb/source/ucp/webdav-neon/NeonHeadRequest.cxx index c74f6dff4fc4..5e7945dcae58 100644 --- a/ucb/source/ucp/webdav-neon/NeonHeadRequest.cxx +++ b/ucb/source/ucp/webdav-neon/NeonHeadRequest.cxx @@ -31,6 +31,7 @@ #include <com/sun/star/beans/PropertyValue.hpp> #include <com/sun/star/beans/PropertyState.hpp> #include "NeonHeadRequest.hxx" +#include "NeonSession.hxx" using namespace webdav_ucp; using namespace com::sun::star; @@ -113,8 +114,6 @@ void process_headers( ne_request * req, } // namespace -extern osl::Mutex aGlobalNeonMutex; - NeonHeadRequest::NeonHeadRequest( HttpSession * inSession, const OUString & inPath, const std::vector< OUString > & diff --git a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx index ca73cd21d809..d8a4b2f083ee 100644 --- a/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx +++ b/ucb/source/ucp/webdav-neon/NeonPropFindRequest.cxx @@ -30,6 +30,7 @@ #include "osl/diagnose.h" #include <osl/mutex.hxx> #include "rtl/strbuf.hxx" +#include "NeonSession.hxx" #include "NeonTypes.hxx" #include "DAVException.hxx" #include "DAVProperties.hxx" @@ -236,8 +237,6 @@ extern "C" void NPFR_propnames_results( void* userdata, theResources->push_back( theResource ); } -extern osl::Mutex aGlobalNeonMutex; - NeonPropFindRequest::NeonPropFindRequest( HttpSession* inSession, const char* inPath, const Depth inDepth, diff --git a/ucb/source/ucp/webdav-neon/NeonSession.hxx b/ucb/source/ucp/webdav-neon/NeonSession.hxx index 25d23c18e613..cece65dcb6f1 100644 --- a/ucb/source/ucp/webdav-neon/NeonSession.hxx +++ b/ucb/source/ucp/webdav-neon/NeonSession.hxx @@ -293,6 +293,8 @@ private: } // namespace webdav_ucp +extern osl::Mutex aGlobalNeonMutex; + #endif // INCLUDED_UCB_SOURCE_UCP_WEBDAV_NEON_NEONSESSION_HXX /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |