Kaydet (Commit) e5b0aa9a authored tarafından Michael Stahl's avatar Michael Stahl

basic: -Werror=sign-compare

Change-Id: I7c776faa74a61b0d263c3b446972da9461b3d4f6
üst 666f8651
......@@ -731,7 +731,9 @@ void SbxDimArray::Put32( SbxVariable* p, const sal_Int32* pIdx )
sal_uInt32 SbxDimArray::Offset32( SbxArray* pPar )
{
#ifndef DISABLE_SCRIPTING
if( m_vDimensions.empty() || !pPar || ( ( m_vDimensions.size() != ( pPar->Count() - 1 ) ) && SbiRuntime::isVBAEnabled() ) )
if (m_vDimensions.empty() || !pPar ||
((m_vDimensions.size() != sal::static_int_cast<size_t>(pPar->Count() - 1))
&& SbiRuntime::isVBAEnabled()))
{
SetError( SbxERR_BOUNDS );
return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment