summaryrefslogtreecommitdiff
path: root/vcl/source/edit/textdoc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/edit/textdoc.cxx')
-rw-r--r--vcl/source/edit/textdoc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/edit/textdoc.cxx b/vcl/source/edit/textdoc.cxx
index b8908f0ee6c7..bca776388ee0 100644
--- a/vcl/source/edit/textdoc.cxx
+++ b/vcl/source/edit/textdoc.cxx
@@ -495,7 +495,7 @@ TextPaM TextDoc::InsertParaBreak( const TextPaM& rPaM )
return aPaM;
}
-TextPaM TextDoc::ConnectParagraphs( TextNode* pLeft, TextNode* pRight )
+TextPaM TextDoc::ConnectParagraphs( TextNode* pLeft, const TextNode* pRight )
{
sal_Int32 nPrevLen = pLeft->GetText().getLength();
pLeft->Append( *pRight );