summaryrefslogtreecommitdiff
path: root/rsc/source/prj
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-02-16 22:42:23 +0100
committerThomas Arnhold <thomas@arnhold.org>2011-02-16 23:11:07 +0100
commit542916044dfded030424c27592711a440cc3422f (patch)
tree573f42a1fb875d0665a98575e20bd3a7c5af656c /rsc/source/prj
parentcbbaf4fb45979785385932e4c5fa3523228eab69 (diff)
Remove MTW support
http://www.openoffice.org/issues/show_bug.cgi?id=52746 "MTW - metrowerks compiler (mac OS9 ?) - obsolete"
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