summaryrefslogtreecommitdiff
path: root/sal/osl/w32/dllentry.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl/w32/dllentry.cxx')
-rw-r--r--sal/osl/w32/dllentry.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sal/osl/w32/dllentry.cxx b/sal/osl/w32/dllentry.cxx
index a36e6cda8840..81139a05852b 100644
--- a/sal/osl/w32/dllentry.cxx
+++ b/sal/osl/w32/dllentry.cxx
@@ -84,8 +84,6 @@ static BOOL WINAPI RawDllMain( HINSTANCE, DWORD fdwReason, LPVOID )
SetErrorMode( SEM_NOOPENFILEERRORBOX | SEM_FAILCRITICALERRORS );
#endif
- g_dwTLSTextEncodingIndex = TlsAlloc();
-
//We disable floating point exceptions. This is the usual state at program startup
//but on Windows 98 and ME this is not always the case.
_control87(_MCW_EM, _MCW_EM);
@@ -95,8 +93,6 @@ static BOOL WINAPI RawDllMain( HINSTANCE, DWORD fdwReason, LPVOID )
case DLL_PROCESS_DETACH:
WSACleanup( );
- TlsFree( g_dwTLSTextEncodingIndex );
-
/*
On a product build memory management finalization might