coverity#1267642 Logically dead code
reviewed the 120+ callers and confirmed it is never NULL Change-Id: I5c029dc35b265d9e11a0a222170dad4d6a55ed2f
This commit is contained in:
@@ -116,8 +116,6 @@ IXFStyleRet XFStyleManager::AddStyle(IXFStyle *pStyle)
|
||||
assert(pStyle);
|
||||
OUString name;
|
||||
|
||||
if( !pStyle )
|
||||
return aRet;
|
||||
name = pStyle->GetStyleName();
|
||||
|
||||
if( pStyle->GetStyleFamily() == enumXFStyleText )
|
||||
|
Reference in New Issue
Block a user