diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 09:21:53 +1100 |
---|---|---|
committer | Chris Sherlock <chris.sherlock79@gmail.com> | 2016-02-09 08:11:34 +0000 |
commit | 538f276ae0414ea34ede6090b5f56e8fecd6fc65 (patch) | |
tree | efbfb952f3236a6f56540ddae6a896c8c73774a0 /idlc/source/idlccompile.cxx | |
parent | f12e483589888f87843026ceff5ae3c1e615ca02 (diff) |
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 <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
Diffstat (limited to 'idlc/source/idlccompile.cxx')
-rw-r--r-- | idlc/source/idlccompile.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
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; |