summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-06-23 09:42:42 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-06-23 09:44:19 +0200
commitbb19a820e8ceec28bcb346b32f4288babc442720 (patch)
treec8934b48f5508b9a9b14a7a5782096737822e01c /desktop
parentGSoC tdf#87697 START CENTER: Indicate selected thumbnailview (diff)
downloadcore-bb19a820e8ceec28bcb346b32f4288babc442720.tar.gz
core-bb19a820e8ceec28bcb346b32f4288babc442720.zip
Revert "desktop: fix loplugin:oncevar"
This reverts commit 8dc2873081bff3fe7107d472a91a24af8b67a87d. Instead of working around the warning, the plugin will be disabled, as its warnings are not useful in all cases.
Diffstat (limited to 'desktop')
-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 0d0cdf2aa55f..ab765dce3538 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*/)
{
- static const OUString sVersionStrTemplate(
+ const OUString sVersionStrTemplate(
"{ "
"\"ProductName\": \"%PRODUCTNAME\", "
"\"ProductVersion\": \"%PRODUCTVERSION\", "