ole2: fixed a code path issue