diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2018-01-07 18:42:35 +0900 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2018-01-08 14:13:40 +0100 |
commit | 08de4faa001307a758e182ea981c769357c976bf (patch) | |
tree | 9bef621692d89bda058b2e82f65251a9186749fa | |
parent | b9bfda051a4248a0e209fa9fa59a4bfe8a48b853 (diff) |
starmath: Replace confusing sal_uIntPtr with sal_Int32
Change-Id: If823398b75217f4a5a5bb5c83106d4d9d2e5f6be
Reviewed-on: https://gerrit.libreoffice.org/47527
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | starmath/source/cfgitem.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |