diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/cfgitem.cxx | 4 | ||||
-rw-r--r-- | starmath/source/unomodel.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx index 6e94785d305b..ea4e4c01634a 100644 --- a/starmath/source/cfgitem.cxx +++ b/starmath/source/cfgitem.cxx @@ -518,7 +518,7 @@ void SmMathConfig::SetSymbols( const std::vector< SmSym > &rNewSymbols ) // Char pVal->Name = aNodeNameDelim; pVal->Name += *pName++; - pVal->Value <<= static_cast< sal_UCS4 >( rSymbol.GetCharacter() ); + pVal->Value <<= rSymbol.GetCharacter(); pVal++; // Set pVal->Name = aNodeNameDelim; @@ -903,7 +903,7 @@ void SmMathConfig::SaveFormat() // StandardFormat/Textmode *pValue++ <<= pFormat->IsTextmode(); // StandardFormat/GreekCharStyle - *pValue++ <<= static_cast<sal_Int16>(pFormat->GetGreekCharStyle()); + *pValue++ <<= pFormat->GetGreekCharStyle(); // StandardFormat/ScaleNormalBracket *pValue++ <<= pFormat->IsScaleNormalBrackets(); // StandardFormat/HorizontalAlignment diff --git a/starmath/source/unomodel.cxx b/starmath/source/unomodel.cxx index 2037b222b163..8e9f584ce64a 100644 --- a/starmath/source/unomodel.cxx +++ b/starmath/source/unomodel.cxx @@ -762,7 +762,7 @@ void SmModel::_getPropertyValues( const PropertyMapEntry **ppEntries, Any *pValu break; case HANDLE_GREEK_CHAR_STYLE : - *pValue <<= static_cast<sal_Int16>(aFormat.GetGreekCharStyle()); + *pValue <<= aFormat.GetGreekCharStyle(); break; case HANDLE_ALIGNMENT : |