summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-03-22 19:14:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-03-22 19:14:10 +0000
commitf2598f43568e7de1c84e6ac7e8e01b658e7f06c8 (patch)
treeb16ac901bfed0ff9a5478aea6c0ca4869953b319 /sw
parent4fecc8cb22c61b2915627ec5732babbe9c16fd43 (diff)
coverity#704372 Logically dead code
handled in earlier special case Change-Id: I5f1a821504b899802a078d4c7b83eb7cc45e8f97
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/uibase/app/docstyle.cxx3
1 files changed, 0 insertions, 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(),