[Libreoffice-commits] .: svtools/inc svtools/source

Lubos Lunak llunak at kemper.freedesktop.org
Tue Mar 1 08:23:34 PST 2011


 svtools/inc/ctrltool.hxx            |    2 +-
 svtools/source/control/ctrltool.cxx |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 2496a496024ae2d44e100c02b4258f653adb3d32
Author: Luboš Luňák <l.lunak at suse.cz>
Date:   Tue Mar 1 16:08:28 2011 +0100

    const static data

diff --git a/svtools/inc/ctrltool.hxx b/svtools/inc/ctrltool.hxx
index 6c7e207..8f769d6 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 5da7cba..bc7528d 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" },


More information about the Libreoffice-commits mailing list