Kaydet (Commit) b64c0d95 authored tarafından Michael Meeks's avatar Michael Meeks

rename SttResId to IttResId to avoid conflict with basic/

üst 9eb03883
...@@ -26,17 +26,17 @@ ...@@ -26,17 +26,17 @@
* *
************************************************************************/ ************************************************************************/
#ifndef _STTRESID_HXX_ #ifndef _ITTRESID_HXX_
#define _STTRESID_HXX_ #define _ITTRESID_HXX_
#include <tools/resmgr.hxx> #include <tools/resmgr.hxx>
#include <tools/resid.hxx> #include <tools/resid.hxx>
class SttResId : public ResId class IttResId : public ResId
{ {
static ResMgr* getSttResMgr(); static ResMgr* getIttResMgr();
public: public:
SttResId( sal_uInt32 nId ) : ResId( nId, *getSttResMgr() ) {} IttResId( sal_uInt32 nId ) : ResId( nId, *getIttResMgr() ) {}
}; };
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include "cmdstrm.hxx" #include "cmdstrm.hxx"
#include "rcontrol.hxx" #include "rcontrol.hxx"
#include "objtest.hxx" #include "objtest.hxx"
#include "sttresid.hxx" #include "ittresid.hxx"
#include "svcommstream.hxx" #include "svcommstream.hxx"
#include <basic/testtool.hrc> #include <basic/testtool.hrc>
...@@ -43,7 +43,7 @@ ControlDefLoad const CmdStream::arKeyCodes [] = ...@@ -43,7 +43,7 @@ ControlDefLoad const CmdStream::arKeyCodes [] =
#include <keycodes.hxx> #include <keycodes.hxx>
CNames *CmdStream::pKeyCodes = NULL; CNames *CmdStream::pKeyCodes = NULL;
ResMgr* SttResId::getSttResMgr() ResMgr* IttResId::getIttResMgr()
{ {
static ResMgr* pMgr = NULL; static ResMgr* pMgr = NULL;
if( ! pMgr ) if( ! pMgr )
...@@ -153,7 +153,7 @@ String CmdStream::WandleKeyEventString( String aKeys ) ...@@ -153,7 +153,7 @@ String CmdStream::WandleKeyEventString( String aKeys )
Result += '<'; Result += '<';
Result += Token; Result += Token;
Result += ' '; Result += ' ';
Result += String( SttResId( S_INVALID_KEYCODE ) ); Result += String( IttResId( S_INVALID_KEYCODE ) );
Result += '>'; Result += '>';
} }
} }
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#include "sysdir_win.hxx" #include "sysdir_win.hxx"
#include "registry_win.hxx" #include "registry_win.hxx"
#include "sttresid.hxx" #include "ittresid.hxx"
#include <osl/file.hxx> #include <osl/file.hxx>
#include <vcl/msgbox.hxx> #include <vcl/msgbox.hxx>
#include <vcl/sound.hxx> #include <vcl/sound.hxx>
...@@ -787,7 +787,7 @@ void TestToolObj::ReadNames( String Filename, CNames *&pNames, CNames *&pUIds, s ...@@ -787,7 +787,7 @@ void TestToolObj::ReadNames( String Filename, CNames *&pNames, CNames *&pUIds, s
{ {
String aFileName = (pImpl->aHIDDir + DirEntry(CUniString("hid.lst"))).GetFull(); String aFileName = (pImpl->aHIDDir + DirEntry(CUniString("hid.lst"))).GetFull();
{ {
TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(SttResId(S_READING_LONGNAMES)), aFileName ); TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(IttResId(S_READING_LONGNAMES)), aFileName );
GetTTBroadcaster().Broadcast( aHint ); GetTTBroadcaster().Broadcast( aHint );
} }
ReadFlat( aFileName ,pUIds, sal_True ); ReadFlat( aFileName ,pUIds, sal_True );
...@@ -814,12 +814,12 @@ void TestToolObj::ReadNames( String Filename, CNames *&pNames, CNames *&pUIds, s ...@@ -814,12 +814,12 @@ void TestToolObj::ReadNames( String Filename, CNames *&pNames, CNames *&pUIds, s
if ( bIsFlat && !pNames ) if ( bIsFlat && !pNames )
{ {
TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(SttResId(S_READING_SLOT_IDS)), Filename ); TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(IttResId(S_READING_SLOT_IDS)), Filename );
GetTTBroadcaster().Broadcast( aHint ); GetTTBroadcaster().Broadcast( aHint );
} }
else else
{ {
TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(SttResId(S_READING_CONTROLS)), Filename ); TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(IttResId(S_READING_CONTROLS)), Filename );
GetTTBroadcaster().Broadcast( aHint ); GetTTBroadcaster().Broadcast( aHint );
} }
...@@ -1590,7 +1590,7 @@ void TestToolObj::SFX_NOTIFY( SfxBroadcaster&, const TypeId&, ...@@ -1590,7 +1590,7 @@ void TestToolObj::SFX_NOTIFY( SfxBroadcaster&, const TypeId&,
aTmpStr += ' '; aTmpStr += ' ';
aTmpStr += pImpl->ProgParam; aTmpStr += pImpl->ProgParam;
{ {
TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(SttResId(S_STARTING_APPLICATION)), aTmpStr ); TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(IttResId(S_STARTING_APPLICATION)), aTmpStr );
GetTTBroadcaster().Broadcast( aHint ); GetTTBroadcaster().Broadcast( aHint );
} }
...@@ -1787,7 +1787,7 @@ void TestToolObj::SFX_NOTIFY( SfxBroadcaster&, const TypeId&, ...@@ -1787,7 +1787,7 @@ void TestToolObj::SFX_NOTIFY( SfxBroadcaster&, const TypeId&,
else if ( Ext.CompareIgnoreCaseToAscii("Inc") == COMPARE_EQUAL ) else if ( Ext.CompareIgnoreCaseToAscii("Inc") == COMPARE_EQUAL )
{ {
{ {
TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(SttResId(S_READING_BASIC_MODULE)), FilePath.GetFull() ); TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(IttResId(S_READING_BASIC_MODULE)), FilePath.GetFull() );
GetTTBroadcaster().Broadcast( aHint ); GetTTBroadcaster().Broadcast( aHint );
} }
String aFullPathname = FilePath.GetFull(); String aFullPathname = FilePath.GetFull();
...@@ -3085,7 +3085,7 @@ void TestToolObj::ReadHidLstByNumber() ...@@ -3085,7 +3085,7 @@ void TestToolObj::ReadHidLstByNumber()
String aName = (pImpl->aHIDDir + DirEntry(CUniString("hid.lst"))).GetFull(); String aName = (pImpl->aHIDDir + DirEntry(CUniString("hid.lst"))).GetFull();
{ {
TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(SttResId(S_READING_LONGNAMES)), aName ); TTExecutionStatusHint aHint( TT_EXECUTION_SHOW_ACTION, String(IttResId(S_READING_LONGNAMES)), aName );
GetTTBroadcaster().Broadcast( aHint ); GetTTBroadcaster().Broadcast( aHint );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment