#83750# Helper function runsInSetup() for special security check
This commit is contained in:
parent
cea3dcadb1
commit
103dd2f5b2
1 changed files with 9 additions and 2 deletions
|
@ -2,9 +2,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: sb.cxx,v $
|
* $RCSfile: sb.cxx,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.2 $
|
* $Revision: 1.3 $
|
||||||
*
|
*
|
||||||
* last change: $Author: ab $ $Date: 2001-05-17 09:17:50 $
|
* last change: $Author: ab $ $Date: 2001-05-23 08:51:30 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@ -786,6 +786,13 @@ void StarBASIC::StaticSuppressSfxResource( BOOL bSuppress )
|
||||||
bStaticSuppressSfxResource = bSuppress;
|
bStaticSuppressSfxResource = bSuppress;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Hack for #83750, use bStaticSuppressSfxResource as setup flag
|
||||||
|
BOOL runsInSetup( void )
|
||||||
|
{
|
||||||
|
return bStaticSuppressSfxResource;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void StarBASIC::MakeErrorText( SbError nId, const String& aMsg )
|
void StarBASIC::MakeErrorText( SbError nId, const String& aMsg )
|
||||||
{
|
{
|
||||||
if( bStaticSuppressSfxResource )
|
if( bStaticSuppressSfxResource )
|
||||||
|
|
Loading…
Reference in a new issue