summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qrawfont_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qrawfont_p.h')
-rw-r--r--src/gui/text/qrawfont_p.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/gui/text/qrawfont_p.h b/src/gui/text/qrawfont_p.h
index 0187c374a0..1f2e957906 100644
--- a/src/gui/text/qrawfont_p.h
+++ b/src/gui/text/qrawfont_p.h
@@ -71,21 +71,11 @@ public:
: fontEngine(0)
, hintingPreference(QFont::PreferDefaultHinting)
, thread(0)
-#if defined(Q_WS_WIN)
- , fontHandle(NULL)
- , ptrAddFontMemResourceEx(NULL)
- , ptrRemoveFontMemResourceEx(NULL)
-#endif
{}
QRawFontPrivate(const QRawFontPrivate &other)
: hintingPreference(other.hintingPreference)
, thread(other.thread)
-#if defined(Q_WS_WIN)
- , fontHandle(NULL)
- , ptrAddFontMemResourceEx(other.ptrAddFontMemResourceEx)
- , ptrRemoveFontMemResourceEx(other.ptrRemoveFontMemResourceEx)
-#endif
{
fontEngine = other.fontEngine;
if (fontEngine != 0)
@@ -117,16 +107,6 @@ public:
QThread *thread;
QAtomicInt ref;
-#if defined(Q_WS_WIN)
- HANDLE fontHandle;
-
- typedef HANDLE (WINAPI *PtrAddFontMemResourceEx)(PVOID, DWORD, PVOID, DWORD *);
- typedef BOOL (WINAPI *PtrRemoveFontMemResourceEx)(HANDLE);
-
- PtrAddFontMemResourceEx ptrAddFontMemResourceEx;
- PtrRemoveFontMemResourceEx ptrRemoveFontMemResourceEx;
-
-#endif // Q_WS_WIN
};
QT_END_NAMESPACE