From: Martin Sevior (msevior@physics.unimelb.edu.au)
Date: Thu Dec 19 2002 - 13:18:55 EST
On 19 Dec 2002, Chad Thomas wrote:
> I was seeing the same crash as David Chart. The below patch fixes it.
> I'm not sure if it's the right thing to do--I just initiallized the
> variable to NULL.
>
> --Chad (aka xtals_r_us)
>
>
> Index: fl_SectionLayout.cpp
> ===================================================================
> RCS file: /cvsroot/abi/src/text/fmt/xp/fl_SectionLayout.cpp,v
> retrieving revision 1.182
> diff -u -r1.182 fl_SectionLayout.cpp
> --- fl_SectionLayout.cpp 18 Dec 2002 19:21:28 -0000 1.182
> +++ fl_SectionLayout.cpp 19 Dec 2002 17:59:44 -0000
> @@ -1385,7 +1385,7 @@
> #endif
> }
>
> - const XML_Char * pszFootnoteLine;
> + const XML_Char * pszFootnoteLine = NULL;
aH, RIGHT! Thanks Chad. I should have seen this.
Sorry for the crash on startup David.
Cheers
Martin
> pSectionAP->getProperty("section-footnote-line-thickness",
> (const XML_Char *&)pszFootnoteLine);
> if (pszFootnoteLine && pszFootnoteLine[0])
> {
>
>
>
This archive was generated by hypermail 2.1.4 : Thu Dec 19 2002 - 13:21:05 EST