remove pAttrArray nullptr checks
I missed these in 2e2e30d7ae
.
Change-Id: Ib0f75a2a0f018521e2468e83bdf41196f4b66c3e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131152
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
This commit is contained in:
@@ -848,12 +848,12 @@ inline bool ScColumn::HasVisibleAttrIn( SCROW nStartRow, SCROW nEndRow ) const
|
||||
|
||||
inline SCSIZE ScColumn::GetPatternCount() const
|
||||
{
|
||||
return pAttrArray ? pAttrArray->Count() : 0;
|
||||
return pAttrArray->Count();
|
||||
}
|
||||
|
||||
inline SCSIZE ScColumn::GetPatternCount( SCROW nRow1, SCROW nRow2 ) const
|
||||
{
|
||||
return pAttrArray ? pAttrArray->Count( nRow1, nRow2 ) : 0;
|
||||
return pAttrArray->Count( nRow1, nRow2 );
|
||||
}
|
||||
|
||||
inline bool ScColumn::ReservePatternCount( SCSIZE nReserve )
|
||||
|
Reference in New Issue
Block a user