#i125071# check SwFmt::GetItemState()'s ppItem parameter for NULL

before assigning something into it. The ppItem default value is NULL
so it is allowed. The method should be prepared to handle that.