It seems to be caused by ooo-build/patches/src680/ooo59127.vcl.honourcairofont.diff where gdk_screen_get_default() return no screen probably.
$ find /tmp/openoffice.org-2.2.0 | xargs grep gdk_screen_get_font_options /tmp/openoffice.org-2.2.0/ooo-build/patches/src680/ooo59127.vcl.honourcairofont.diff:+ if (const cairo_font_options_t *pOptions = gdk_screen_get_font_options(gdk_screen_get_default()))
It seems to be caused by patches/ src680/ ooo59127. vcl.honourcairo font.diff get_default( ) return no screen probably.
ooo-build/
where gdk_screen_
$ find /tmp/openoffice .org-2. 2.0 | xargs grep gdk_screen_ get_font_ options .org-2. 2.0/ooo- build/patches/ src680/ ooo59127. vcl.honourcairo font.diff: + if (const cairo_font_ options_ t *pOptions = gdk_screen_ get_font_ options( gdk_screen_ get_default( )))
/tmp/openoffice