diff options
author | Kurt Zenker <kz@openoffice.org> | 2006-11-06 13:40:31 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2006-11-06 13:40:31 +0000 |
commit | 0d2ad37d98756201a129370760fcc3a9581d491c (patch) | |
tree | b8760aa39b1d4eb34978fc3a2d466af346579187 /idlc/source | |
parent | 2b195f3ab56584467912d66845a5bae64ef234ee (diff) |
INTEGRATION: CWS jsc14 (1.15.8); FILE MERGED
2006/10/23 15:18:32 jsc 1.15.8.1: #i70319# quote include options
Diffstat (limited to 'idlc/source')
-rw-r--r-- | idlc/source/options.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx index b506101ef87f..bcdde58400b1 100644 --- a/idlc/source/options.cxx +++ b/idlc/source/options.cxx @@ -4,9 +4,9 @@ * * $RCSfile: options.cxx,v $ * - * $Revision: 1.15 $ + * $Revision: 1.16 $ * - * last change: $Author: obo $ $Date: 2006-09-17 08:15:12 $ + * last change: $Author: kz $ $Date: 2006-11-06 14:40:31 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -137,9 +137,9 @@ sal_Bool Options::initOptions(int ac, char* av[], sal_Bool bCmdFile) OString tmp(s); sal_Int32 nIndex = 0; inc = OString(); - do inc = inc + " -I" + tmp.getToken( 0, ';', nIndex ); while( nIndex != -1 ); + do inc = inc + " -I\"" + tmp.getToken( 0, ';', nIndex ) +"\""; while( nIndex != -1 ); } else - inc = OString("-I") + s; + inc = OString("-I\"") + s + "\""; if (m_options.count("-I") > 0) { |