Skip to content

Commit

Permalink
Directly use OUStringBuffer::append overload taking a single sal_Unicode
Browse files Browse the repository at this point in the history
Change-Id: Ibccde3ec84b0ea4e4af74122013229a1793f5ca5
Reviewed-on: https://gerrit.libreoffice.org/81128
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
  • Loading branch information
stbergmann committed Oct 19, 2019
1 parent ac2c1fb commit 8169c04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion opencl/source/openclconfig.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ OUString getToken(const OUString& string, sal_Int32& index)
result.append(std::u16string_view(token).substr(i, p - i));
if (p < token.getLength() - 2)
{
result.append(OUStringChar(token.copy(p+1, 2).toInt32(16)));
result.append(sal_Unicode(token.copy(p+1, 2).toInt32(16)));
i = p + 3;
}
else
Expand Down
2 changes: 1 addition & 1 deletion sc/source/ui/dbgui/asciiopt.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static OUString lcl_decodeSepString( const OUString & rSepNums, bool & o_bMergeF
{
sal_Int32 nVal = aCode.toInt32();
if ( nVal )
aFieldSeps.append(OUStringChar(nVal));
aFieldSeps.append(sal_Unicode(nVal));
}
}
while ( nPos >= 0 );
Expand Down
2 changes: 1 addition & 1 deletion svl/source/passwordcontainer/passwordcontainer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ static std::vector< OUString > getInfoFromInd( const OUString& aInd )
aNum += OUStringChar( pLine[i] );
}

newItem.append( OUStringChar( aNum.toUInt32( 16 ) ) );
newItem.append( sal_Unicode( aNum.toUInt32( 16 ) ) );
pLine += 3;
}

Expand Down

0 comments on commit 8169c04

Please sign in to comment.