Did this commit fix the Windows crash? Does the preview pop up at all?
Author: msevior
Date: 2011-02-27 13:06:17 +0100 (Sun, 27 Feb 2011)
New Revision: 29594
Modified:
abiword/trunk/src/wp/ap/xp/ap_Preview_Annotation.cpp
Log:
Prevent crash if m_gc is not initiallized.
Modified: abiword/trunk/src/wp/ap/xp/ap_Preview_Annotation.cpp
===================================================================
--- abiword/trunk/src/wp/ap/xp/ap_Preview_Annotation.cpp
2011-02-27 07:01:04 UTC (rev 29593)
+++ abiword/trunk/src/wp/ap/xp/ap_Preview_Annotation.cpp
2011-02-27 12:06:17 UTC (rev 29594)
@@ -42,6 +42,7 @@
m_sAuthor("n/a"),
m_sDescription("n/a")
{
+ m_gc = NULL;
}
AP_Preview_Annotation::~AP_Preview_Annotation()
@@ -119,7 +120,7 @@
{
UT_UNUSED(clip);
m_drawString = m_sDescription;
-
+ UT_return_if_fail(m_gc);
UT_RGBColor FGcolor(0,0,0);
UT_RG
Received on Sun Feb 27 13:09:46 2011
This archive was generated by hypermail 2.1.8 : Sun Feb 27 2011 - 13:09:46 CET