summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorTrond Kjernåsen <trond.kjernasen@nokia.com>2010-04-29 11:29:06 (GMT)
committerTrond Kjernåsen <trond.kjernasen@nokia.com>2010-04-29 11:30:43 (GMT)
commit7fac03fc111f0c5938eff80f96d25c03c70c4040 (patch)
tree48748aa6cd8cc53ac698994d643d604146a9e794 /src/corelib
parentae16f6c59a009a508c1224b5dc02752ada0ce61a (diff)
downloadQt-7fac03fc111f0c5938eff80f96d25c03c70c4040.zip
Qt-7fac03fc111f0c5938eff80f96d25c03c70c4040.tar.gz
Qt-7fac03fc111f0c5938eff80f96d25c03c70c4040.tar.bz2
Fixed a leak in QTextDocument::print().
Also fixed a typo in the QScopedPointer docs. Task-number: QTBUG-10301 Reviewed-by: Kim
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qscopedpointer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qscopedpointer.cpp b/src/corelib/tools/qscopedpointer.cpp
index e7dd769..b06112d 100644
--- a/src/corelib/tools/qscopedpointer.cpp
+++ b/src/corelib/tools/qscopedpointer.cpp
@@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE
called resource acquisition is initialization(RAII).
QScopedPointer guarantees that the object pointed to will get deleted when
- the current scope dissapears.
+ the current scope disappears.
Consider this function which does heap allocations, and have various exit points:
@@ -227,7 +227,7 @@ QT_BEGIN_NAMESPACE
/*!
\class QScopedArrayPointer
-
+
\brief The QScopedArrayPointer class stores a pointer to a
dynamically allocated array of objects, and deletes it upon
destruction.