diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-02-15 19:19:42 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-02-15 23:18:51 +0100 |
commit | 0c91aaa52af9c7ad7323723602d338b33f68689e (patch) | |
tree | 56fc70ccec784373049742c4e1a102cd986a7417 /idl | |
parent | cb086ef99e7c6963aaa2422ec9200489982b5074 (diff) |
Remove DOS
Diffstat (limited to 'idl')
-rw-r--r-- | idl/source/cmptools/lex.cxx | 9 | ||||
-rw-r--r-- | idl/source/prj/globals.cxx | 10 |
2 files changed, 0 insertions, 19 deletions
diff --git a/idl/source/cmptools/lex.cxx b/idl/source/cmptools/lex.cxx index 80f052ac72..25feb28686 100644 --- a/idl/source/cmptools/lex.cxx +++ b/idl/source/cmptools/lex.cxx @@ -99,11 +99,7 @@ SvToken & SvToken::operator = ( const SvToken & rObj ) void SvTokenStream::InitCtor() { -#ifdef DOS - SetCharSet( CHARSET_ANSI ); -#else SetCharSet( gsl_getSystemTextEncoding() ); -#endif aStrTrue = "TRUE"; aStrFalse = "FALSE"; nLine = nColumn = 0; @@ -178,12 +174,7 @@ void SvTokenStream::FillTokenList() void SvTokenStream::SetCharSet( CharSet nSet ) { nCharSet = nSet; - -#ifdef DOS - pCharTab = SvChar::GetTable( nSet, CHARSET_ANSI ); -#else pCharTab = SvChar::GetTable( nSet, gsl_getSystemTextEncoding() ); -#endif } int SvTokenStream::GetNextChar() diff --git a/idl/source/prj/globals.cxx b/idl/source/prj/globals.cxx index 425a35db4a..76179a97da 100644 --- a/idl/source/prj/globals.cxx +++ b/idl/source/prj/globals.cxx @@ -34,15 +34,6 @@ #include <globals.hxx> #include <database.hxx> -#ifdef DOS -static IdlDll * pApp = NULL; -IdlDll * GetIdlApp() -{ - if( !pApp ) - pApp = new IdlDll(); - return pApp; -} -#else IdlDll * GetIdlApp() { if( !(*(IdlDll**)GetAppData(SHL_IDL)) ) @@ -51,7 +42,6 @@ IdlDll * GetIdlApp() } return (*(IdlDll**)GetAppData(SHL_IDL)); } -#endif IdlDll::IdlDll() : pHashTable( NULL ) |