summaryrefslogtreecommitdiff
path: root/unotools/source/config
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2013-08-28 04:53:50 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2013-08-28 04:55:33 +0900
commiteb6ab3bc045701e3d4b8751751700d8375f89fcc (patch)
treed84a2b1fd648d49e83fa19ed4018e9b705395556 /unotools/source/config
parent7673a08e7200227b9dbcb7ee8706064f55013c44 (diff)
Mark as const
Change-Id: If20ac542f31dd650d6d1cc22ced618f73e1ce773
Diffstat (limited to 'unotools/source/config')
-rw-r--r--unotools/source/config/pathoptions.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/unotools/source/config/pathoptions.cxx b/unotools/source/config/pathoptions.cxx
index 2acbea03de3f..9435505ce1fe 100644
--- a/unotools/source/config/pathoptions.cxx
+++ b/unotools/source/config/pathoptions.cxx
@@ -196,7 +196,7 @@ struct VarNameAttribute
VarNameProperty eVarProperty; // Which return value is needed by this path variable
};
-static PropertyStruct aPropNames[] =
+static const PropertyStruct aPropNames[] =
{
{ "Addin", SvtPathOptions::PATH_ADDIN },
{ "AutoCorrect", SvtPathOptions::PATH_AUTOCORRECT },
@@ -224,7 +224,7 @@ static PropertyStruct aPropNames[] =
{ "Fingerprint", SvtPathOptions::PATH_FINGERPRINT }
};
-static VarNameAttribute aVarNameAttribute[] =
+static const VarNameAttribute aVarNameAttribute[] =
{
{ SUBSTITUTE_INSTPATH, VAR_NEEDS_SYSTEM_PATH }, // $(instpath)
{ SUBSTITUTE_PROGPATH, VAR_NEEDS_SYSTEM_PATH }, // $(progpath)