summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-05-09 13:45:58 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-05-09 13:45:58 +0300
commita4d77bafb6211481acd4e4b633639ec6bf3f25a3 (patch)
treebea0186f27eb85418fff6f46f0dc71f7eeb327e0 /vcl/win
parent96f79ea7c326db138aa3188e129c6e9b4d78cbaa (diff)
This is Windows code so bin pointless #ifdef WNT
Change-Id: I8e81ecd0e78f22f09db4288b781ae5f5da4d8760
Diffstat (limited to 'vcl/win')
-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