Kaydet (Commit) 263a6df9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

-Werror,-Wsign-compare (clang-cl)

Change-Id: Ia9cd493df71c520259c96a71f11237ee97937b32
Reviewed-on: https://gerrit.libreoffice.org/46515Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst c3250baa
......@@ -837,7 +837,7 @@ OUString ScDPResultData::GetMeasureString(long nMeasure, bool bForce, ScSubTotal
{
// for user-specified subtotal function with all measures,
// display only function name
assert(eForceFunc < SAL_N_ELEMENTS(aFuncStrIds));
assert(unsigned(eForceFunc) < SAL_N_ELEMENTS(aFuncStrIds));
if ( eForceFunc != SUBTOTAL_FUNC_NONE )
return ScGlobal::GetRscString(aFuncStrIds[eForceFunc]);
......
......@@ -390,7 +390,7 @@ const char* aFuncStrIds[] = {
OUString ScDPUtil::getDisplayedMeasureName(const OUString& rName, ScSubTotalFunc eFunc)
{
OUStringBuffer aRet;
assert(eFunc < SAL_N_ELEMENTS(aFuncStrIds));
assert(unsigned(eFunc) < SAL_N_ELEMENTS(aFuncStrIds));
const char* pId = aFuncStrIds[eFunc];
if (pId)
{
......
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