summaryrefslogtreecommitdiff
path: root/editeng/source/editeng/impedit3.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-29 01:44:32 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-29 01:44:32 -0400
commit8bf6eb4519b4b92390570341a10872e65fd95dc1 (patch)
tree0b418d679dfdfe0b9cc50b7b235e7900c120f570 /editeng/source/editeng/impedit3.cxx
parentea8f2cbee079932e7f5d9ab646996b472a120c76 (diff)
Revert "ContentList no longer a child class of DummyContentList."
Diffstat (limited to 'editeng/source/editeng/impedit3.cxx')
-rw-r--r--editeng/source/editeng/impedit3.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx
index 14cf4e468892..507c70025895 100644
--- a/editeng/source/editeng/impedit3.cxx
+++ b/editeng/source/editeng/impedit3.cxx
@@ -3720,7 +3720,7 @@ void ImpEditEngine::InsertContent( ContentNode* pNode, sal_uInt16 nPos )
DBG_ASSERT( IsInUndo(), "InsertContent only for Undo()!" );
ParaPortion* pNew = new ParaPortion( pNode );
GetParaPortions().Insert(nPos, pNew);
- aEditDoc.Insert(nPos, pNode);
+ aEditDoc.Insert( pNode, nPos );
if ( IsCallParaInsertedOrDeleted() )
GetEditEnginePtr()->ParagraphInserted( nPos );
}