summaryrefslogtreecommitdiff
path: root/rsc/source/prj
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/prj')
-rw-r--r--rsc/source/prj/gui.cxx6
-rw-r--r--rsc/source/prj/start.cxx4
2 files changed, 1 insertions, 9 deletions
diff --git a/rsc/source/prj/gui.cxx b/rsc/source/prj/gui.cxx
index ff2ebce8c1ab..817d20b39854 100644
--- a/rsc/source/prj/gui.cxx
+++ b/rsc/source/prj/gui.cxx
@@ -43,7 +43,7 @@ static RscCompiler * pRscCompiler = NULL;
/* */
/* Description : Gibt die Temporaeren Dateien frei. */
/****************************************************************/
-#if defined( UNX ) || ( defined( OS2 ) && ( defined( TCPP ) || defined ( GCC )) ) || defined (WTC) || defined (MTW) || defined(__MINGW32__)
+#if defined( UNX ) || ( defined( OS2 ) && ( defined( TCPP ) || defined ( GCC )) ) || defined (WTC) || defined(__MINGW32__)
void ExitProgram( void ){
#else
#if defined( CSET )
@@ -86,11 +86,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) {
InitRscCompiler();
RscError* pErrHdl = new RscError( lcl_determineVerbosity( argc, argv ) );
-#ifdef MTW
- RscCmdLine* pCmdLine = new RscCmdLine( argc, (char **)argv, pErrHdl );
-#else
RscCmdLine* pCmdLine = new RscCmdLine( argc, argv, pErrHdl );
-#endif
RscTypCont* pTypCont = new RscTypCont( pErrHdl,
pCmdLine->nByteOrder,
pCmdLine->aPath,
diff --git a/rsc/source/prj/start.cxx b/rsc/source/prj/start.cxx
index f95024fcd465..84d7fe32b6a9 100644
--- a/rsc/source/prj/start.cxx
+++ b/rsc/source/prj/start.cxx
@@ -181,8 +181,6 @@ static BOOL CallPrePro( const ByteString& rPrePro,
nExit = spawnvp( P_WAIT, (char*)rPrePro.GetBuffer(), (const char**)pCmdL->GetBlock() );
#elif defined WTC
nExit = spawnvp( P_WAIT, (char*)rPrePro.GetBuffer(), (const char* const*)pCmdL->GetBlock() );
-#elif defined MTW
- nExit = spawnvp( P_WAIT, (char*)rPrePro.GetBuffer(), (char**)pCmdL->GetBlock() );
#else
nExit = spawnvp( P_WAIT, (char*)rPrePro.GetBuffer(), (const char**)pCmdL->GetBlock() );
#endif
@@ -297,8 +295,6 @@ static BOOL CallRsc2( ByteString aRsc2Name,
nExit = spawnvp( P_WAIT, (char*)aRsc2Name.GetBuffer(), (char **)(const char**)aNewCmdL.GetBlock() );
#elif defined WTC
nExit = spawnvp( P_WAIT, (char*)aRsc2Name.GetBuffer(), (const char* const*)aNewCmdL.GetBlock() );
-#elif defined MTW
- nExit = spawnvp( P_WAIT, (char*)aRsc2Name.GetBuffer(), (char**)aNewCmdL.GetBlock() );
#else
nExit = spawnvp( P_WAIT, (char*)aRsc2Name.GetBuffer(), (const char**)aNewCmdL.GetBlock() );
#endif