summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-10-19 13:04:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-10-22 07:55:32 +0200
commit7ea01578eed8459678369d0256de016930b3af40 (patch)
tree2b7f8c57f4693284ad7aad806b73b1994ac27838 /svx
parent8274c4c62df5b937b3f0bec9e1eeca85f3b219d4 (diff)
loplugin:staticvar in soltools..svx
Change-Id: Ie9f36eb0e00aaee34a27f136ed903f8f87e52dcc Reviewed-on: https://gerrit.libreoffice.org/61916 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/ShapeTypeHandler.cxx2
-rw-r--r--svx/source/accessibility/SvxShapeTypes.cxx2
-rw-r--r--svx/source/xoutdev/xtable.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/accessibility/ShapeTypeHandler.cxx b/svx/source/accessibility/ShapeTypeHandler.cxx
index cf0dc4a155d8..c569700ed0bc 100644
--- a/svx/source/accessibility/ShapeTypeHandler.cxx
+++ b/svx/source/accessibility/ShapeTypeHandler.cxx
@@ -147,7 +147,7 @@ ShapeTypeHandler::~ShapeTypeHandler()
void ShapeTypeHandler::AddShapeTypeList (int nDescriptorCount,
- ShapeTypeDescriptor aDescriptorList[])
+ ShapeTypeDescriptor const aDescriptorList[])
{
SolarMutexGuard aGuard;
diff --git a/svx/source/accessibility/SvxShapeTypes.cxx b/svx/source/accessibility/SvxShapeTypes.cxx
index 9677eb869b3f..eb19e7be6a47 100644
--- a/svx/source/accessibility/SvxShapeTypes.cxx
+++ b/svx/source/accessibility/SvxShapeTypes.cxx
@@ -89,7 +89,7 @@ void RegisterDrawShapeTypes()
/** List of shape type descriptors corresponding to the
<type>SvxShapeTypes</type> enum.
*/
- ShapeTypeDescriptor aSvxShapeTypeList[] = {
+ static ShapeTypeDescriptor const aSvxShapeTypeList[] = {
ShapeTypeDescriptor ( DRAWING_TEXT, "com.sun.star.drawing.TextShape",
CreateSvxAccessibleShape),
ShapeTypeDescriptor (DRAWING_RECTANGLE, "com.sun.star.drawing.RectangleShape",
diff --git a/svx/source/xoutdev/xtable.cxx b/svx/source/xoutdev/xtable.cxx
index 8568212448c9..13b7ce1c2918 100644
--- a/svx/source/xoutdev/xtable.cxx
+++ b/svx/source/xoutdev/xtable.cxx
@@ -371,7 +371,7 @@ XPropertyList::CreatePropertyListFromURL( XPropertyListType t,
static struct {
XPropertyListType const t;
const char *pExt;
-} pExtnMap[] = {
+} const pExtnMap[] = {
{ XPropertyListType::Color, "soc" },
{ XPropertyListType::LineEnd, "soe" },
{ XPropertyListType::Dash, "sod" },