remove non-sensical OSL_ENSURE
That started as OSL_ENSURE( (nTabId == 0) || (getFilterType() == FILTER_OOXML) || (getBiff() == BIFF8), then withc4cb83504f
became OSL_ENSURE( (nTabId == 0) || (getBiff() == BIFF8), then withe73c4d5013
became OSL_ENSURE( nTabId == 0, which makes no sense anymore and gets hit in ~every call. Change-Id: I5dfe3dd53310ab2f977ad574acb1ec9874775020
This commit is contained in:
@@ -435,8 +435,6 @@ sal_Int32 ExternalLink::getDocumentLinkIndex() const
|
||||
sal_Int32 ExternalLink::getSheetCacheIndex( sal_Int32 nTabId ) const
|
||||
{
|
||||
OSL_ENSURE( meLinkType == LINKTYPE_EXTERNAL, "ExternalLink::getSheetCacheIndex - invalid link type" );
|
||||
OSL_ENSURE( nTabId == 0,
|
||||
"ExternalLink::getSheetCacheIndex - invalid sheet index" );
|
||||
return ContainerHelper::getVectorElement( maSheetCaches, nTabId, -1 );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user