pass more parameters by const reference

Change-Id: I46be96d6ba9f3fecb590c4be62775824194c380a
avoid crash when finding a non chart OLE2 shape

Change-Id: I5f69e3dabe67aa09f6a77c65e196401622f4b951