Re: CVS: commit msevior abi/src/text/ptbl/xp pd_Document.cpp pt_PT_InsertObject.cpp

From: <sum1_lists_at_yahoo.com>
Date: Sun Oct 15 2006 - 03:11:44 CEST

--- cvs@abisource.com wrote:

>
> Update of /cvsroot/abi/src/text/ptbl/xp
> In directory
> abiword.snt.utwente.nl:/tmp/cvs-serv23115/src/text/ptbl/xp
>
> Modified Files:
> pd_Document.cpp pt_PT_InsertObject.cpp
> Log Message:
>
> Honour image properties in abicollab.
>
>
> Index: pt_PT_InsertObject.cpp
> ===================================================================
> RCS file: /cvsroot/abi/src/text/ptbl/xp/pt_PT_InsertObject.cpp,v
> retrieving revision 1.30
> retrieving revision 1.31
> diff -u -d -r1.30 -r1.31
> --- pt_PT_InsertObject.cpp 16 Sep 2006 17:04:50 -0000 1.30
> +++ pt_PT_InsertObject.cpp 14 Oct 2006 23:55:17 -0000 1.31
> @@ -251,9 +251,36 @@
> UT_return_val_if_fail (m_pts==PTS_Editing,false);
>
> // store the attributes and properties and get an index to them.
> -
> + UT_UTF8String sProps;
> + UT_sint32 i = 0;
> + sProps.clear();

<cut>

> + UT_GenericVector<XML_Char*> Atts;
> + Atts.clear();

Are these clear() calls necessary right after declaration?

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Sun Oct 15 03:12:53 2006

This archive was generated by hypermail 2.1.8 : Sun Oct 15 2006 - 03:12:53 CEST