OOXMLFastTokenHandler::getIdentifier tries to lookup a key by an integer based token, however as per the comments in the source code, Boost.TokenMap doesn't index via an integer!
Should we just remove the code, or throw an exception? Does the interface XFastTokenHandler even use getIdentier via an integer based token for any other classes?
Sorry, the file is:
Chris Sherlock committed a patch related to this issue.
It has been pushed to "master":
fdo#73536 getIdentifier cannot be used
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:
Affected users are encouraged to test the fix and report feedback.
The commit message reads:
"OOXMLFastTokenHandler uses a Boost tokenmap, but tokenmaps cannot be indexed by an integer. I've removed the #if 0 code and generate a RuntimeException as nobody should use the functions getIdentier or getUTF8Identifier!"
Actually, I decided on an assert as a better course of events.