summaryrefslogtreecommitdiff
path: root/sw/source/core/tox/ToxTextGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/tox/ToxTextGenerator.cxx')
-rw-r--r--sw/source/core/tox/ToxTextGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/tox/ToxTextGenerator.cxx b/sw/source/core/tox/ToxTextGenerator.cxx
index 9ff14b6eedb6..31dab3d5b2fe 100644
--- a/sw/source/core/tox/ToxTextGenerator.cxx
+++ b/sw/source/core/tox/ToxTextGenerator.cxx
@@ -316,7 +316,7 @@ ToxTextGenerator::HandleTextToken(const SwTOXSortTabBase& source, SwAttrPool& po
result.autoFormats.push_back(std::move(clone));
- ModelToViewHelper aConversionMap( *pSrc, ExpandMode::ExpandFields );
+ ModelToViewHelper aConversionMap(*pSrc, nullptr, ExpandMode::ExpandFields);
result.startPositions.push_back(
stripper.GetPositionInStrippedString(aConversionMap.ConvertToViewPosition(
hint->GetStart() )));