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:
@@ -3218,10 +3218,7 @@ void DomainMapper::lcl_positivePercentage(const OUString& rText)
|
|||||||
|
|
||||||
void DomainMapper::lcl_utext(const sal_uInt8 * data_, size_t len)
|
void DomainMapper::lcl_utext(const sal_uInt8 * data_, size_t len)
|
||||||
{
|
{
|
||||||
OUString sText;
|
OUString sText(reinterpret_cast<const sal_Unicode *>(data_), len);
|
||||||
OUStringBuffer aBuffer = OUStringBuffer(sal::static_int_cast<int>(len));
|
|
||||||
aBuffer.append( reinterpret_cast<const sal_Unicode *>(data_), len);
|
|
||||||
sText = aBuffer.makeStringAndClear();
|
|
||||||
const RubyInfo & aInfo = m_pImpl->GetRubyInfo();
|
const RubyInfo & aInfo = m_pImpl->GetRubyInfo();
|
||||||
if (aInfo.nSprmId == NS_ooxml::LN_CT_Ruby_rt)
|
if (aInfo.nSprmId == NS_ooxml::LN_CT_Ruby_rt)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user