remove non-sensical OSL_ENSURE
That started as OSL_ENSURE( (nTabId == 0) || (getFilterType() == FILTER_OOXML) || (getBiff() == BIFF8), then with c4cb83504faa1d241a116001fd27f7148de300ba became OSL_ENSURE( (nTabId == 0) || (getBiff() == BIFF8), then with e73c4d5013d7a0bf7d72db1773d7125ab91cf269 became OSL_ENSURE( nTabId == 0, which makes no sense anymore and gets hit in ~every call. Change-Id: I5dfe3dd53310ab2f977ad574acb1ec9874775020
This commit is contained in:
parent
7f45ebf7fa
commit
d12c7aee5c
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user