From: Dom Lachowicz (domlachowicz@yahoo.com)
Date: Thu Dec 19 2002 - 13:15:44 EST
Committed. Thanks!
DOm
--- Chad Thomas <cbthomas@610.med.uiuc.edu> 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;
>
>
pSectionAP->getProperty("section-footnote-line-thickness",
> (const XML_Char *&)pszFootnoteLine);
> if (pszFootnoteLine && pszFootnoteLine[0])
> {
>
>
> > 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;
>
>
pSectionAP->getProperty("section-footnote-line-thickness",
> (const XML_Char *&)pszFootnoteLine);
> if (pszFootnoteLine && pszFootnoteLine[0])
> {
>
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
This archive was generated by hypermail 2.1.4 : Thu Dec 19 2002 - 13:17:59 EST