diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2016-06-02 14:30:41 +0900 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-06-02 10:52:45 +0000 |
commit | 53bc54209388f608521de48e289226188c138cec (patch) | |
tree | 8b95a560f130c0169b729a4f64a6fe3401d4b5ac /idl | |
parent | f52bbd2bab18c45c687ee466d1caa57a4d515785 (diff) |
STREAM_STD_READ already includes StreamMode::NOCREATE
Change-Id: Ib8c81056619a383cedc828b945c1802ff1ce42ca
Reviewed-on: https://gerrit.libreoffice.org/25802
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/cmptools/lex.cxx | 2 | ||||
-rw-r--r-- | idl/source/prj/command.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx index 608448988470..56d696a0d7a1 100644 --- a/idl/source/cmptools/lex.cxx +++ b/idl/source/cmptools/lex.cxx @@ -84,7 +84,7 @@ void SvTokenStream::InitCtor() } SvTokenStream::SvTokenStream( const OUString & rFileName ) - : pInStream( new SvFileStream( rFileName, STREAM_STD_READ | StreamMode::NOCREATE ) ) + : pInStream( new SvFileStream( rFileName, STREAM_STD_READ ) ) , aFileName( rFileName ) { InitCtor(); diff --git a/idl/source/prj/command.cxx b/idl/source/prj/command.cxx index 66ab61cd3344..fb5e9d75ce10 100644 --- a/idl/source/prj/command.cxx +++ b/idl/source/prj/command.cxx @@ -144,7 +144,7 @@ static bool ResponseFile( StringList * pList, int argc, char ** argv ) { if( '@' == **(argv +i) ) { // when @, then response file - SvFileStream aStm( OUString::createFromAscii((*(argv +i)) +1), STREAM_STD_READ | StreamMode::NOCREATE ); + SvFileStream aStm( OUString::createFromAscii((*(argv +i)) +1), STREAM_STD_READ ); if( aStm.GetError() != SVSTREAM_OK ) return false; |