Hi Julien,

28.01.2012 11:12, julien2412 пишет:
So either the duplicated part (obviously "mpOutliner != NULL") could be
simply removed
or perhaps the author thought about this  :
  mpOutlineViewShell != NULL

mpOutlineViewShell is initialized and dereferenced in the ctor, and keeps its value all the time. Thus it can't be NULL. (I'd like to have references instead of pointers in such cases. :)

It seems that the author of the commit just didn't notice the first "mpOutliner != NULL".

Hope that helps,
Ivan
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to