summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/doc/docnew.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/sw/source/core/doc/docnew.cxx b/sw/source/core/doc/docnew.cxx
index 60430ef56a8b..f06d1683d50d 100644
--- a/sw/source/core/doc/docnew.cxx
+++ b/sw/source/core/doc/docnew.cxx
@@ -1248,10 +1248,7 @@ void SwDoc::Paste( const SwDoc& rSource )
{
for ( sal_uInt16 i = 0; i < rSource.GetSpzFrmFmts()->size(); ++i )
{
- sal_Bool bInsWithFmt = sal_True;
const SwFrmFmt& rCpyFmt = *(*rSource.GetSpzFrmFmts())[i];
- if( bInsWithFmt )
- {
SwFmtAnchor aAnchor( rCpyFmt.GetAnchor() );
if (FLY_AT_PAGE == aAnchor.GetAnchorId())
{
@@ -1260,7 +1257,6 @@ void SwDoc::Paste( const SwDoc& rSource )
else
continue;
this->CopyLayoutFmt( rCpyFmt, aAnchor, true, true );
- }
}
}
}