Hi,

On 09.09.2013 19:12, Regina Henschel wrote:
Oliver-Rainer Wittmann schrieb:
Hi,

On 08.09.2013 20:45, Regina Henschel wrote:
Hi Clarence,

an additional remark: You should not use rFormatter before you are sure
it exists. Keep "if (&rFormatter==NULL)" at the beginning.


I think testing '&rFormatter' on 'NULL' is non-sense as the pointer to a
reference can never be NULL as far as I know. Please correct me, if I am
wrong.

Yes, you are right. (&rFormatter==NULL) is strange.


I have learned from Herbert that in this case it could be that '&rFormatter==NULL'. 'rFormatter' is a parameter passed to the method and it could that method is called like <ScCellFormat::GetString(..., *pFormatter, ...)> while 'pFormatter==NULL'

Best regards, Oliver.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to