summaryrefslogtreecommitdiff
path: root/svl
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-19 13:33:45 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-19 13:35:00 +0100
commit760ef2ef7457aad9486a12a7f21da2b298749bf1 (patch)
tree20b18d2bb3d0fdaeafc9fdbd96d52e28bcc6e107 /svl
parent4e0766bced731504dc141857b865dfcbc9b4fdfa (diff)
SvNumberFormatter: warning C4701 pot. uninitialized variable nCheckPos used
Change-Id: I497d7ddc90bdfed9cd49e0b0c988a74f733bfa36
Diffstat (limited to 'svl')
-rw-r--r--svl/source/numbers/zforlist.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/numbers/zforlist.cxx b/svl/source/numbers/zforlist.cxx
index ae027731d1b0..f6094178aea0 100644
--- a/svl/source/numbers/zforlist.cxx
+++ b/svl/source/numbers/zforlist.cxx
@@ -422,7 +422,7 @@ void SvNumberFormatter::ReplaceSystemCL( LanguageType eOldLanguage )
ChangeIntl( eOldLanguage );
LanguageType eLge = eOldLanguage; // ConvertMode changes this
bool bCheck = false;
- xub_StrLen nCheckPos;
+ xub_StrLen nCheckPos = 0;
SvNumberformat* pNewEntry = new SvNumberformat( aString, pFormatScanner,
pStringScanner, nCheckPos, eLge );
if ( nCheckPos != 0 )