diff options
author | Laurent BP <laurent.balland-poirier@laposte.net> | 2020-05-24 22:30:41 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2020-06-16 13:36:11 +0200 |
commit | 82365fe69c15c65589f709d539ed8e9c4f86a48e (patch) | |
tree | f6b0eb089a221aa4d1e02a60cc970646e26d98db /include | |
parent | e0ba88a08c9c16fd805e13956ac9676f4ddfd377 (diff) |
tdf#103414 Add/Delete decimal for 100th second
Use Add/Delete decimal to change precision of time and duration
Apply only to 100th second
Change-Id: I2ff1b01db7ee67645511fcf7ea6bf65055e92a8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94765
Tested-by: Jenkins
Reviewed-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 1861363d623963461905f42aa0b9dc2301f2eaaa)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/96349
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/zformat.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx index abd805d187e5..089a4b0e48e6 100644 --- a/include/svl/zformat.hxx +++ b/include/svl/zformat.hxx @@ -305,6 +305,10 @@ public: /// Round fNumber to its fraction representation double GetRoundFractionValue ( double fNumber ) const; + /// Create a format string for time with a new precision + OUString GetFormatStringForTimePrecision( int nPrecision ) const; + + /** If the count of string elements (substrings, ignoring [modifiers] and so on) in a subformat code nNumFor (0..3) is equal to the given number. Used by ImpSvNumberInputScan::IsNumberFormatMain() to detect a matched |