From 0c938820f9059c132e1d27974f6c3c7e9a2d3f4d Mon Sep 17 00:00:00 2001 From: Gert Faller Date: Sun, 12 Dec 2010 09:17:59 +0100 Subject: change of __READONLY_DATA define to const --- automation/source/testtool/cmdstrm.cxx | 2 +- automation/source/testtool/cmdstrm.hxx | 2 +- automation/source/testtool/objtest.cxx | 6 +++--- automation/source/testtool/objtest.hxx | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'automation') diff --git a/automation/source/testtool/cmdstrm.cxx b/automation/source/testtool/cmdstrm.cxx index a860948c6b04..c6522417e2eb 100644 --- a/automation/source/testtool/cmdstrm.cxx +++ b/automation/source/testtool/cmdstrm.cxx @@ -39,7 +39,7 @@ #include "svcommstream.hxx" #include -ControlDefLoad __READONLY_DATA CmdStream::arKeyCodes [] = +ControlDefLoad const CmdStream::arKeyCodes [] = #include CNames *CmdStream::pKeyCodes = NULL; diff --git a/automation/source/testtool/cmdstrm.hxx b/automation/source/testtool/cmdstrm.hxx index fb8b49f6106e..547f80bcc26e 100644 --- a/automation/source/testtool/cmdstrm.hxx +++ b/automation/source/testtool/cmdstrm.hxx @@ -60,7 +60,7 @@ public: SvMemoryStream* GetStream(); static CNames *pKeyCodes; // Namen der Sondertasten MOD1, F1, LEFT ... - static ControlDefLoad __READONLY_DATA arKeyCodes []; + static ControlDefLoad const arKeyCodes []; private: String WandleKeyEventString( String aKeys ); // Nutzt pKeyCodes. diff --git a/automation/source/testtool/objtest.cxx b/automation/source/testtool/objtest.cxx index 6fc4d9e4a18d..ad1c1aab7799 100644 --- a/automation/source/testtool/objtest.cxx +++ b/automation/source/testtool/objtest.cxx @@ -105,11 +105,11 @@ static CommunicationFactory aComManFac; #define KEEP_SEQUENCES 100 // Keep Names of last 100 Calls -ControlDefLoad __READONLY_DATA Controls::arClasses [] = +ControlDefLoad const Controls::arClasses [] = #include "classes.hxx" CNames *Controls::pClasses = NULL; -ControlDefLoad __READONLY_DATA TestToolObj::arR_Cmds [] = +ControlDefLoad const TestToolObj::arR_Cmds [] = #include "r_cmds.hxx" CNames *TestToolObj::pRCommands = NULL; CErrors *TestToolObj::pFehlerListe = NULL; // Hier werden die Fehler des Testtools gespeichert @@ -3862,7 +3862,7 @@ String TestToolObj::GetKeyName( USHORT nKeyCode ) void TestToolObj::ReplaceNumbers(String &aText) { -static ControlDefLoad __READONLY_DATA arRes_Type [] = +static ControlDefLoad const arRes_Type [] = #include "res_type.hxx" static CNames *pRTypes = NULL; diff --git a/automation/source/testtool/objtest.hxx b/automation/source/testtool/objtest.hxx index f60732b5d3fa..f70270a77a6d 100644 --- a/automation/source/testtool/objtest.hxx +++ b/automation/source/testtool/objtest.hxx @@ -236,7 +236,7 @@ public: virtual SbxVariable* Find( const String&, SbxClassType ); SbxTransportMethodRef pMethodVar; // zum Transport von Find nach Notify static CNames *pClasses; - static ControlDefLoad __READONLY_DATA arClasses []; + static ControlDefLoad const arClasses []; }; SV_DECL_IMPL_REF(Controls); -- cgit