diff options
author | Andreas Bregas <ab@openoffice.org> | 2001-05-23 07:51:30 +0000 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2001-05-23 07:51:30 +0000 |
commit | 103dd2f5b26945860fdbd84bc0a4d57f93b00b3e (patch) | |
tree | 76cc1b39cb645f4e231b2e888da6d43d9ed9ea81 /basic | |
parent | #83750# Security check returns ok when running setup (diff) | |
download | core-103dd2f5b26945860fdbd84bc0a4d57f93b00b3e.tar.gz core-103dd2f5b26945860fdbd84bc0a4d57f93b00b3e.zip |
#83750# Helper function runsInSetup() for special security check
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/classes/sb.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/basic/source/classes/sb.cxx b/basic/source/classes/sb.cxx index d46f0aa468c5..1e912d1b2042 100644 --- a/basic/source/classes/sb.cxx +++ b/basic/source/classes/sb.cxx @@ -2,9 +2,9 @@ * * $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 * either of the following licenses @@ -786,6 +786,13 @@ void StarBASIC::StaticSuppressSfxResource( BOOL bSuppress ) bStaticSuppressSfxResource = bSuppress; } +// Hack for #83750, use bStaticSuppressSfxResource as setup flag +BOOL runsInSetup( void ) +{ + return bStaticSuppressSfxResource; +} + + void StarBASIC::MakeErrorText( SbError nId, const String& aMsg ) { if( bStaticSuppressSfxResource ) |