summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/source/app/salinst.cxx2
-rw-r--r--vcl/win/source/app/salshl.cxx4
-rw-r--r--vcl/win/source/gdi/salgdi3.cxx5
3 files changed, 0 insertions, 11 deletions
diff --git a/vcl/win/source/app/salinst.cxx b/vcl/win/source/app/salinst.cxx
index be7000873f0c..e80ff8092da7 100644
--- a/vcl/win/source/app/salinst.cxx
+++ b/vcl/win/source/app/salinst.cxx
@@ -28,10 +28,8 @@
#include <string.h>
-#ifdef WNT
#include <svsys.h>
#include <process.h>
-#endif
#include <osl/file.hxx>
#include <osl/mutex.hxx>
diff --git a/vcl/win/source/app/salshl.cxx b/vcl/win/source/app/salshl.cxx
index 8e7c0b984b21..486ce045ae9d 100644
--- a/vcl/win/source/app/salshl.cxx
+++ b/vcl/win/source/app/salshl.cxx
@@ -37,8 +37,6 @@ SalShlData aSalShlData;
// =======================================================================
-#ifdef WNT
-
extern "C"
{
@@ -73,8 +71,6 @@ BOOL WINAPI LibMain( HINSTANCE hInst, DWORD nReason, LPVOID pReserved )
}
-#endif
-
// =======================================================================
HCURSOR ImplLoadSalCursor( int nId )
diff --git a/vcl/win/source/gdi/salgdi3.cxx b/vcl/win/source/gdi/salgdi3.cxx
index 79ff37548944..a22ab472a3ad 100644
--- a/vcl/win/source/gdi/salgdi3.cxx
+++ b/vcl/win/source/gdi/salgdi3.cxx
@@ -1067,16 +1067,11 @@ void ImplSalLogFontToFontW( HDC hDC, const LOGFONTW& rLogFont, Font& rFont )
static FILE * grLogFile = NULL;
static FILE * grLog()
{
-#ifdef WNT
std::string logFileName(getenv("TEMP"));
logFileName.append("\\grface.log");
if (grLogFile == NULL) grLogFile = fopen(logFileName.c_str(),"w");
else fflush(grLogFile);
return grLogFile;
-#else
- fflush(stdout);
- return stdout;
-#endif
}
#undef NDEBUG
#endif