summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-09 15:40:30 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-09 15:40:30 +0100
commitf55079f4efa035ec556a421bd88db8aea2a0cdfb (patch)
tree3c19f2f84efd11bd6b8517f122b298ab843b5cb4
parent28a42c1b7273557971f3c17646810c09b585b4b1 (diff)
New loplugin:externvar: svx
Change-Id: Ia6d7c52389bbc957190bc59dadb62b1840befe73
-rw-r--r--svx/source/form/fmshell.cxx2
-rw-r--r--svx/source/form/fmundo.cxx2
-rw-r--r--svx/source/tbxctrls/extrusioncontrols.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/form/fmshell.cxx b/svx/source/form/fmshell.cxx
index 9aa99864a13e..46ded85224d6 100644
--- a/svx/source/form/fmshell.cxx
+++ b/svx/source/form/fmshell.cxx
@@ -92,7 +92,7 @@
// wird fuer Invalidate verwendet -> mitpflegen
// aufsteigend sortieren !!!!!!
-sal_uInt16 ControllerSlotMap[] = // slots des Controllers
+sal_uInt16 const ControllerSlotMap[] = // slots des Controllers
{
SID_FM_CONFIG,
SID_FM_PUSHBUTTON,
diff --git a/svx/source/form/fmundo.cxx b/svx/source/form/fmundo.cxx
index 448489b54a31..1a05c6910e3e 100644
--- a/svx/source/form/fmundo.cxx
+++ b/svx/source/form/fmundo.cxx
@@ -164,7 +164,7 @@ struct PropertySetInfo
typedef std::map<Reference< XPropertySet >, PropertySetInfo> PropertySetInfoCache;
-OUString static_STR_UNDO_PROPERTY;
+static OUString static_STR_UNDO_PROPERTY;
FmXUndoEnvironment::FmXUndoEnvironment(FmFormModel& _rModel)
diff --git a/svx/source/tbxctrls/extrusioncontrols.cxx b/svx/source/tbxctrls/extrusioncontrols.cxx
index 9bc40b2c2b35..1e96224cb085 100644
--- a/svx/source/tbxctrls/extrusioncontrols.cxx
+++ b/svx/source/tbxctrls/extrusioncontrols.cxx
@@ -314,8 +314,8 @@ double ExtrusionDepthDialog::getDepth() const
return (double)( m_pMtrDepth->GetValue( FUNIT_100TH_MM ) ) / 100.0;
}
-double aDepthListInch[] = { 0, 1270,2540,5080,10160 };
-double aDepthListMM[] = { 0, 1000, 2500, 5000, 10000 };
+double const aDepthListInch[] = { 0, 1270,2540,5080,10160 };
+double const aDepthListMM[] = { 0, 1000, 2500, 5000, 10000 };
ExtrusionDepthWindow::ExtrusionDepthWindow(
svt::ToolboxController& rController,