summaryrefslogtreecommitdiff
path: root/sw/source/core/tox/tox.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/tox/tox.cxx')
-rw-r--r--sw/source/core/tox/tox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/tox/tox.cxx b/sw/source/core/tox/tox.cxx
index f7dca91d90d9..0a653db9d137 100644
--- a/sw/source/core/tox/tox.cxx
+++ b/sw/source/core/tox/tox.cxx
@@ -177,7 +177,7 @@ OUString SwTOXMark::GetText() const
if( pEndIdx )
{
const sal_Int32 nStt = m_pTextAttr->GetStart();
- return m_pTextAttr->GetpTextNd()->GetExpandText( nStt, *pEndIdx-nStt );
+ return m_pTextAttr->GetpTextNd()->GetExpandText(nullptr, nStt, *pEndIdx-nStt);
}
}