Resolves: fdo#72961 Crash when you open ODFver.1.0/1.1 created by LibO-3.5/3.6

It seems pAction may be NULL so let's keep on to check it.

Change-Id: Ie1a48c96bfa930364053c7c3ad0c940559544e33
Reviewed-on: https://gerrit.libreoffice.org/7228
Reviewed-by: Andrzej Hunt <andrzej.hunt@collabora.com>
Tested-by: Andrzej Hunt <andrzej.hunt@collabora.com>
(cherry picked from commit 6cc888babdc3e6414e55f57c0df65135f2ef4804)