diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-04-26 07:33:02 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-04-26 07:33:02 +0000 |
commit | bf74849defca3850d804f22f5a2f568b77d1af18 (patch) | |
tree | 7c1ab876e91df13a3726f1e03d1d59a739b54dce /basic/source/classes | |
parent | cefb7eba58ef94277a828d4cf7f0e882dc47a67e (diff) |
INTEGRATION: CWS residcleanup (1.30.8); FILE MERGED
2007/03/12 12:22:29 pl 1.30.8.3: #i75311# separate stt and sb resources
2007/02/20 11:08:04 pl 1.30.8.2: #i74635# all basic resources from stt resource file henceforth
2007/02/18 21:06:56 pl 1.30.8.1: #i74635# get rid of implicit global ResMgr
Diffstat (limited to 'basic/source/classes')
-rw-r--r-- | basic/source/classes/sb.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index b74dd60b625c..4244b71b2345 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -4,9 +4,9 @@ * * $RCSfile: sb.cxx,v $ * - * $Revision: 1.30 $ + * $Revision: 1.31 $ * - * last change: $Author: rt $ $Date: 2007-01-29 15:04:54 $ + * last change: $Author: rt $ $Date: 2007-04-26 08:33:02 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1201,7 +1201,7 @@ struct BasicStringList_Impl : private Resource ResId aResId; BasicStringList_Impl( ResId& rErrIdP, USHORT nId) - : Resource( rErrIdP ),aResId(nId){} + : Resource( rErrIdP ),aResId(nId, *rErrIdP.GetResMgr() ){} ~BasicStringList_Impl() { FreeResource(); } String GetString(){ return String( aResId ); } @@ -1238,7 +1238,7 @@ void StarBASIC::MakeErrorText( SbError nId, const String& aMsg ) USHORT nOldID = GetVBErrorCode( nId ); // Hilfsklasse instanzieren - BasicResId aId( RID_BASIC_START ); + BasResId aId( RID_BASIC_START ); BasicStringList_Impl aMyStringList( aId, USHORT(nId & ERRCODE_RES_MASK) ); if( aMyStringList.IsErrorTextAvailable() ) |