Re: CVS: commit dom abiword-plugins/wp/impexp/psion/xp ie_exp_Psion.cpp

From: Dominic Lachowicz <domlachowicz_at_gmail.com>
Date: Sat Nov 18 2006 - 22:52:56 CET

Please backport this.

On 11/18/06, cvs@abisource.com <cvs@abisource.com> wrote:
>
> Update of /cvsroot/abiword-plugins/wp/impexp/psion/xp
> In directory abiword.snt.utwente.nl:/tmp/cvs-serv28667/wp/impexp/psion/xp
>
> Modified Files:
> ie_exp_Psion.cpp
> Log Message:
> bug 9257 - crash when saving to psion
>
> Index: ie_exp_Psion.cpp
> ===================================================================
> RCS file: /cvsroot/abiword-plugins/wp/impexp/psion/xp/ie_exp_Psion.cpp,v
> retrieving revision 1.13
> retrieving revision 1.14
> diff -u -d -r1.13 -r1.14
> --- ie_exp_Psion.cpp 18 Oct 2004 00:39:24 -0000 1.13
> +++ ie_exp_Psion.cpp 18 Nov 2006 21:39:30 -0000 1.14
> @@ -647,8 +647,6 @@
> psiconv_list_free(m_currentParagraphText);
> if (m_paragraphs)
> psiconv_list_free(m_paragraphs);
> - if (m_styles)
> - psiconv_free_word_styles_section(m_styles);
> if (m_header)
> psiconv_free_page_header(m_header);
> if (m_footer)
> @@ -1207,6 +1205,8 @@
> if (!(m_styles->styles = psiconv_list_new(sizeof(*style))))
> goto ERROR1;
>
> + m_styles->normal = NULL;
> +
> // Examine all used styles one by one (so we do not export unused styles.
> // You could discuss whether this is a good idea. I think so. I do not
> // want tens of unused styles in my Psion documents. Do you?
>
> -----------------------------------------------
> To unsubscribe from this list, send a message to
> abisource-cvs-commit-request@abisource.com with the word
> unsubscribe in the message body.
>

-- 
"I believe in making the world safe for our children, but not our
children's children, because I don't think children should be having
sex." -Jack Handy
Received on Sat Nov 18 22:53:46 2006

This archive was generated by hypermail 2.1.8 : Sat Nov 18 2006 - 22:53:47 CET