summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorLaurent Balland-Poirier <laurent.balland-poirier@laposte.net>2016-05-04 23:47:09 +0200
committerEike Rathke <erack@redhat.com>2016-05-09 14:07:14 +0000
commit8f8fa5674d3853ed8ca6762b512e6b63c53f1039 (patch)
treee7b0aa155d19450cb1b4436f57540d97c72b264a /include/svl
parentc47f6d35ee101531452b3035aa5042709d8a44e6 (diff)
tdf#88657 calculate denominator length
Get length of denominator which could be different from numerator length Change-Id: I9f5c10917185eb029d52efbc0f20be5f81c74d10 Reviewed-on: https://gerrit.libreoffice.org/24712 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')
-rw-r--r--include/svl/zformat.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svl/zformat.hxx b/include/svl/zformat.hxx
index 41179583c0c7..916a0d3004c8 100644
--- a/include/svl/zformat.hxx
+++ b/include/svl/zformat.hxx
@@ -249,7 +249,7 @@ public:
// nPos == 0xFFFF => last substring
short GetNumForType( sal_uInt16 nNumFor, sal_uInt16 nPos ) const;
- sal_Int32 GetForcedDenominatorForType( sal_uInt16 nNumFor ) const;
+ OUString GetDenominatorString( sal_uInt16 nNumFor ) 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