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:
Luboš Luňák
2022-03-07 16:42:55 +01:00
parent 9aa1753aea
commit c33fb83a62

View File

@@ -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 )