[PATCH] cleaning before = assignment lotuswordpro/source/filter/xfilter/xfparastyle.cxx

julien2412 serval2412 at yahoo.fr
Sat Jul 14 07:04:07 PDT 2012


Keeping on slowly reading Bjarne Stroustrup's C++ book, I read that for =
operator functions, we must delete/free the members before = assignment
(which must copy).

So I attach a straightforward patch for

Before I commit and push it on master, I would like to know first if i'm
wrong or not about all this.
Perhaps I'm wrong or perhaps it's useless because of a C++ mechanism I don't
know or missed.


View this message in context: http://nabble.documentfoundation.org/PATCH-cleaning-before-assignment-lotuswordpro-source-filter-xfilter-xfparastyle-cxx-tp3995480.html
Sent from the Dev mailing list archive at Nabble.com.

More information about the LibreOffice mailing list