fdo#72733 Fix crash on abi2010-1.doc example

(cherry picked from commit 3b65cd24408bb78676dfa42cf01669970125068a)
Signed-off-by: David Tardon <dtardon@redhat.com>

Change-Id: Ib3e43e14f9223bc53f20f1241d9b8c0eaa5470ad