summaryrefslogtreecommitdiff
path: root/ucb/source/ucp/webdav-neon
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-07-02 09:33:58 +0200
committerStephan Bergmann <sbergman@redhat.com>2020-07-02 13:45:13 +0200
commitbbb35541d8e0a2b041ed05ccb23307afa5371211 (patch)
tree56eb828b4be040879542614cba71ebef26faab80 /ucb/source/ucp/webdav-neon
parentfdab50022519d8d794a00a3693e66bd8f3fad303 (diff)
Upcoming improved loplugin:staticanonymous -> redundantstatic: ucb
Change-Id: Id9301e65bea34c0edd9aadab85b848117e05075e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97710 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'ucb/source/ucp/webdav-neon')
-rw-r--r--ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx2
-rw-r--r--ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx26
2 files changed, 14 insertions, 14 deletions
diff --git a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
index f0576e049aad..436f26dd93cf 100644
--- a/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
+++ b/ucb/source/ucp/webdav-neon/DAVResourceAccess.cxx
@@ -44,7 +44,7 @@ using namespace com::sun::star;
// DAVAuthListener_Impl Implementation.
-static constexpr sal_uInt32 g_nRedirectLimit = 5;
+constexpr sal_uInt32 g_nRedirectLimit = 5;
// virtual
int DAVAuthListener_Impl::authenticate(
diff --git a/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx b/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx
index 6a06f0dcb9ba..497c700ec04a 100644
--- a/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx
+++ b/ucb/source/ucp/webdav-neon/UCBDeadPropertyValue.cxx
@@ -49,19 +49,19 @@ struct UCBDeadPropertyValueParseContext
}
-static const char aTypeString[] = "string";
-static const char aTypeLong[] = "long";
-static const char aTypeShort[] = "short";
-static const char aTypeBoolean[] = "boolean";
-static const char aTypeChar[] = "char";
-static const char aTypeByte[] = "byte";
-static const char aTypeHyper[] = "hyper";
-static const char aTypeFloat[] = "float";
-static const char aTypeDouble[] = "double";
-
-static const char aXMLPre[] = "<ucbprop><type>";
-static const char aXMLMid[] = "</type><value>";
-static const char aXMLEnd[] = "</value></ucbprop>";
+const char aTypeString[] = "string";
+const char aTypeLong[] = "long";
+const char aTypeShort[] = "short";
+const char aTypeBoolean[] = "boolean";
+const char aTypeChar[] = "char";
+const char aTypeByte[] = "byte";
+const char aTypeHyper[] = "hyper";
+const char aTypeFloat[] = "float";
+const char aTypeDouble[] = "double";
+
+const char aXMLPre[] = "<ucbprop><type>";
+const char aXMLMid[] = "</type><value>";
+const char aXMLEnd[] = "</value></ucbprop>";
#define STATE_TOP (1)