summaryrefslogtreecommitdiffstats
path: root/src/tools/qstring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/qstring.cpp')
-rw-r--r--src/tools/qstring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/qstring.cpp b/src/tools/qstring.cpp
index 59f8e1423..27bdf31d8 100644
--- a/src/tools/qstring.cpp
+++ b/src/tools/qstring.cpp
@@ -6000,7 +6000,7 @@ void TQString::setSecurityUnPaged(bool lock) {
TQCString TQString::utf8() const
{
if (!d->cString) {
- d->cString = new TQCString;
+ d->cString = new TQCString("");
}
if(d == shared_null)
{
@@ -6254,7 +6254,7 @@ TQString TQString::fromLatin1( const char* chars, int len )
TQCString TQString::local8Bit() const
{
if (!d->cString) {
- d->cString = new TQCString;
+ d->cString = new TQCString("");
}
if(d == shared_null)
{