summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-06-22 12:17:39 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-06-22 12:17:39 +0200
commit8dc2873081bff3fe7107d472a91a24af8b67a87d (patch)
tree75636f5cfc719356e2e2bf1d8e0285df976328ef
parent1ad4575723a91883b8c179e247fd06d822ca7f84 (diff)
desktop: fix loplugin:oncevar
Change-Id: I51b5d199c79c644906df355c8fbd33e5c98e7d89
-rw-r--r--desktop/source/lib/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
index ab765dce3538..0d0cdf2aa55f 100644
--- a/desktop/source/lib/init.cxx
+++ b/desktop/source/lib/init.cxx
@@ -2007,7 +2007,7 @@ static void lo_setDocumentPassword(LibreOfficeKit* pThis,
static char* lo_getVersionInfo(LibreOfficeKit* /*pThis*/)
{
- const OUString sVersionStrTemplate(
+ static const OUString sVersionStrTemplate(
"{ "
"\"ProductName\": \"%PRODUCTNAME\", "
"\"ProductVersion\": \"%PRODUCTVERSION\", "