fdo#39007: blind fix for renamed OS X restore-state file

Remove also a potential restorecount.txt file (as reported in the bug) in addition to a potential restorecount.plist.

Change-Id: I96fb688e9dda804f240cad8f2109c5880b544302
Reviewed-on: https://gerrit.libreoffice.org/7239
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Signed-off-by: Tor Lillqvist <tml@collabora.com>
fastparser: avoid std::stack::top() - cache it's results.

amazingly std::stack::top() takes 146 pseudo-cycles to do not much,
so instead cache the result in a single pointer in lieu of burning
that code.

Change-Id: Ie326be47da6cbad0850e5f1026a1632bb840b6b8
oox: fix crash with threaded xlsx loading by pre-allocating sheet storage.

Change-Id: I12c8afe6467bf3ae755faf8c6d01c6aa37d5be27