From f2598f43568e7de1c84e6ac7e8e01b658e7f06c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 22 Mar 2014 19:14:05 +0000 Subject: [PATCH] coverity#704372 Logically dead code handled in earlier special case Change-Id: I5f1a821504b899802a078d4c7b83eb7cc45e8f97 --- sw/source/core/uibase/app/docstyle.cxx | 3 --- 1 file changed, 3 deletions(-) diff --git a/sw/source/core/uibase/app/docstyle.cxx b/sw/source/core/uibase/app/docstyle.cxx index 7681b3287714..a1351bc6ed3d 100644 --- a/sw/source/core/uibase/app/docstyle.cxx +++ b/sw/source/core/uibase/app/docstyle.cxx @@ -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(),