unnecessary realloc
the transliterate functions will realloc the Sequence, no need to do it here Change-Id: Ia53e79b7586679b5c8a2a47c11b86e336195a4cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135872 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
parent
8e27e5b010
commit
06c3bd9337
1 changed files with 0 additions and 2 deletions
|
@ -295,8 +295,6 @@ TransliterationImpl::transliterate( const OUString& inStr, sal_Int32 startPos, s
|
|||
if (numCascade == 0)
|
||||
return inStr;
|
||||
|
||||
if (offset.getLength() != nCount)
|
||||
offset.realloc(nCount);
|
||||
if (numCascade == 1)
|
||||
{
|
||||
if ( startPos == 0 && nCount == inStr.getLength() )
|
||||
|
|
Loading…
Reference in a new issue