coverity#735322 Unchecked return value
Change-Id: I12f9392813f5fdd6f2d36398ea00a5cad812cd26
This commit is contained in:
@@ -896,7 +896,8 @@ ScNamedRangeObj* ScLocalNamedRangesObj::GetObjectByIndex_Impl( sal_uInt16 nIndex
|
||||
OUString aName = mxSheet->getName();
|
||||
ScDocument& rDoc = pDocShell->GetDocument();
|
||||
SCTAB nTab;
|
||||
rDoc.GetTable( aName, nTab );
|
||||
if (!rDoc.GetTable(aName, nTab))
|
||||
return NULL;
|
||||
|
||||
ScRangeName* pNames = rDoc.GetRangeName( nTab );
|
||||
if (!pNames)
|
||||
|
Reference in New Issue
Block a user