diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-02-22 10:27:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-02-22 12:10:29 +0000 |
commit | c9d2ac6dcbcd70b5a3bb9929789165d704d740b4 (patch) | |
tree | b98ea434fd63d53e37ba8cc2d8ad6fe985e14857 /rsc | |
parent | 0a7ca5e8504cedceb949998858fb4df926d2f3bd (diff) |
-r and -s doesn't do anything
Diffstat (limited to 'rsc')
-rw-r--r-- | rsc/source/parser/erscerr.cxx | 2 | ||||
-rw-r--r-- | rsc/source/prj/start.cxx | 9 |
2 files changed, 0 insertions, 11 deletions
diff --git a/rsc/source/parser/erscerr.cxx b/rsc/source/parser/erscerr.cxx index 0b9f6e13e9d1..81098049c075 100644 --- a/rsc/source/parser/erscerr.cxx +++ b/rsc/source/parser/erscerr.cxx @@ -187,10 +187,8 @@ void RscError::WriteError( const ERRTYPE& rError, const char * pMessage ) StdLstOut( "Command line: rsc @<Command File>\n" ); StdLstOut( "-h shows this help.\n" ); StdLstOut( "-p No Preprocessor.\n" ); - StdLstOut( "-s Syntax analysis, creates .srs file\n"); StdLstOut( "-l Linker, links files created with rsc -s,\n" ); StdLstOut( " creates .rc file and .res file.\n" ); - StdLstOut( "-r Prevents .res file.\n" ); StdLstOut( "-d Symbol definitions for the Preprocessor.\n" ); StdLstOut( "-i Include directives for the Preprocessor.\n" ); StdLstOut( "-presponse Use response file for Preprocessor.\n" ); diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx index 18609a5b53df..ec4586532475 100644 --- a/rsc/source/prj/start.cxx +++ b/rsc/source/prj/start.cxx @@ -306,7 +306,6 @@ static BOOL CallRsc2( ByteString aRsc2Name, SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { BOOL bPrePro = TRUE; - BOOL bResFile = TRUE; BOOL bHelp = FALSE; BOOL bError = FALSE; BOOL bResponse = FALSE; @@ -352,11 +351,6 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) { // kein Preprozessor bPrePro = FALSE; } - else if( !rsc_stricmp( (*ppStr) + 1, "r" ) - || !rsc_stricmp( (*ppStr) + 1, "s" ) ) - { // erzeugt kein .res-file - bResFile = FALSE; - } else if( !rsc_stricmp( (*ppStr) + 1, "h" ) ) { // Hilfe anzeigen bHelp = TRUE; @@ -405,10 +399,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) }; if( bHelp ) - { bPrePro = FALSE; - bResFile = FALSE; - }; if( bPrePro && !aInputList.empty() ) { ByteString aTmpName; |