diff options
Diffstat (limited to 'codemaker/source/javamaker')
-rw-r--r-- | codemaker/source/javamaker/javaoptions.cxx | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/codemaker/source/javamaker/javaoptions.cxx b/codemaker/source/javamaker/javaoptions.cxx index db7d896178ff..5e9130c16e19 100644 --- a/codemaker/source/javamaker/javaoptions.cxx +++ b/codemaker/source/javamaker/javaoptions.cxx @@ -51,9 +51,6 @@ sal_Bool JavaOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) } i = 1; - } else - { - i = 0; } char *s=NULL; @@ -219,19 +216,7 @@ sal_Bool JavaOptions::initOptions(int ac, char* av[], sal_Bool bCmdFile) } } else { - if (bCmdFile) - { - m_inputFiles.push_back(av[i]); - } else - { - OUString system_filepath; - if (osl_getCommandArg( i-1, &system_filepath.pData ) - != osl_Process_E_None) - { - OSL_ASSERT(false); - } - m_inputFiles.push_back(OUStringToOString(system_filepath, osl_getThreadTextEncoding())); - } + m_inputFiles.push_back(av[i]); } } } |