diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2013-11-23 08:41:41 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2013-11-23 08:42:55 +0900 |
commit | ee1b1b865b0ccc7418bbfad2a60cd14f851135a8 (patch) | |
tree | 49b964898bab125cd1a7cd72c05d3c3f40b33738 /sw | |
parent | 4b9304ecdd067307e24e4388fe1addcab9e85bd0 (diff) |
Mark as const / static
Change-Id: Ia41b8cc062fc1e7c2cf0b8ba64c303919448ef06
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/sw3io/sw3convert.cxx | 10 | ||||
-rw-r--r-- | sw/source/core/text/frmpaint.cxx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sw/source/core/sw3io/sw3convert.cxx b/sw/source/core/sw3io/sw3convert.cxx index d0a47bd0a5d3..16e1e34fe8d6 100644 --- a/sw/source/core/sw3io/sw3convert.cxx +++ b/sw/source/core/sw3io/sw3convert.cxx @@ -59,7 +59,7 @@ struct OldFormats sal_uInt16 nOldFormat; }; -static OldFormats aOldDateFmt40[] = +static const OldFormats aOldDateFmt40[] = { // Datumsfelder: { NF_DATE_SYSTEM_SHORT, DFF_SSYS }, // Kurzes Systemdatum @@ -83,7 +83,7 @@ static OldFormats aOldDateFmt40[] = { NF_NUMERIC_START, 0 } // Tabellenende }; -static OldFormats aOldDateFmt30[] = +static const OldFormats aOldDateFmt30[] = { // Datumsfelder: { NF_DATE_SYSTEM_SHORT, DFF_SSYS }, // Kurzes Systemdatum @@ -107,7 +107,7 @@ static OldFormats aOldDateFmt30[] = { NF_NUMERIC_START, 0 } // Tabellenende }; -static OldFormats aOldTimeFmt[] = +static const OldFormats aOldTimeFmt[] = { // Zeitfelder: { NF_TIME_HHMMSS, TF_SYSTEM }, // Systemzeit @@ -117,7 +117,7 @@ static OldFormats aOldTimeFmt[] = { NF_NUMERIC_START, 0 } // Tabellenende }; -static OldFormats aOldGetSetExpFmt40[] = +static const OldFormats aOldGetSetExpFmt40[] = { { NF_TEXT, VVF_CMD }, // Kommando anzeigen { NF_TEXT, VVF_INVISIBLE }, // unsichtbar @@ -146,7 +146,7 @@ static OldFormats aOldGetSetExpFmt40[] = { NF_NUMERIC_START, 0 } // Tabellenende }; -static OldFormats aOldGetSetExpFmt30[] = +static const OldFormats aOldGetSetExpFmt30[] = { { NF_TEXT, VVF_CMD }, // Kommando anzeigen { NF_TEXT, VVF_INVISIBLE }, // unsichtbar diff --git a/sw/source/core/text/frmpaint.cxx b/sw/source/core/text/frmpaint.cxx index 253adfb32b6e..889040416f0f 100644 --- a/sw/source/core/text/frmpaint.cxx +++ b/sw/source/core/text/frmpaint.cxx @@ -60,7 +60,7 @@ using namespace ::com::sun::star; //////////////////////////////////////////////////////////// -bool bInitFont = true; +static bool bInitFont = true; class SwExtraPainter { |