diff --git a/sw/source/core/doc/DocumentContentOperationsManager.cxx b/sw/source/core/doc/DocumentContentOperationsManager.cxx index c801788ffab0..0ae2356b9928 100644 --- a/sw/source/core/doc/DocumentContentOperationsManager.cxx +++ b/sw/source/core/doc/DocumentContentOperationsManager.cxx @@ -1465,7 +1465,7 @@ namespace //local functions originally from docfmt.cxx if( pNode->IsTxtNode() && pCharSet && pCharSet->Count() ) { SwRegHistory history( pNode, *pNode, pHistory ); - history.InsertItems(*pCharSet, + (void)history.InsertItems(*pCharSet, 0, aCntEnd.GetIndex(), nFlags); }