See task, there may be bitmap-filled objects in files that have a logical size of (0, 0), despite the bitmap having valid data. That leads to problems *inside* cairo paint, so I have to test and avoid that. Change-Id: I18db3b030fb5cdf77caa5afd1bf901095fa1c67b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/189135 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>