diff options
author | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-04 12:23:15 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar@trolltech.com> | 2009-08-04 12:23:15 (GMT) |
commit | bc9059d7fe5d8c146d3a09ee493b65edb1a75363 (patch) | |
tree | de96582c348b77c56e1ec3f9770d8e6971a2197a /src/gui/painting/qdatabuffer_p.h | |
parent | 69c379451f496071c51542dab876d41916b62889 (diff) | |
parent | e888ff9902f193b8797d7993cd7d43e76045dcc1 (diff) | |
download | Qt-bc9059d7fe5d8c146d3a09ee493b65edb1a75363.zip Qt-bc9059d7fe5d8c146d3a09ee493b65edb1a75363.tar.gz Qt-bc9059d7fe5d8c146d3a09ee493b65edb1a75363.tar.bz2 |
Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qt
Diffstat (limited to 'src/gui/painting/qdatabuffer_p.h')
-rw-r--r-- | src/gui/painting/qdatabuffer_p.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gui/painting/qdatabuffer_p.h b/src/gui/painting/qdatabuffer_p.h index b568f43..275ec13 100644 --- a/src/gui/painting/qdatabuffer_p.h +++ b/src/gui/painting/qdatabuffer_p.h @@ -114,23 +114,6 @@ public: qSwap(buffer, other.buffer); } - inline void insertBlank(int pos, int count) { - Q_ASSERT(pos >= 0); - Q_ASSERT(pos < siz); - reserve(siz + count); - for (int i = siz - pos - 1; i >= 0; --i) - buffer[pos + count + i] = buffer[pos + i]; - siz += count; - } - - inline void removeAndShift(int pos, int count) { - Q_ASSERT(pos >= 0); - Q_ASSERT(pos < siz); - for (int i=pos; i<siz-count; ++i) - buffer[i] = buffer[i+count]; - siz -= count; - } - inline QDataBuffer &operator<<(const Type &t) { add(t); return *this; } private: |