starmath/source/cfgitem.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 08de4faa001307a758e182ea981c769357c976bf Author: Takeshi Abe <[email protected]> Date: Sun Jan 7 18:42:35 2018 +0900 starmath: Replace confusing sal_uIntPtr with sal_Int32 Change-Id: If823398b75217f4a5a5bb5c83106d4d9d2e5f6be Reviewed-on: https://gerrit.libreoffice.org/47527 Tested-by: Jenkins <[email protected]> Reviewed-by: Michael Stahl <[email protected]> diff --git a/starmath/source/cfgitem.cxx b/starmath/source/cfgitem.cxx index 318410638772..170bfe84b796 100644 --- a/starmath/source/cfgitem.cxx +++ b/starmath/source/cfgitem.cxx @@ -490,11 +490,11 @@ void SmMathConfig::GetSymbols( std::vector< SmSym > &rSymbols ) const void SmMathConfig::SetSymbols( const std::vector< SmSym > &rNewSymbols ) { - sal_uIntPtr nCount = rNewSymbols.size(); + auto nCount = sal::static_int_cast<sal_Int32>(rNewSymbols.size()); Sequence< OUString > aNames = lcl_GetSymbolPropertyNames(); const OUString *pNames = aNames.getConstArray(); - sal_uIntPtr nSymbolProps = sal::static_int_cast< sal_uInt32 >(aNames.getLength()); + sal_Int32 nSymbolProps = aNames.getLength(); Sequence< PropertyValue > aValues( nCount * nSymbolProps ); PropertyValue *pValues = aValues.getArray(); _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
