From 538f276ae0414ea34ede6090b5f56e8fecd6fc65 Mon Sep 17 00:00:00 2001 From: Chris Sherlock Date: Tue, 9 Feb 2016 09:21:53 +1100 Subject: Formatting changes across all modules + Removed comment cruft + Tab formatting in number of files + Some commented out code removed + Tab characters replaced with spaces + Newline cleanup in quite a few files + Tweak header guard #endifs Change-Id: I3208ff2f047da890edcc49b73389aca22442f5fc Reviewed-on: https://gerrit.libreoffice.org/22221 Tested-by: Jenkins Reviewed-by: Chris Sherlock --- idlc/source/idlccompile.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'idlc') diff --git a/idlc/source/idlccompile.cxx b/idlc/source/idlccompile.cxx index d217517f35c2..26431583bf29 100644 --- a/idlc/source/idlccompile.cxx +++ b/idlc/source/idlccompile.cxx @@ -277,7 +277,7 @@ sal_Int32 compileFile(const OString * pathname) } while( nIndex != -1 ); } - if ( pOptions->isValid("-I") ) + if ( pOptions->isValid("-I") ) { OString token, incOpt = pOptions->getOption("-I"); sal_Int32 nIndex = 0; @@ -291,7 +291,7 @@ sal_Int32 compileFile(const OString * pathname) lCppArgs.push_back(OUString("-o")); - cppArgs.append(preprocFile); + cppArgs.append(preprocFile); lCppArgs.push_back(OStringToOUString(cppArgs.makeStringAndClear(), RTL_TEXTENCODING_UTF8)); cppArgs.append(tmpFile); @@ -325,12 +325,12 @@ sal_Int32 compileFile(const OString * pathname) ::std::vector< OUString >::iterator iter = lCppArgs.begin(); ::std::vector< OUString >::iterator end = lCppArgs.end(); int i = 0; - while ( iter != end ) { + while ( iter != end ) { pCmdArgs[i++] = (*iter).pData; ++iter; } - procError = osl_executeProcess( cpp.pData, pCmdArgs, nCmdArgs, osl_Process_WAIT, + procError = osl_executeProcess( cpp.pData, pCmdArgs, nCmdArgs, osl_Process_WAIT, nullptr, startDir.pData, nullptr, 0, &hProcess ); oslProcessInfo hInfo; -- cgit