summaryrefslogtreecommitdiff
path: root/include/svx/numfmtsh.hxx
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2015-05-03 15:09:20 +0200
committerEike Rathke <erack@redhat.com>2015-05-06 10:45:50 +0000
commitf630f9598f2e328cbe37aff5af0e93c027a94de5 (patch)
tree7b089aa8b8b4ab412037a298c4b0fc2e2308dad4 /include/svx/numfmtsh.hxx
parenta5a17610d5eff80387c7330527793de87cc82e58 (diff)
tdf#90258 Toggle Thousand Separator with Engineering Notation
If scientific format is selected, "Thousands separator" option is almost useless. It could be replaced by "Engineering Notation". Rebase of https://gerrit.libreoffice.org/15152 Update with more robust tests. Change-Id: Ie2b88b1f149fce26c32a43ace623cf1f45f38e6e Reviewed-on: https://gerrit.libreoffice.org/15606 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'include/svx/numfmtsh.hxx')
-rw-r--r--include/svx/numfmtsh.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svx/numfmtsh.hxx b/include/svx/numfmtsh.hxx
index 5d972675d8de..a5b7ba4c84de 100644
--- a/include/svx/numfmtsh.hxx
+++ b/include/svx/numfmtsh.hxx
@@ -128,6 +128,8 @@ public:
sal_uInt16& rLeadingZeroes,
sal_uInt16& rCatLbPos );
+ sal_uInt16 GetFormatIntegerDigits( const OUString& rFormat ) const;
+
void MakePreviewString( const OUString& rFormatStr,
OUString& rPreviewStr,
Color*& rpFontColor );