From 023ebf17898db4bca63129f079fd90b5cf76c1a9 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 14 Dec 2021 16:44:14 +0100 Subject: ucb: remove --with-webdav=neon Remove code in ucb/source/ucp/webdav-neon, and now unused external neon. The --with-webdav=no option is retained for now. Change-Id: I4ce429587e3991fa82009da2f8e4a068abe36435 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126839 Tested-by: Jenkins Reviewed-by: Michael Stahl --- compilerplugins/clang/stringstatic.cxx | 3 --- compilerplugins/clang/toolslong.cxx | 3 +-- compilerplugins/clang/unusedvariableplus.cxx | 3 --- 3 files changed, 1 insertion(+), 8 deletions(-) (limited to 'compilerplugins') diff --git a/compilerplugins/clang/stringstatic.cxx b/compilerplugins/clang/stringstatic.cxx index 364bc566aa97..a6b5b7d2e8fe 100644 --- a/compilerplugins/clang/stringstatic.cxx +++ b/compilerplugins/clang/stringstatic.cxx @@ -58,9 +58,6 @@ bool StringStatic::preRun() // passing around pointers to global OUString if (loplugin::hasPathnamePrefix(fn, SRCDIR "/filter/source/svg/")) return false; - // has a mix of literals and refs to external OUStrings - if (loplugin::isSamePathname(fn, SRCDIR "/ucb/source/ucp/webdav-neon/ContentProperties.cxx")) - return false; return true; } diff --git a/compilerplugins/clang/toolslong.cxx b/compilerplugins/clang/toolslong.cxx index 9a762c99af76..38beb8ed19b0 100644 --- a/compilerplugins/clang/toolslong.cxx +++ b/compilerplugins/clang/toolslong.cxx @@ -156,8 +156,7 @@ void ToolsLong::run() || loplugin::isSamePathname(fn, SRCDIR "/shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx") || loplugin::isSamePathname(fn, SRCDIR "/shell/source/win32/zipfile/zipfile.cxx") - || loplugin::isSamePathname(fn, SRCDIR "/ucb/source/ucp/webdav-curl/CurlSession.cxx") - || loplugin::isSamePathname(fn, SRCDIR "/ucb/source/ucp/webdav-neon/NeonSession.cxx")) + || loplugin::isSamePathname(fn, SRCDIR "/ucb/source/ucp/webdav-curl/CurlSession.cxx")) return; // these are places where the external API is actually "long" if (loplugin::isSamePathname(fn, SRCDIR "/vcl/source/filter/jpeg/JpegReader.cxx")) diff --git a/compilerplugins/clang/unusedvariableplus.cxx b/compilerplugins/clang/unusedvariableplus.cxx index b5c92082c400..845a4eedb2a7 100644 --- a/compilerplugins/clang/unusedvariableplus.cxx +++ b/compilerplugins/clang/unusedvariableplus.cxx @@ -435,9 +435,6 @@ public: "VersionCompatRead", "VersionCompatWrite", "SlideShowImpl::WaitSymbolLock", - "webdav_ucp::NeonHeadRequest", - "webdav_ucp::NeonPropFindRequest", - "webdav_ucp::NeonUri", "weld::WaitObject", "writerfilter::ooxml::(anonymous namespace)::StatusIndicatorGuard", "WriterSpecificAutoFormatBlock", -- cgit