summaryrefslogtreecommitdiff
path: root/basctl/source/basicide/baside2.hxx
diff options
context:
space:
mode:
authornpower Developer <npower@openoffice.org>2010-04-30 10:46:23 +0100
committernpower Developer <npower@openoffice.org>2010-04-30 10:46:23 +0100
commitc6bb7651534f61d513e2947af29e66cd12a88012 (patch)
tree1a82e238716de20bbc0501fcba26b6379c7f86cc /basctl/source/basicide/baside2.hxx
parentcb2bcac3474ca249546e474134f1802b02631f64 (diff)
npower13_objectmodules: #i111245# fix core dump on rename
Diffstat (limited to 'basctl/source/basicide/baside2.hxx')
-rw-r--r--basctl/source/basicide/baside2.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2.hxx b/basctl/source/basicide/baside2.hxx
index 0bcf4a87476b..280bb6ee3ab6 100644
--- a/basctl/source/basicide/baside2.hxx
+++ b/basctl/source/basicide/baside2.hxx
@@ -390,7 +390,7 @@ public:
virtual void SetReadOnly( BOOL bReadOnly );
virtual BOOL IsReadOnly();
- StarBASIC* GetBasic() { return xBasic; }
+ StarBASIC* GetBasic() { XModule(); return xBasic; }
SbModule* GetSbModule() { return xModule; }
void SetSbModule( SbModule* pModule ) { xModule = pModule; }
@@ -418,7 +418,6 @@ public:
// void InsertFromObjectCatalog( ObjectCatalog* pObjDlg );
BOOL ToggleBreakPoint( ULONG nLine );
- BOOL RenameModule( const String& rNewName );
BasicStatus& GetBasicStatus() { return aStatus; }