Kaydet (Commit) 7546afda authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1242526 silence Arguments in wrong order

Change-Id: I6b05747772c324c6ab285082b3a6de4cadabe0aa
üst cb3b282d
...@@ -320,8 +320,10 @@ uno::Reference< XAccessible > SAL_CALL ScAccessiblePreviewTable::getAccessibleCe ...@@ -320,8 +320,10 @@ uno::Reference< XAccessible > SAL_CALL ScAccessiblePreviewTable::getAccessibleCe
ScAddress aCellPos( static_cast<SCCOL>(rColInfo.nDocIndex), static_cast<SCROW>(rRowInfo.nDocIndex), mpTableInfo->GetTab() ); ScAddress aCellPos( static_cast<SCCOL>(rColInfo.nDocIndex), static_cast<SCROW>(rRowInfo.nDocIndex), mpTableInfo->GetTab() );
if ( rColInfo.bIsHeader || rRowInfo.bIsHeader ) if ( rColInfo.bIsHeader || rRowInfo.bIsHeader )
{ {
ScAccessiblePreviewHeaderCell* pHeaderCell = new ScAccessiblePreviewHeaderCell( this, mpViewShell, aCellPos, const bool bRotatedColHeader = rRowInfo.bIsHeader;
rRowInfo.bIsHeader, rColInfo.bIsHeader, nNewIndex ); const bool bRotatedRowHeader = rColInfo.bIsHeader;
ScAccessiblePreviewHeaderCell* pHeaderCell = new ScAccessiblePreviewHeaderCell(this, mpViewShell, aCellPos,
bRotatedColHeader, bRotatedRowHeader, nNewIndex);
xRet = pHeaderCell; xRet = pHeaderCell;
pHeaderCell->Init(); pHeaderCell->Init();
} }
......
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