diff options
author | Thomas Benisch <tbe@openoffice.org> | 2001-12-14 15:59:17 +0000 |
---|---|---|
committer | Thomas Benisch <tbe@openoffice.org> | 2001-12-14 15:59:17 +0000 |
commit | a7880b5391cb52595d358c31d5bdc95837650fa6 (patch) | |
tree | cad6dc5b0f09e6e8fce03d8b9a5430ff6bf4787e /basctl/source/basicide/moduldlg.cxx | |
parent | ad1a6f26bab4e817a737461096735ecf53b2b001 (diff) |
#86383# assertion instead of errorbox for error loading library
Diffstat (limited to 'basctl/source/basicide/moduldlg.cxx')
-rw-r--r-- | basctl/source/basicide/moduldlg.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/basctl/source/basicide/moduldlg.cxx b/basctl/source/basicide/moduldlg.cxx index 04aaeb346309..47cbaaaaa427 100644 --- a/basctl/source/basicide/moduldlg.cxx +++ b/basctl/source/basicide/moduldlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: moduldlg.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: tbe $ $Date: 2001-12-13 18:29:39 $ + * last change: $Author: tbe $ $Date: 2001-12-14 16:59:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -869,9 +869,7 @@ StarBASIC* ObjectPage::GetSelectedBasic() if ( bOK ) { pBasic = pBasMgr->GetLib( aLibName ); - - if ( !pBasic ) - ErrorBox( this, WB_OK|WB_DEF_OK, String( IDEResId( RID_STR_ERROROPENLIB ) ) ).Execute(); + DBG_ASSERT( pBasic, "ObjectPage::GetSelectedBasic: Error loading library!" ); } } } |