summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-17 09:31:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-17 12:07:46 +0200
commitef5b895afe63eae029363ddb5d7960d7e34e5e35 (patch)
tree872cd53623c1c29b6b9ae5080ee92d8c4d50a307 /extensions
parent48b41d73cb62dc89fc0594ccfd6fa664a460d142 (diff)
loplugin:staticvar in editeng..framework
Change-Id: I8e555a98f74f61e6e40122564b7ad19ca07a8a91 Reviewed-on: https://gerrit.libreoffice.org/61866 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/propctrlr/defaultforminspection.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/propctrlr/defaultforminspection.cxx b/extensions/source/propctrlr/defaultforminspection.cxx
index 999798518417..42d166e86545 100644
--- a/extensions/source/propctrlr/defaultforminspection.cxx
+++ b/extensions/source/propctrlr/defaultforminspection.cxx
@@ -102,11 +102,11 @@ namespace pcr
::osl::MutexGuard aGuard( m_aMutex );
// service names for all our handlers
- struct
+ static struct
{
const sal_Char* serviceName;
bool isFormOnly;
- } aFactories[] = {
+ } const aFactories[] = {
// a generic handler for form component properties (must precede the ButtonNavigationHandler)
{ "com.sun.star.form.inspection.FormComponentPropertyHandler", false },
@@ -156,12 +156,12 @@ namespace pcr
{
::osl::MutexGuard aGuard( m_aMutex );
- struct
+ static struct
{
const sal_Char* programmaticName;
const char* uiNameResId;
const sal_Char* helpId;
- } aCategories[] = {
+ } const aCategories[] = {
{ "General", RID_STR_PROPPAGE_DEFAULT, HID_FM_PROPDLG_TAB_GENERAL },
{ "Data", RID_STR_PROPPAGE_DATA, HID_FM_PROPDLG_TAB_DATA },
{ "Events", RID_STR_EVENTS, HID_FM_PROPDLG_TAB_EVT }