Committed. Thanks!

DOm

--- Chad Thomas <[EMAIL PROTECTED]> 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

Reply via email to