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


Hi Jesus,

On Mon, 2011-06-20 at 20:47 +0200, Jesús Corrius wrote:
What's the preferred way to fix it?

        :-)

a) put everything in an if (pFrame) {....} block
b) if(!pFrame) return;

        It can help debugging if methods always return from the same place; but
then it can help code readability if it is not incredibly deeply
indented.

Thanks for the help! :)

        Sorry for not helping :-) just do what you think fits best with that
module's practise and style.

        Thanks !

                Michael.;

-- 
 michael.meeks@novell.com  <><, Pseudo Engineer, itinerant idiot



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.