summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-12-12 10:14:17 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-12-12 10:14:17 +0100
commitd1e95b771e91315a69b4862198f0563bdbb58888 (patch)
treeb81bcb65d76b246c9eddd473f7bd47caecf4a273 /svtools
parentec03cebe17848ff9b6851f4fb6d42515a79b8776 (diff)
change of __READONLY_DATA define to const
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/edit/sychconv.cxx4
-rw-r--r--svtools/source/misc/imagemgr.cxx4
-rw-r--r--svtools/source/svhtml/htmlsupp.cxx2
-rw-r--r--svtools/source/svhtml/parhtml.cxx8
4 files changed, 9 insertions, 9 deletions
diff --git a/svtools/source/edit/sychconv.cxx b/svtools/source/edit/sychconv.cxx
index bc969b53aee8..e8d0d75cd6e0 100644
--- a/svtools/source/edit/sychconv.cxx
+++ b/svtools/source/edit/sychconv.cxx
@@ -38,7 +38,7 @@ BOOL SymCharConverter::Convert( Font& rFont, UniString& rString, OutputDevice* p
// 2 = the converted character does not look like the original but got the same meaning
// 3 = the destination does not match looking and meaning of the original
- static USHORT __READONLY_DATA aWingdingsToStarBatsTable[ 256 - 32 ] =
+ static USHORT const aWingdingsToStarBatsTable[ 256 - 32 ] =
{
0x0020, 0x0238, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0174, 0x02BA, 0x017B, 0x017C, 0x037C, 0x037C, 0x037C, 0x037C,
0x0000, 0x0000, 0x0372, 0x0272, 0x0372, 0x0000, 0x0000, 0x0374, 0x0279, 0x0000, 0x027A, 0x0000, 0x0178, 0x0278, 0x0000, 0x0137,
@@ -56,7 +56,7 @@ BOOL SymCharConverter::Convert( Font& rFont, UniString& rString, OutputDevice* p
0x01AF, 0x01B2, 0x01B0, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0150, 0x0032, 0x0033, 0x0034, 0x01C8
};
- static USHORT __READONLY_DATA aMonotypeSortsToStarBatsTable[ 256 - 32 ]=
+ static USHORT const aMonotypeSortsToStarBatsTable[ 256 - 32 ]=
{
0x0020, 0x00cb, 0x00cb, 0x00cb, 0x00cb, 0x0074, 0x00ba, 0x0021, 0x00cc, 0x007b, 0x0036, 0x007d, 0x007e, 0x0037, 0x0038, 0x0038,
0x0039, 0x0038, 0x0038, 0x0039, 0x003a, 0x004f, 0x0050, 0x004f, 0x0050, 0x0051, 0x0052, 0x0053, 0x0054, 0x0086, 0x0086, 0x0086,
diff --git a/svtools/source/misc/imagemgr.cxx b/svtools/source/misc/imagemgr.cxx
index 5ac854df7bc0..1ce5a5848a1d 100644
--- a/svtools/source/misc/imagemgr.cxx
+++ b/svtools/source/misc/imagemgr.cxx
@@ -70,7 +70,7 @@ struct SvtExtensionResIdMapping_Impl
USHORT _nImgId;
};
-static SvtExtensionResIdMapping_Impl __READONLY_DATA ExtensionMap_Impl[] =
+static SvtExtensionResIdMapping_Impl const ExtensionMap_Impl[] =
{
{ "awk", TRUE, STR_DESCRIPTION_SOURCEFILE, 0 },
{ "bas", TRUE, STR_DESCRIPTION_SOURCEFILE, 0 },
@@ -224,7 +224,7 @@ struct SvtFactory2ExtensionMapping_Impl
// mapping from "private:factory" url to extension
-static SvtFactory2ExtensionMapping_Impl __READONLY_DATA Fac2ExtMap_Impl[] =
+static SvtFactory2ExtensionMapping_Impl const Fac2ExtMap_Impl[] =
{
{ "swriter", "odt" },
{ "swriter/web", "html" },
diff --git a/svtools/source/svhtml/htmlsupp.cxx b/svtools/source/svhtml/htmlsupp.cxx
index 8d1421c1d932..cfb0fca37e11 100644
--- a/svtools/source/svhtml/htmlsupp.cxx
+++ b/svtools/source/svhtml/htmlsupp.cxx
@@ -45,7 +45,7 @@
// Tabellen zum Umwandeln von Options-Werten in Strings
-static HTMLOptionEnum __READONLY_DATA aScriptLangOptEnums[] =
+static HTMLOptionEnum const aScriptLangOptEnums[] =
{
{ OOO_STRING_SVTOOLS_HTML_LG_starbasic, HTML_SL_STARBASIC },
{ OOO_STRING_SVTOOLS_HTML_LG_javascript, HTML_SL_JAVASCRIPT },
diff --git a/svtools/source/svhtml/parhtml.cxx b/svtools/source/svhtml/parhtml.cxx
index ca71c740c13b..0480a69c5d73 100644
--- a/svtools/source/svhtml/parhtml.cxx
+++ b/svtools/source/svhtml/parhtml.cxx
@@ -67,7 +67,7 @@ const sal_Int32 MAX_ENTITY_LEN( 8L );
// Tabellen zum Umwandeln von Options-Werten in Strings
// <INPUT TYPE=xxx>
-static HTMLOptionEnum __READONLY_DATA aInputTypeOptEnums[] =
+static HTMLOptionEnum const aInputTypeOptEnums[] =
{
{ OOO_STRING_SVTOOLS_HTML_IT_text, HTML_IT_TEXT },
{ OOO_STRING_SVTOOLS_HTML_IT_password, HTML_IT_PASSWORD },
@@ -85,7 +85,7 @@ static HTMLOptionEnum __READONLY_DATA aInputTypeOptEnums[] =
};
// <TABLE FRAME=xxx>
-static HTMLOptionEnum __READONLY_DATA aTableFrameOptEnums[] =
+static HTMLOptionEnum const aTableFrameOptEnums[] =
{
{ OOO_STRING_SVTOOLS_HTML_TF_void, HTML_TF_VOID },
{ OOO_STRING_SVTOOLS_HTML_TF_above, HTML_TF_ABOVE },
@@ -100,7 +100,7 @@ static HTMLOptionEnum __READONLY_DATA aTableFrameOptEnums[] =
};
// <TABLE RULES=xxx>
-static HTMLOptionEnum __READONLY_DATA aTableRulesOptEnums[] =
+static HTMLOptionEnum const aTableRulesOptEnums[] =
{
{ OOO_STRING_SVTOOLS_HTML_TR_none, HTML_TR_NONE },
{ OOO_STRING_SVTOOLS_HTML_TR_groups, HTML_TR_GROUPS },
@@ -2117,7 +2117,7 @@ enum eHtmlMetas {
};
// <META NAME=xxx>
-static HTMLOptionEnum __READONLY_DATA aHTMLMetaNameTable[] =
+static HTMLOptionEnum const aHTMLMetaNameTable[] =
{
{ OOO_STRING_SVTOOLS_HTML_META_author, HTML_META_AUTHOR },
{ OOO_STRING_SVTOOLS_HTML_META_changed, HTML_META_CHANGED },