diff options
author | Rüdiger Timm <rt@openoffice.org> | 2003-04-23 15:56:04 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2003-04-23 15:56:04 +0000 |
commit | 19d3ee85c95bb347d4cc99a69eb0bfee71f1f5ad (patch) | |
tree | 5a942545769e967c481ab8cbc0d280e7a185143e /basic/source | |
parent | 34e66c83601030dd37ec071a43b22a2cc1d3fafc (diff) |
INTEGRATION: CWS uno2 (1.10.6); FILE MERGED
2003/04/11 14:20:43 ab 1.10.6.1: #108672# Basic Modules > 64K
Diffstat (limited to 'basic/source')
-rw-r--r-- | basic/source/classes/sb.cxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index 92140f2da642..ed26cc608085 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -2,9 +2,9 @@ * * $RCSfile: sb.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: hr $ $Date: 2003-03-18 16:28:30 $ + * last change: $Author: rt $ $Date: 2003-04-23 16:56:04 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -382,8 +382,13 @@ void StarBASIC::operator delete( void* p ) SbModule* StarBASIC::MakeModule( const String& rName, const String& rSrc ) { + return MakeModule32( rName, rSrc ); +} + +SbModule* StarBASIC::MakeModule32( const String& rName, const ::rtl::OUString& rSrc ) +{ SbModule* p = new SbModule( rName ); - p->SetSource( rSrc ); + p->SetSource32( rSrc ); p->SetParent( this ); pModules->Insert( p, pModules->Count() ); SetModified( TRUE ); |