Resolves: fdo#52226 swap in graphics on .docx and .rtf export

Change-Id: Ie818b382c0b17760c720ff2f2c73a3697989f97e