The two typedefs in chart2/source/controller/inc/ObjectHierarchy.hxx should be removed and we should use the correct types everywhere. This is more or less a trivial search&replace task but make sure to compile chart2 after doing the changes.
krishna keshav committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bd9644249d19fdf1825eccdac992db592d5ec850 tdf#100913 Remove tOID typedefs in ObjectHierarchy class It will be available in 5.3.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.