summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdrawhelper_p.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2018-11-02 14:14:09 -0700
committerThiago Macieira <thiago.macieira@intel.com>2018-11-08 15:26:50 +0000
commitb514c82e1d6629d213d705da09169954f453c454 (patch)
tree914543f0799342f6b16ea8d371131044a6de5f60 /src/gui/painting/qdrawhelper_p.h
parent3e36fb641e15b92826792daf9153bbab7573a6f1 (diff)
Remove QT_MEMFILL_xxx macros
They were just calling a function, may as well just call said function directly. Change-Id: I343f2beed55440a7ac0bfffd15636b183c1a420f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/gui/painting/qdrawhelper_p.h')
-rw-r--r--src/gui/painting/qdrawhelper_p.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/painting/qdrawhelper_p.h b/src/gui/painting/qdrawhelper_p.h
index b1d4b3a9b0..06dc64549b 100644
--- a/src/gui/painting/qdrawhelper_p.h
+++ b/src/gui/painting/qdrawhelper_p.h
@@ -944,12 +944,6 @@ inline void qt_rectfill(T *dest, T value,
}
}
-#define QT_MEMFILL_UINT(dest, length, color) \
- qt_memfill<quint32>(dest, color, length);
-
-#define QT_MEMFILL_USHORT(dest, length, color) \
- qt_memfill<quint16>(dest, color, length);
-
#define QT_MEMCPY_REV_UINT(dest, src, length) \
do { \
/* Duff's device */ \