diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:40:53 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-17 10:40:53 +0100 |
commit | 5bdaf82cce321d4a86914f1ee4e8abfea384b218 (patch) | |
tree | 18db598f74699b0ac3b9e1c022af63ffcde305a2 /sd | |
parent | 7ab065c124e8110b14b6c91f210cea3c5f0d0c83 (diff) |
Don't assume sal_Unicode is unsigned short
Change-Id: I508520556cd5755d81740b00c7815eebdef6576e
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/eppt/pptx-text.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/filter/eppt/pptx-text.cxx b/sd/source/filter/eppt/pptx-text.cxx index 8eae702749a2..c5f53c9a1251 100644 --- a/sd/source/filter/eppt/pptx-text.cxx +++ b/sd/source/filter/eppt/pptx-text.cxx @@ -249,7 +249,7 @@ void PortionObj::ImplGetPortionValues( FontCollection& rFontCollection, bool bGe sal_Int16 nScriptType = SvtLanguageOptions::FromSvtScriptTypeToI18N( SvtLanguageOptions::GetScriptTypeOfLanguage( Application::GetSettings().GetLanguageTag().getLanguageType() ) ); if ( mpText && mnTextSize && xPPTBreakIter.is() ) { - OUString sT( mpText, mnTextSize ); + OUString sT( reinterpret_cast<sal_Unicode *>(mpText), mnTextSize ); nScriptType = xPPTBreakIter->getScriptType( sT, 0 ); } if ( nScriptType != css::i18n::ScriptType::COMPLEX ) |