oox: cast to avoid compile error

Change-Id: I1ef4f4917f2b97d44c9b39f36fd17b0be6995a4e