Small cleanup
Change-Id: I68ffa3f79df0acf484868c13817d76582edd7a41 Reviewed-on: https://gerrit.libreoffice.org/39790 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
parent
e3b82542f2
commit
8f40e90fdf
@ -3218,10 +3218,7 @@ void DomainMapper::lcl_positivePercentage(const OUString& rText)
|
||||
|
||||
void DomainMapper::lcl_utext(const sal_uInt8 * data_, size_t len)
|
||||
{
|
||||
OUString sText;
|
||||
OUStringBuffer aBuffer = OUStringBuffer(sal::static_int_cast<int>(len));
|
||||
aBuffer.append( reinterpret_cast<const sal_Unicode *>(data_), len);
|
||||
sText = aBuffer.makeStringAndClear();
|
||||
OUString sText(reinterpret_cast<const sal_Unicode *>(data_), len);
|
||||
const RubyInfo & aInfo = m_pImpl->GetRubyInfo();
|
||||
if (aInfo.nSprmId == NS_ooxml::LN_CT_Ruby_rt)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user