diff options
author | Andreas Bregas <ab@openoffice.org> | 2001-05-23 07:47:19 +0000 |
---|---|---|
committer | Andreas Bregas <ab@openoffice.org> | 2001-05-23 07:47:19 +0000 |
commit | cea3dcadb18e1f49e3f2e65e9b1a54a76e92650c (patch) | |
tree | 3565efb6751696c2693bc4625d450d5b5d9af41c /basic | |
parent | 46c383895c130b964d91c726c7d9355491ffc4c8 (diff) |
#83750# Security check returns ok when running setup
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/runtime/iosys.cxx | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/basic/source/runtime/iosys.cxx b/basic/source/runtime/iosys.cxx index ee9b619c4210..5c3df32de00d 100644 --- a/basic/source/runtime/iosys.cxx +++ b/basic/source/runtime/iosys.cxx @@ -2,9 +2,9 @@ * * $RCSfile: iosys.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: svesik $ $Date: 2001-05-14 15:14:50 $ + * last change: $Author: ab $ $Date: 2001-05-23 08:47:19 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -272,6 +272,8 @@ OUString findUserInDescription( const OUString& aDescription ) #endif +// Hack for #83750 +BOOL runsInSetup( void ); BOOL needSecurityRestrictions( void ) { @@ -281,6 +283,15 @@ BOOL needSecurityRestrictions( void ) if( bNeedInit ) { + // Hack for #83750, use internal flag until + // setup provides own service manager + if( runsInSetup() ) + { + // Setup is not critical + bRetVal = FALSE; + return bRetVal; + } + bNeedInit = FALSE; // Get system user to compare to portal user |