OSDN Git Service

- Fixed crash on including non existant file.
authorcs <cs@e1914e07-63f8-0310-9059-d6d858d7cdca>
Fri, 16 Feb 2007 08:37:19 +0000 (08:37 +0000)
committercs <cs@e1914e07-63f8-0310-9059-d6d858d7cdca>
Fri, 16 Feb 2007 08:37:19 +0000 (08:37 +0000)
git-svn-id: https://www.taskjuggler.org/svn/taskjuggler/trunk@1399 e1914e07-63f8-0310-9059-d6d858d7cdca

docs/en/ChangeLog.xml
taskjuggler/FileInfo.cpp
taskjuggler/TableColumnInfo.cpp

index 9958d21..8ed30d1 100644 (file)
@@ -1136,6 +1136,9 @@ KDE 3.5.4 the behavior of the Kate library changed so that the test no
 longer worked properly and modified files were not
 detected.</para></listitem>
 
+<listitem><para>Fixed crash when non existant file was
+included.</para></listitem>
+
 </itemizedlist></para>
 
 </sect2>
index 3938c6f..112150c 100644 (file)
@@ -25,6 +25,7 @@ FileInfo::FileInfo(ProjectFile* p, const QString& file_, const QString& tp)
 {
     tokenTypeBuf = INVALID;
     file = file_;
+    f = 0;
 }
 
 FileInfo::~FileInfo()
index 0d39327..a82ac8f 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include "TableColumnInfo.h"
+#include "ExpressionTree.h"
 
 TableColumnInfo::~TableColumnInfo()
 {