summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unmove.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-13 09:29:14 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-13 09:29:14 +0000
commitbf8cfaab1b1a1fdd2ba53ab844cd6a5f4bb389c7 (patch)
treea981d3ccb974fab0ce728e1142ea86ca4e591472 /sw/source/core/undo/unmove.cxx
parentd2d3a7af1f370d25511beb13472eb6fd40bda64d (diff)
INTEGRATION: CWS swlists01 (1.10.192); FILE MERGED
2008/05/08 16:31:01 od 1.10.192.2: RESYNC: (1.10-1.11); FILE MERGED 2008/03/06 10:05:19 od 1.10.192.1: #i86732# - refactoring due to new paragraph list attributes - refactoring due to revised <SwTxtNode> interface - refactoring due to revised <SwFmt> interface - refactoring due to removed <SwNumRuleItem::pDefinedIn>
Diffstat (limited to 'sw/source/core/undo/unmove.cxx')
-rw-r--r--sw/source/core/undo/unmove.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/undo/unmove.cxx b/sw/source/core/undo/unmove.cxx
index 33e6b02c5875..067f6fda63c1 100644
--- a/sw/source/core/undo/unmove.cxx
+++ b/sw/source/core/undo/unmove.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: unmove.cxx,v $
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
* This file is part of OpenOffice.org.
*
@@ -66,7 +66,7 @@ SwUndoMove::SwUndoMove( const SwPaM& rRange, const SwPosition& rMvPos )
pHistory->CopyAttr( pTxtNd->GetpSwpHints(), nSttNode,
0, pTxtNd->GetTxt().Len(), FALSE );
if( pTxtNd->HasSwAttrSet() )
- pHistory->CopyFmtAttr( *pTxtNd->GetpSwAttrSet(), nSttNode, *(pTxtNd->GetDoc()) );
+ pHistory->CopyFmtAttr( *pTxtNd->GetpSwAttrSet(), nSttNode );
}
if( pEndTxtNd && pEndTxtNd != pTxtNd )
{
@@ -75,7 +75,7 @@ SwUndoMove::SwUndoMove( const SwPaM& rRange, const SwPosition& rMvPos )
pHistory->CopyAttr( pEndTxtNd->GetpSwpHints(), nEndNode,
0, pEndTxtNd->GetTxt().Len(), FALSE );
if( pEndTxtNd->HasSwAttrSet() )
- pHistory->CopyFmtAttr( *pEndTxtNd->GetpSwAttrSet(), nEndNode, *(pEndTxtNd->GetDoc()) );
+ pHistory->CopyFmtAttr( *pEndTxtNd->GetpSwAttrSet(), nEndNode );
}
if( 0 != (pTxtNd = rRange.GetDoc()->GetNodes()[ rMvPos.nNode ]->GetTxtNode() ))
@@ -85,7 +85,7 @@ SwUndoMove::SwUndoMove( const SwPaM& rRange, const SwPosition& rMvPos )
pHistory->CopyAttr( pTxtNd->GetpSwpHints(), nMvDestNode,
0, pTxtNd->GetTxt().Len(), FALSE );
if( pTxtNd->HasSwAttrSet() )
- pHistory->CopyFmtAttr( *pTxtNd->GetpSwAttrSet(), nMvDestNode, *(pTxtNd->GetDoc()) );
+ pHistory->CopyFmtAttr( *pTxtNd->GetpSwAttrSet(), nMvDestNode );
}