diff options
Diffstat (limited to 'sw/source/core/unocore/unoport.cxx')
-rw-r--r-- | sw/source/core/unocore/unoport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoport.cxx b/sw/source/core/unocore/unoport.cxx index 6275e317caf9..e7bb8572fd4a 100644 --- a/sw/source/core/unocore/unoport.cxx +++ b/sw/source/core/unocore/unoport.cxx @@ -173,7 +173,7 @@ OUString SwXTextPortion::getString() if ( pTextNd ) { const sal_Int32 nStt = rUnoCursor.Start()->nContent.GetIndex(); - aText = pTextNd->GetExpandText( nStt, + aText = pTextNd->GetExpandText(nullptr, nStt, rUnoCursor.End()->nContent.GetIndex() - nStt ); } return aText; |