>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Jean-Marc Lasgouttes wrote:
>>>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
Georg> There was a thinko in the patch. Can you please try this one?
Georg> It works for me, but I do not understand why it worked without
Georg> the patch, since the culprit was a break instead of a return
Georg> statement.
>>  Why do we use return instead of break in this method? This is very
>> atypical.

Georg> Therefore I used break before ;-) If you look at
Georg> MathHullInset::getStatus you will see that we return always,
Georg> and we have a

Georg> return MathGridInset::getStatus(cur, cmd, status);

Georg> as the last statement, so the return is needed in this case,
Georg> too.

Yes, I see now that the insets' getStatus methods all do this. I don't
like it, though.

JMarc

Reply via email to