Let ScDocument::RoundValueAsShown accept optional...
commite0820c761f37169a0ab02e8b9bf64c328ffdc29e
authorDennis Francis <dennis.francis@collabora.co.uk>
Tue, 8 May 2018 09:27:15 +0000 (8 14:57 +0530)
committerDennis Francis <dennis.francis@collabora.co.uk>
Tue, 8 May 2018 15:28:02 +0000 (8 17:28 +0200)
tree7bba7196c3e22f092b43daae791222203c32ebed
parentf8b08262f9f698cb027855f089676f81b3951ab1
Let ScDocument::RoundValueAsShown accept optional...

interpreter context for getting format table from it rather than
accessing the format table from the document if possible.
Always use interpreter context to obtain number format via
ScDocument::GetNumberFormat() whenever possible.

Change-Id: Ib812cda25dc2e80bc79c81d26bc7c7b8a5c997e1
Reviewed-on: https://gerrit.libreoffice.org/53970
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
sc/inc/document.hxx
sc/source/core/data/documen4.cxx
sc/source/core/data/formulacell.cxx
sc/source/core/tool/interpr4.cxx