summaryrefslogtreecommitdiff
path: root/codemaker
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker')
-rw-r--r--codemaker/source/cppumaker/cppuoptions.cxx15
1 files changed, 1 insertions, 14 deletions
diff --git a/codemaker/source/cppumaker/cppuoptions.cxx b/codemaker/source/cppumaker/cppuoptions.cxx
index 13088035bd93..9ea0138a6c73 100644
--- a/codemaker/source/cppumaker/cppuoptions.cxx
+++ b/codemaker/source/cppumaker/cppuoptions.cxx
@@ -293,20 +293,7 @@ sal_Bool CppuOptions::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]);
}
}
}