diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-07-10 23:41:45 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-07-11 00:15:06 +0200 |
commit | ad36a0caadcfd3b8d44377689b539c370a25fb1c (patch) | |
tree | 152f2a32dd4107f9f87cc6e5b06efe88ad3a460c /svtools/source/graphic | |
parent | 95d0593986a659475729e4a8b50242d05503116c (diff) |
GraphicManager::ImplCreateOutput: warning C4701:
potentially uninitialized local variable used
Change-Id: I5820b8258a0255a4c9d1c52f2f88bcc3428786ba
Diffstat (limited to 'svtools/source/graphic')
-rw-r--r-- | svtools/source/graphic/grfmgr2.cxx | 2 |
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; |