summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qdatabuffer_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@trolltech.com>2009-08-04 12:23:15 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-08-04 12:23:15 (GMT)
commitbc9059d7fe5d8c146d3a09ee493b65edb1a75363 (patch)
treede96582c348b77c56e1ec3f9770d8e6971a2197a /src/gui/painting/qdatabuffer_p.h
parent69c379451f496071c51542dab876d41916b62889 (diff)
parente888ff9902f193b8797d7993cd7d43e76045dcc1 (diff)
downloadQt-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.h17
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: