Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Hi,

On Thu, Dec 27, 2012 at 01:12:27PM -0800, julien2412 wrote:
Thank you Lubos for the reference.
So I won't change these since it could generate some regressions if badly
done.

About first report, I meant that = operator is a priori for assignment not
for comparison. So even if the one who did this, did it right (and I suppose
it's the case), it could be a little confusing (and so a little dangerous).
Now perhaps it's confusing only for me and then, sorry for the noise :-)

The comment in lingucomponent/source/languageguessing/simpleguesser.hxx
lies. It is assignment. But the signature should be changed to

SimpleGuesser& operator=(const SimpleGuesser& other);

and its impl. should guard against self-assignment.

D.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.