diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-17 09:14:00 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-17 15:19:40 +0100 |
commit | 748d94bdbe7cbc4d0e59da17db8a130d9326ea85 (patch) | |
tree | 54937c712f1ec550c52a851f5be716773425601f /vcl | |
parent | c45fa7f54dff30a66ff37fea6d03225d738ca7d3 (diff) |
coverity#1247651 Uninitialized pointer field
Change-Id: Iff58777cfe8422be90fb59189f98a0f34b0aa102
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/workben/icontest.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vcl/workben/icontest.cxx b/vcl/workben/icontest.cxx index 4373cd48a170..83939772f4f2 100644 --- a/vcl/workben/icontest.cxx +++ b/vcl/workben/icontest.cxx @@ -95,8 +95,10 @@ public: virtual void Paint( const Rectangle& rRect ) SAL_OVERRIDE; }; -MyWorkWindow::MyWorkWindow( vcl::Window* pParent, WinBits nWinStyle ) : - WorkWindow( pParent, nWinStyle ) +MyWorkWindow::MyWorkWindow( vcl::Window* pParent, WinBits nWinStyle ) + : WorkWindow(pParent, nWinStyle) + , mpBitmap(NULL) + , mpFixedBitmap(NULL) { mnPaintCount = 0; mnStartTime = getTimeNow(); |