From 551a0bb353c7ffff4b307956a7cc7a023bf36863 Mon Sep 17 00:00:00 2001 From: ulf69 Date: Tue, 28 Sep 2004 21:32:21 +0000 Subject: fixed a potential crash when loading adresses from any adressbook file. --- (limited to 'kabc/vcard/ContentLine.cpp') diff --git a/kabc/vcard/ContentLine.cpp b/kabc/vcard/ContentLine.cpp index 0fb5b5d..f7e04a9 100644 --- a/kabc/vcard/ContentLine.cpp +++ b/kabc/vcard/ContentLine.cpp @@ -66,7 +66,10 @@ using namespace VCARD; ContentLine::ContentLine() : Entity(), - value_(0) + value_(0), + paramType_( ParamUnknown ), + valueType_( ValueUnknown ), + entityType_( EntityUnknown ) { paramList_.setAutoDelete( TRUE ); } @@ -97,7 +100,10 @@ ContentLine::ContentLine(const ContentLine & x) ContentLine::ContentLine(const QCString & s) : Entity(s), - value_(0) + value_(0), + paramType_( ParamUnknown ), + valueType_( ValueUnknown ), + entityType_( EntityUnknown ) { paramList_.setAutoDelete( TRUE ); } -- cgit v0.9.0.2