coverity#1267642 Logically dead code

reviewed the 120+ callers and confirmed it is never NULL

Change-Id: I5c029dc35b265d9e11a0a222170dad4d6a55ed2f
This commit is contained in:
Caolán McNamara
2015-02-06 12:28:33 +00:00
parent c7258cfccd
commit 03f52fb64c

View File

@@ -116,8 +116,6 @@ IXFStyleRet XFStyleManager::AddStyle(IXFStyle *pStyle)
assert(pStyle);
OUString name;
if( !pStyle )
return aRet;
name = pStyle->GetStyleName();
if( pStyle->GetStyleFamily() == enumXFStyleText )