coverity#704372 Logically dead code
handled in earlier special case Change-Id: I5f1a821504b899802a078d4c7b83eb7cc45e8f97
This commit is contained in:
@@ -2212,9 +2212,6 @@ void SwDocStyleSheetPool::Replace( SfxStyleSheetBase& rSource,
|
||||
pTargetFmt = ((SwDocStyleSheet&)rTarget).GetFrmFmt();
|
||||
break;
|
||||
case SFX_STYLE_FAMILY_PAGE:
|
||||
if( bSwSrcPool )
|
||||
pSourceFmt = &((SwDocStyleSheet&)rSource).GetPageDesc()
|
||||
->GetMaster();
|
||||
{
|
||||
SwPageDesc *pDesc = rDoc.FindPageDescByName(
|
||||
((SwDocStyleSheet&)rTarget).GetPageDesc()->GetName(),
|
||||
|
Reference in New Issue
Block a user