diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2011-03-01 16:08:28 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2011-03-01 17:23:27 +0100 |
commit | 687456967ede128c0334536a116bba8699420b7e (patch) | |
tree | 83d0bc70626ab3ad785a437fb75f6f12d962e830 | |
parent | 52807d8951dc15272196587ba4e33bdf5182b48e (diff) |
const static data
-rw-r--r-- | svtools/inc/ctrltool.hxx | 2 | ||||
-rw-r--r-- | svtools/source/control/ctrltool.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/inc/ctrltool.hxx b/svtools/inc/ctrltool.hxx index b13d2e5c131a..dd35d06ec893 100644 --- a/svtools/inc/ctrltool.hxx +++ b/svtools/inc/ctrltool.hxx @@ -229,7 +229,7 @@ private: class SVT_DLLPUBLIC FontSizeNames { private: - struct ImplFSNameItem* mpArray; + const struct ImplFSNameItem* mpArray; ULONG mnElem; public: diff --git a/svtools/source/control/ctrltool.cxx b/svtools/source/control/ctrltool.cxx index 8a0616507224..23f26d8bdaee 100644 --- a/svtools/source/control/ctrltool.cxx +++ b/svtools/source/control/ctrltool.cxx @@ -47,7 +47,7 @@ // ======================================================================= // Standard Fontgroessen fuer scalierbare Fonts -static long aStdSizeAry[] = +static const long aStdSizeAry[] = { 60, 70, @@ -871,7 +871,7 @@ struct ImplFSNameItem //------------------------------------------------------------------------ -static ImplFSNameItem aImplSimplifiedChinese[] = +static const ImplFSNameItem aImplSimplifiedChinese[] = { { 50, "\xe5\x85\xab\xe5\x8f\xb7" }, { 55, "\xe4\xb8\x83\xe5\x8f\xb7" }, |