From 189f29e13d54ad49b5a941af76ec9155ea3b67dd Mon Sep 17 00:00:00 2001 From: RĂ¼diger Timm Date: Thu, 26 Apr 2007 07:32:08 +0000 Subject: INTEGRATION: CWS residcleanup (1.26.26); FILE MERGED 2007/02/18 21:06:56 pl 1.26.26.1: #i74635# get rid of implicit global ResMgr --- basic/source/app/msgedit.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'basic/source/app/msgedit.cxx') diff --git a/basic/source/app/msgedit.cxx b/basic/source/app/msgedit.cxx index d67e05c1b3f6..69797536cf41 100644 --- a/basic/source/app/msgedit.cxx +++ b/basic/source/app/msgedit.cxx @@ -4,9 +4,9 @@ * * $RCSfile: msgedit.cxx,v $ * - * $Revision: 1.26 $ + * $Revision: 1.27 $ * - * last change: $Author: ihi $ $Date: 2006-12-20 13:59:41 $ + * last change: $Author: rt $ $Date: 2007-04-26 08:32:08 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -72,11 +72,12 @@ Version 3 Changed Charset from CHARSET_IBMPC to RTL_TEXTENCODING_UTF8 #include "apperror.hxx" #include "appbased.hxx" #include "basmsg.hrc" +#include "basrid.hxx" USHORT MsgEdit::nMaxLogLen = 0; BOOL MsgEdit::bLimitLogLen = FALSE; -#define WARNING_PREFIX String( ResId( S_WARNING_PREFIX ) ) +#define WARNING_PREFIX String( SttResId( S_WARNING_PREFIX ) ) #define VERSION_STRING CUniString("File Format Version: ") #define THIS_VERSION 2 @@ -95,7 +96,7 @@ MsgEdit::MsgEdit( AppError* pParent, BasicFrame *pBF, const WinBits& aBits ) , aEditTree( pParent, pBF, aBits | WB_HASBUTTONS | WB_HASLINES | WB_HASBUTTONSATROOT ) { // SetFont( aEditTree.GetDefaultFont( DEFAULTFONT_FIXED, aEditTree.GetSettings().GetLanguage(), 0, &aEditTree ) ); - aEditTree.SetNodeBitmaps( Bitmap( ResId (MBP_PLUS) ), Bitmap( ResId (MBP_MINUS) ) ); + aEditTree.SetNodeBitmaps( Bitmap( SttResId (MBP_PLUS) ), Bitmap( SttResId (MBP_MINUS) ) ); aEditTree.SetSelectionMode( MULTIPLE_SELECTION ); if ( aEditTree.GetModel()->GetSortMode() != SortNone ) aEditTree.GetModel()->SetSortMode( SortNone ); @@ -713,7 +714,7 @@ BOOL MsgEdit::Save( const String& aName ) { BOOL bOk = TRUE; BOOL bIsText = DirEntry( aName ).GetExtension().CompareIgnoreCaseToAscii("TXT") == COMPARE_EQUAL; - if ( bIsText && !QueryBox( NULL, ResId( IDS_LOSS_OF_INFORMATION ) ).Execute() ) + if ( bIsText && !QueryBox( NULL, SttResId( IDS_LOSS_OF_INFORMATION ) ).Execute() ) return FALSE; SvFileStream aStrm( aName, STREAM_STD_WRITE | STREAM_TRUNC ); if( aStrm.IsOpen() ) -- cgit v1.2.3