summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-03-26 10:52:34 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-03-26 16:18:43 +0000
commit5d9f957cd2a1f883c7f67c26c920fb9f2ad8a352 (patch)
treef8de4dd99122abcef4c3c27d78d3d5e0e33f5744 /desktop
parent59c3ff8cc7546d3a3371921023a4782489a6791f (diff)
honour svp plugin too
Diffstat (limited to 'desktop')
-rwxr-xr-xdesktop/unx/source/start.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index 7c2ed551f1..19420a9adf 100755
--- a/desktop/unx/source/start.c
+++ b/desktop/unx/source/start.c
@@ -878,6 +878,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv )
{
int fd = 0;
sal_Bool bSentArgs = sal_False;
+ const char* pUsePlugin;
rtl_uString *pPipePath = NULL;
Args *args;
@@ -898,6 +899,10 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv )
args->bInhibitSplash = sal_True;
#endif
+ pUsePlugin = getenv( "SAL_USE_VCLPLUGIN" );
+ if ( pUsePlugin && !strcmp(pUsePlugin, "svp") )
+ args->bInhibitSplash = sal_True;
+
pPipePath = get_pipe_path( args->pAppPath );
if ( ( fd = connect_pipe( pPipePath ) ) >= 0 )