diff options
author | Eike Rathke <erack@redhat.com> | 2013-03-18 18:59:09 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-18 19:01:20 +0100 |
commit | 9a46e5614f5a0e0bdce3c497f81ca529da8fb5c0 (patch) | |
tree | fadb2801c35a11642616eeb98ebfd896005eb2ff /svl | |
parent | use switch instead of multiple ifs (diff) | |
download | core-9a46e5614f5a0e0bdce3c497f81ca529da8fb5c0.tar.gz core-9a46e5614f5a0e0bdce3c497f81ca529da8fb5c0.zip |
renamed method, it determines if symbol combines
Change-Id: I60fec73900b861363c02ec51ecbf9dcfd7edb167
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/numbers/zformat.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/numbers/zformat.cxx b/svl/source/numbers/zformat.cxx index 869b724c1543..ee1a27d0c690 100644 --- a/svl/source/numbers/zformat.cxx +++ b/svl/source/numbers/zformat.cxx @@ -1292,7 +1292,7 @@ sal_Unicode toUniChar(sal_uInt8 n) return sal_Unicode(c); } -bool IsSingleSymbol( OUStringBuffer& rStringBuffer, sal_Int32 nPos ) +bool IsCombiningSymbol( OUStringBuffer& rStringBuffer, sal_Int32 nPos ) { bool bRet = false; while (nPos >= 0) @@ -1560,7 +1560,7 @@ short SvNumberformat::ImpNextSymbol(OUStringBuffer& rString, } break; case SsGetString: - if (cToken == ';' && (nPos < 2 || !IsSingleSymbol( rString, nPos-2))) + if (cToken == ';' && (nPos < 2 || !IsCombiningSymbol( rString, nPos-2))) { eState = SsStop; } |