summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorGert Faller <gertfaller@aliceadsl.fr>2010-12-12 09:17:59 +0100
committerGert Faller <gertfaller@aliceadsl.fr>2010-12-12 09:17:59 +0100
commit0c938820f9059c132e1d27974f6c3c7e9a2d3f4d (patch)
tree2859812e00ef87a8471c929fb688b8b428dcdb5f /cui
parent561b4fd234b6b1f5f0ea8291b4d89d22a44c9e09 (diff)
change of __READONLY_DATA define to const
Diffstat (limited to 'cui')
-rw-r--r--cui/source/dialogs/hldoctp.cxx8
-rw-r--r--cui/source/dialogs/hlinettp.cxx10
-rw-r--r--cui/source/options/optpath.cxx2
-rw-r--r--cui/source/options/treeopt.cxx2
-rw-r--r--cui/source/tabpages/numpages.cxx2
5 files changed, 12 insertions, 12 deletions
diff --git a/cui/source/dialogs/hldoctp.cxx b/cui/source/dialogs/hldoctp.cxx
index b341cc3b3c40..a196730d9eb9 100644
--- a/cui/source/dialogs/hldoctp.cxx
+++ b/cui/source/dialogs/hldoctp.cxx
@@ -38,11 +38,11 @@
#include "hyperdlg.hrc"
#include "hlmarkwn_def.hxx"
-sal_Char __READONLY_DATA sHash[] = "#";
-sal_Char __READONLY_DATA sFileScheme[] = INET_FILE_SCHEME;
-sal_Char __READONLY_DATA sNewsSRVScheme[] = "news://";
+sal_Char const sHash[] = "#";
+sal_Char const sFileScheme[] = INET_FILE_SCHEME;
+sal_Char const sNewsSRVScheme[] = "news://";
// TODO news:// is nonsense
-sal_Char __READONLY_DATA sHTTPScheme[] = INET_HTTP_SCHEME;
+sal_Char const sHTTPScheme[] = INET_HTTP_SCHEME;
/*************************************************************************
|*
diff --git a/cui/source/dialogs/hlinettp.cxx b/cui/source/dialogs/hlinettp.cxx
index 1d18e8f7020d..881a75bf5692 100644
--- a/cui/source/dialogs/hlinettp.cxx
+++ b/cui/source/dialogs/hlinettp.cxx
@@ -40,11 +40,11 @@
#define STD_DOC_SUBPATH "internal"
#define STD_DOC_NAME "url_transfer.htm"
-sal_Char __READONLY_DATA sAnonymous[] = "anonymous";
-sal_Char __READONLY_DATA sHTTPScheme[] = INET_HTTP_SCHEME;
-sal_Char __READONLY_DATA sHTTPSScheme[] = INET_HTTPS_SCHEME;
-sal_Char __READONLY_DATA sFTPScheme[] = INET_FTP_SCHEME;
-sal_Char __READONLY_DATA sTelnetScheme[] = INET_TELNET_SCHEME;
+sal_Char const sAnonymous[] = "anonymous";
+sal_Char const sHTTPScheme[] = INET_HTTP_SCHEME;
+sal_Char const sHTTPSScheme[] = INET_HTTPS_SCHEME;
+sal_Char const sFTPScheme[] = INET_FTP_SCHEME;
+sal_Char const sTelnetScheme[] = INET_TELNET_SCHEME;
/*************************************************************************
|*
diff --git a/cui/source/options/optpath.cxx b/cui/source/options/optpath.cxx
index 56c05f9062d5..90e7a3f64915 100644
--- a/cui/source/options/optpath.cxx
+++ b/cui/source/options/optpath.cxx
@@ -123,7 +123,7 @@ struct Handle2CfgNameMapping_Impl
const char* m_pCfgName;
};
-static Handle2CfgNameMapping_Impl __READONLY_DATA Hdl2CfgMap_Impl[] =
+static Handle2CfgNameMapping_Impl const Hdl2CfgMap_Impl[] =
{
{ SvtPathOptions::PATH_AUTOCORRECT, "AutoCorrect" },
{ SvtPathOptions::PATH_AUTOTEXT, "AutoText" },
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx
index 6cb450931c0f..38140a1c0a3f 100644
--- a/cui/source/options/treeopt.cxx
+++ b/cui/source/options/treeopt.cxx
@@ -382,7 +382,7 @@ struct OptionsMapping_Impl
USHORT m_nPageId;
};
-static OptionsMapping_Impl __READONLY_DATA OptionsMap_Impl[] =
+static OptionsMapping_Impl const OptionsMap_Impl[] =
{
// GROUP PAGE PAGE-ID
{ "ProductName", NULL, SID_GENERAL_OPTIONS },
diff --git a/cui/source/tabpages/numpages.cxx b/cui/source/tabpages/numpages.cxx
index 97d81ea2828e..56a4fa067ce8 100644
--- a/cui/source/tabpages/numpages.cxx
+++ b/cui/source/tabpages/numpages.cxx
@@ -162,7 +162,7 @@ static const sal_Unicode aBulletTypes[] =
0x2714
};
-static sal_Char __READONLY_DATA aNumChar[] =
+static sal_Char const aNumChar[] =
{
'A', //CHARS_UPPER_LETTER
'a', //CHARS_LOWER_LETTER