summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-02-21 21:11:54 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-21 21:11:54 +0100
commite052f55236e2cdd4ebe6a126b570415b5a1b4ea5 (patch)
treed54976cd53f2b0ceba732aeeebbb65e0084d7ab9 /sw
parentb30d961ab590327ff18cfc12ee4eda396a5ebee6 (diff)
spurious warning C4701: potentially uninitialized local variable
Change-Id: I37f96df0ca6003bd811f156448e6b4990d2222aa
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/edit/autofmt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 5f58eb03d80e..99edb81ca531 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -1110,7 +1110,7 @@ void SwAutoFormat::DeleteAktPara( bool bStart, bool bEnd )
// Loesche Blanks am Ende vom akt. und am Anfang vom naechsten
aDelPam.DeleteMark();
aDelPam.GetPoint()->nNode = aNdIdx;
- xub_StrLen nPos;
+ xub_StrLen nPos(0);
if( bStart && 0 != ( nPos = GetLeadingBlanks( pAktTxtNd->GetTxt() )))
{
aDelPam.GetPoint()->nContent.Assign( pAktTxtNd, 0 );