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/source | |
parent | 9377aeb5fade9baee55fb3301b057f203a62124b (diff) |
renamed method, it determines if symbol combines
Change-Id: I60fec73900b861363c02ec51ecbf9dcfd7edb167
Diffstat (limited to 'svl/source')
-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; } |