summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-07-10 23:41:45 +0200
committerMichael Stahl <mstahl@redhat.com>2012-07-11 00:15:06 +0200
commitad36a0caadcfd3b8d44377689b539c370a25fb1c (patch)
tree152f2a32dd4107f9f87cc6e5b06efe88ad3a460c /svtools
parent95d0593986a659475729e4a8b50242d05503116c (diff)
GraphicManager::ImplCreateOutput: warning C4701:
potentially uninitialized local variable used Change-Id: I5820b8258a0255a4c9d1c52f2f88bcc3428786ba
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/graphic/grfmgr2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/graphic/grfmgr2.cxx b/svtools/source/graphic/grfmgr2.cxx
index 9e8490c66c5e..f072f77c6f8c 100644
--- a/svtools/source/graphic/grfmgr2.cxx
+++ b/svtools/source/graphic/grfmgr2.cxx
@@ -301,7 +301,7 @@ sal_Bool GraphicManager::ImplCreateOutput( OutputDevice* pOutputDevice,
Point aOutPoint;
Size aOutSize;
const Size& rBitmapSizePixels = rBitmapEx.GetSizePixel();
- long nStartX, nStartY, nEndX, nEndY;
+ long nStartX(-1), nStartY(-1), nEndX(-1), nEndY(-1);
bool isHorizontalMirrored = ( rAttr.GetMirrorFlags() & BMP_MIRROR_HORZ ) != 0;
bool isVerticalMirrored = ( rAttr.GetMirrorFlags() & BMP_MIRROR_VERT ) != 0;