summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-12-06 11:37:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-12-07 07:38:24 +0100
commit38187ec15b6cbaedcadcbd8f3bcb632a5c6be88f (patch)
treeac3de03a8c2944371ce43443750f6eeb8d318046 /extensions
parent60714a814847f6d10f00aa6809a3896a48741e0b (diff)
loplugin:singlevalfields extend to all static vars
Change-Id: Ic238bb5291539fd1b7e98cb4afc9b25f37e7d528 Reviewed-on: https://gerrit.libreoffice.org/64710 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/bibliography/bibmod.cxx2
-rw-r--r--extensions/source/bibliography/bibprop.hxx20
2 files changed, 11 insertions, 11 deletions
diff --git a/extensions/source/bibliography/bibmod.cxx b/extensions/source/bibliography/bibmod.cxx
index 661a10f9f5e9..71515a03fe53 100644
--- a/extensions/source/bibliography/bibmod.cxx
+++ b/extensions/source/bibliography/bibmod.cxx
@@ -96,7 +96,7 @@ BibConfig* BibModul::GetConfig()
// PropertyNames
-#define STATIC_USTRING(a,b) OUString a(b)
+#define STATIC_USTRING(a,b) const OUString a(b)
STATIC_USTRING(FM_PROP_LABEL,"Label");
STATIC_USTRING(FM_PROP_CONTROLSOURCE,"DataField");
STATIC_USTRING(FM_PROP_NAME,"Name");
diff --git a/extensions/source/bibliography/bibprop.hxx b/extensions/source/bibliography/bibprop.hxx
index 2df398419f78..57e5687ffdb3 100644
--- a/extensions/source/bibliography/bibprop.hxx
+++ b/extensions/source/bibliography/bibprop.hxx
@@ -19,16 +19,16 @@
#ifndef INCLUDED_EXTENSIONS_SOURCE_BIBLIOGRAPHY_BIBPROP_HXX
#define INCLUDED_EXTENSIONS_SOURCE_BIBLIOGRAPHY_BIBPROP_HXX
-extern OUString FM_PROP_LABEL;
-extern OUString FM_PROP_NAME;
-extern OUString FM_PROP_CONTROLSOURCE;
-extern OUString FM_PROP_FORMATKEY;
-extern OUString FM_PROP_VALUE;
-extern OUString FM_PROP_EDITMODE;
-extern OUString FM_PROP_DATASOURCE;
-extern OUString FM_PROP_CURSORSOURCE;
-extern OUString FM_PROP_CURSORSOURCETYPE;
-extern OUString FM_PROP_TEXT;
+extern const OUString FM_PROP_LABEL;
+extern const OUString FM_PROP_NAME;
+extern const OUString FM_PROP_CONTROLSOURCE;
+extern const OUString FM_PROP_FORMATKEY;
+extern const OUString FM_PROP_VALUE;
+extern const OUString FM_PROP_EDITMODE;
+extern const OUString FM_PROP_DATASOURCE;
+extern const OUString FM_PROP_CURSORSOURCE;
+extern const OUString FM_PROP_CURSORSOURCETYPE;
+extern const OUString FM_PROP_TEXT;
#endif