diff options
author | Laurent Balland-Poirier <laurent.balland-poirier@laposte.net> | 2017-03-03 21:51:26 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-04-10 15:48:39 +0200 |
commit | 3c68b6520e743e8ed9afa908a461f766952e030f (patch) | |
tree | a8f13af32e92fa81501bbe7a9afccef01ef69959 /include | |
parent | e9d13f703f212b317682c35877571903da18b4af (diff) |
tdf#106252 Engineering notation for Precision as shown
with more tests
Reviewed-on: https://gerrit.libreoffice.org/35089
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 5f2db66ad0de6fbbae309850516e17eaa17934cb)
Change-Id: Ifc77b847af4eaaa3c85e904e46c2663b6d768241
Reviewed-on: https://gerrit.libreoffice.org/36369
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/zformat.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx index 34525acad43e..4d108815d9a7 100644 --- a/include/svl/zformat.hxx +++ b/include/svl/zformat.hxx @@ -223,7 +223,8 @@ public: { return NumFor[nIx].Info().nCntPost; } /// Count of integer digits - sal_uInt16 GetFormatIntegerDigits() const { return NumFor[0].Info().nCntPre; } + sal_uInt16 GetFormatIntegerDigits( sal_uInt16 nIx = 0 ) const + { return NumFor[nIx].Info().nCntPre; } //! Read/write access on a special sal_uInt16 component, may only be used on the //! standard format 0, 5000, ... and only by the number formatter! |