summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-17 17:36:16 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-17 17:51:26 +0200
commitb8aa2fa9506967e20fd0db0af30de599f91cf10a (patch)
treee3edc8cef0f866fdebacc472ed1cc750a4c89d37 /sw
parentbcd8f0ce8c5ed677be168085913300b8bab02e75 (diff)
warning C4701: potentially uninitialized local variable used
Change-Id: Id82ecd3bfa7da6740d475ccaeea599529b090fe6
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())
{