diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-06-26 19:15:11 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-06-26 19:15:11 +0000 |
commit | 1f60bd317e7dce92c0a6f2b40f132a1a497697f6 (patch) | |
tree | 9aac7e542fdb4ca94d843388df08b40f2c9d0f4f /canvas | |
parent | db0191654299c98da6bea9a8a13fb6588c244618 (diff) |
#i10000# warning fixes
Diffstat (limited to 'canvas')
-rw-r--r-- | canvas/source/vcl/canvas.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/canvas/source/vcl/canvas.cxx b/canvas/source/vcl/canvas.cxx index 0ff37d3248e3..9cc81cd08e57 100644 --- a/canvas/source/vcl/canvas.cxx +++ b/canvas/source/vcl/canvas.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: canvas.cxx,v $ - * $Revision: 1.2 $ + * $Revision: 1.3 $ * * This file is part of OpenOffice.org. * @@ -108,7 +108,7 @@ namespace vclcanvas maArguments[0].getValueTypeClass() == uno::TypeClass_HYPER, "Canvas::initialize: wrong number of arguments, or wrong types" ); - sal_Int64 nPtr; + sal_Int64 nPtr = 0; maArguments[0] >>= nPtr; OutputDevice* pOutDev = reinterpret_cast<OutputDevice*>(nPtr); |