From 4fe54ea11ed82dd662d0132585c199ec9f3a6c95 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Tue, 15 Nov 2011 12:33:49 +0100 Subject: Instead of returning out of function just skip its calling. --- desktop/unx/source/start.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'desktop/unx/source') diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c index 940a99793fc2..6152e4cd8d98 100644 --- a/desktop/unx/source/start.c +++ b/desktop/unx/source/start.c @@ -697,9 +697,6 @@ static void extend_library_path (const char *new_element) static void exec_javaldx (Args *args) { -#ifndef SOLAR_JAVA - return; -#endif char newpath[4096]; sal_uInt32 nArgs; rtl_uString *pApp; @@ -858,8 +855,10 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS( argc, argv ) exec_pagein (args); /* javaldx */ +#ifdef SOLAR_JAVA if (!args->bInhibitJavaLdx) exec_javaldx (args); +#endif do { -- cgit