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 1a4c065df2cd..c722d60a83a4 100644 --- a/sw/source/core/unocore/unoport.cxx +++ b/sw/source/core/unocore/unoport.cxx @@ -168,7 +168,7 @@ OUString SwXTextPortion::getString() SwUnoCursor& rUnoCursor = GetCursor(); // TextPortions are always within a paragraph - SwTextNode* pTextNd = rUnoCursor.GetNode().GetTextNode(); + SwTextNode* pTextNd = rUnoCursor.GetPointNode().GetTextNode(); if ( pTextNd ) { const sal_Int32 nStt = rUnoCursor.Start()->GetContentIndex(); |