summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-03-28 16:14:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-03-28 16:14:35 +0100
commita5a52ba164d275f0e45e42875328fe68df32cf08 (patch)
treea4098aa45ef4da4b4464ece424395ca7a1ce13d8 /svx
parent4f9b072072b263a2a663d5148f4e9f751ca17c6d (diff)
warning C4701: potentially uninitialized local variable used
Change-Id: I0ab3c52fa12d519c6afcbaf701dd42f69c728ff0
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/paraprev.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/dialog/paraprev.cxx b/svx/source/dialog/paraprev.cxx
index d31e5b981a44..9eaa96470580 100644
--- a/svx/source/dialog/paraprev.cxx
+++ b/svx/source/dialog/paraprev.cxx
@@ -144,7 +144,7 @@ void SvxParaPrevWindow::DrawParagraph( bool bAll )
if ( (3 <= i) && (5 >= i) )
{
- long nLW;
+ long nLW = long();
switch( i )
{
case 3: nLW = aLineSiz.Width() * 8 / 10; break;