summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/txtnode/ndtxt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index 1a710a814d47..85336a8e42a6 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -3107,7 +3107,7 @@ const ModelToViewHelper::ConversionMap*
{
const SwTxtAttr* pAttr = (*pSwpHints2)[i];
bool bReplace = false;
- xub_StrLen nFieldPos;
+ xub_StrLen nFieldPos(STRING_NOTFOUND);
rtl::OUString aExpand;
switch (pAttr->Which())
{