cid#1608367 silence Overflowed return value
Change-Id: I842a64e70814bfed4c04d25734a8b43dca85ca15 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171059 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
1eb3b00c82
commit
8da216bb4b
1 changed files with 2 additions and 2 deletions
|
@ -1466,7 +1466,7 @@ namespace {
|
|||
|
||||
sal_Unicode toUniChar(sal_uInt8 n)
|
||||
{
|
||||
char c;
|
||||
sal_Unicode c;
|
||||
if (n < 10)
|
||||
{
|
||||
c = '0' + n;
|
||||
|
@ -1475,7 +1475,7 @@ sal_Unicode toUniChar(sal_uInt8 n)
|
|||
{
|
||||
c = 'A' + n - 10;
|
||||
}
|
||||
return sal_Unicode(c);
|
||||
return c;
|
||||
}
|
||||
|
||||
bool IsCombiningSymbol( OUStringBuffer& rStringBuffer, sal_Int32 nPos )
|
||||
|
|
Loading…
Reference in a new issue