summaryrefslogtreecommitdiff
path: root/include/svl/zformat.hxx
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2016-05-02 10:41:26 +0200
committerEike Rathke <erack@redhat.com>2016-05-03 12:18:52 +0000
commit48435bfddf38de2b31df50e70438ef7946a0c3cb (patch)
tree451fc0b03c5a644b6583e3dc3e0f92bda734f400 /include/svl/zformat.hxx
parent88a79589843efc24f8af99bd511a1fff0f7bebef (diff)
tdf#97835 No decimal separtor for empty decimal
If decimal part is empty (with #) decimal separator should not be added. It was not removed if there was text after value. Change-Id: I891cad8b6bec0f27f4cef8aea80c5dad264f062d Reviewed-on: https://gerrit.libreoffice.org/24586 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/svl/zformat.hxx')
-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 52a0deb3b10f..41179583c0c7 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -572,7 +572,8 @@ private:
sal_Int32 k,
sal_uInt16 j,
sal_uInt16 nIx,
- sal_Int32 nDigCnt );
+ sal_Int32 nDigCnt,
+ bool bAddDecSep = true );
// Helper function to fill in the group (AKA thousand) separators
// or to skip additional digits