summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2017-03-03 21:51:26 +0100
committerEike Rathke <erack@redhat.com>2017-03-14 16:31:45 +0000
commit5f2db66ad0de6fbbae309850516e17eaa17934cb (patch)
tree5a699ffb72903c13068391a4fa39a92a12dc374d /include/svl
parent578c8dea8ec7d377d738f8d821b741d0f3e8b9e4 (diff)
tdf#106252 Engineering notation for Precision as shown
with more tests Change-Id: Ifc77b847af4eaaa3c85e904e46c2663b6d768241 Reviewed-on: https://gerrit.libreoffice.org/35089 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/zformat.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index 85250ac23e08..1dd05d2e9146 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, 10000, ... and only by the number formatter!