From ad36a0caadcfd3b8d44377689b539c370a25fb1c Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Tue, 10 Jul 2012 23:41:45 +0200 Subject: GraphicManager::ImplCreateOutput: warning C4701: potentially uninitialized local variable used Change-Id: I5820b8258a0255a4c9d1c52f2f88bcc3428786ba --- svtools/source/graphic/grfmgr2.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools/source') 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; -- cgit