summaryrefslogtreecommitdiff
path: root/basic/source/runtime/methods.cxx
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2004-01-06 18:42:37 +0000
committerVladimir Glazounov <vg@openoffice.org>2004-01-06 18:42:37 +0000
commit966d33b748e7afec04bfe4a609d5e5ad0897592c (patch)
tree5fd47a62ecb196d0203295e7b2a07d57b754ce8d /basic/source/runtime/methods.cxx
parent435590ba168e16e7ab38af1172b0988558b77bbf (diff)
INTEGRATION: CWS vclcleanup02 (1.51.64); FILE MERGED
2003/12/11 09:06:14 mt 1.51.64.2: #i23061# VCL cleanup, removed headers, methods and types... 2003/12/04 15:59:13 mt 1.51.64.1: #i23061# Removed/Changed old StarView stuff
Diffstat (limited to 'basic/source/runtime/methods.cxx')
-rw-r--r--basic/source/runtime/methods.cxx42
1 files changed, 4 insertions, 38 deletions
diff --git a/basic/source/runtime/methods.cxx b/basic/source/runtime/methods.cxx
index 2b784cdf076d..14cd3d7f430c 100644
--- a/basic/source/runtime/methods.cxx
+++ b/basic/source/runtime/methods.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: methods.cxx,v $
*
- * $Revision: 1.51 $
+ * $Revision: 1.52 $
*
- * last change: $Author: vg $ $Date: 2003-05-22 11:01:41 $
+ * last change: $Author: vg $ $Date: 2004-01-06 19:42:37 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -3515,7 +3515,7 @@ RTLFUNC(QBColor)
return;
}
- Color aCol( (ColorName)rPar.Get(1)->GetInteger() );
+ Color aCol( (ColorData)rPar.Get(1)->GetInteger() );
ULONG nRed = aCol.GetRed() >> 8;
ULONG nGreen = aCol.GetGreen() >> 8;
@@ -3627,43 +3627,11 @@ RTLFUNC(SavePicture)
//-----------------------------------------------------------------------------------------
-/*
-class SbiAboutStarBasicDlg : public ModalDialog
-{
- OKButton aOkButton;
- Control aCtrl;
-
-public:
- SbiAboutStarBasicDlg();
-};
-
-SbiAboutStarBasicDlg::SbiAboutStarBasicDlg() :
- ModalDialog( GetpApp()->GetAppWindow(), BasicResId( RID_BASIC_START ) ),
- aOkButton( this, BasicResId( 1 ) ),
- aCtrl( this, BasicResId( 1 ) )
-{
- FreeResource();
-}
-*/
-//-----------------------------------------------------------------------------------------
RTLFUNC(AboutStarBasic)
{
- /*
- String aName;
- if( rPar.Count() >= 2 )
- {
- aName = rPar.Get(1)->GetString();
- }
-
- SbiAboutStarBasicDlg* pDlg = new SbiAboutStarBasicDlg;
- pDlg->Execute();
- delete pDlg;
- */
}
-// MsgBox( msg [,type[,title]] )
-
RTLFUNC(MsgBox)
{
static const WinBits nStyleMap[] =
@@ -3701,8 +3669,6 @@ RTLFUNC(MsgBox)
nStyle = 0;
nWinBits = nStyleMap[ nStyle ];
- if( nType & 4096 )
- nWinBits |= WB_SYSMODAL;
WinBits nWinDefBits;
nWinDefBits = (WB_DEF_OK | WB_DEF_RETRY | WB_DEF_YES);
@@ -3726,7 +3692,7 @@ RTLFUNC(MsgBox)
nType &= (16+32+64);
MessBox* pBox = 0;
- Window* pParent = GetpApp()->GetDefModalDialogParent();
+ Window* pParent = GetpApp()->GetDefDialogParent();
switch( nType )
{
case 16: