From d399b858f9f3c50c82da197cd8bdd05110a092fe Mon Sep 17 00:00:00 2001 From: Prasanth Ullattil Date: Thu, 2 Apr 2009 11:30:49 +0200 Subject: Compile error on VisualStudio 2005 Reviewed-by: Samuel --- src/gui/painting/qdrawhelper.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/gui/painting/qdrawhelper.cpp b/src/gui/painting/qdrawhelper.cpp index 7e73304..ae936fe 100644 --- a/src/gui/painting/qdrawhelper.cpp +++ b/src/gui/painting/qdrawhelper.cpp @@ -488,6 +488,15 @@ uint QT_FASTCALL qt_fetchPixel(const ucha return qt_colorConvert(color, 0); } +template<> +Q_STATIC_TEMPLATE_SPECIALIZATION +uint QT_FASTCALL qt_fetchPixel(const uchar *, + int , + const QVector *) +{ + return 0; +} + typedef uint (QT_FASTCALL *FetchPixelProc)(const uchar *scanLine, int x, const QVector *); #define SPANFUNC_POINTER_FETCHPIXEL(Arg) qt_fetchPixel -- cgit v0.12