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(),