summaryrefslogtreecommitdiffstats
path: root/sw/source/uibase/uno
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-10-09 18:43:44 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-11-15 15:09:58 +0100
commit89969e671eb481f39fb408aa1f45dd7f1bd6eef0 (patch)
treece698a7f14faa7f439197ca4dcc3b4263d4114ff /sw/source/uibase/uno
parentsw_redlinehide_3: trivial conversions in new code in fntcache.cxx (diff)
downloadcore-89969e671eb481f39fb408aa1f45dd7f1bd6eef0.tar.gz
core-89969e671eb481f39fb408aa1f45dd7f1bd6eef0.zip
sw_redlinehide_3: SwXTextViewCursor::getString() without redlines
Change-Id: I734e27c95e20373f8de32f8db2183275c94144e5
Diffstat (limited to 'sw/source/uibase/uno')
-rw-r--r--sw/source/uibase/uno/unotxvw.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx
index f1c9b72afcaa..c96b8e243f5c 100644
--- a/sw/source/uibase/uno/unotxvw.cxx
+++ b/sw/source/uibase/uno/unotxvw.cxx
@@ -1381,7 +1381,8 @@ OUString SwXTextViewCursor::getString()
{
SwWrtShell& rSh = m_pView->GetWrtShell();
SwPaM* pShellCursor = rSh.GetCursor();
- SwUnoCursorHelper::GetTextFromPam(*pShellCursor, uRet);
+ SwUnoCursorHelper::GetTextFromPam(*pShellCursor, uRet,
+ rSh.GetLayout());
break;
}
default:;//prevent warning