summaryrefslogtreecommitdiff
path: root/vcl/source/window/msgbox.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-19 13:06:07 +0200
committerNoel Grandin <noel@peralex.com>2016-02-22 08:18:08 +0200
commitf17f977d0ad5b4c51a8f58b43901f72de001a56d (patch)
tree24e25caa72db9d21b1728f52f17758ab103e9c76 /vcl/source/window/msgbox.cxx
parentacd1c51791bdf522d7ffd8dd225fb59cd2eb17ff (diff)
loplugin:write only fields
Change-Id: I45895e9845a9037da207f001fece427452ed499f
Diffstat (limited to 'vcl/source/window/msgbox.cxx')
-rw-r--r--vcl/source/window/msgbox.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/msgbox.cxx b/vcl/source/window/msgbox.cxx
index 600a1a88e1fe..7fb7f28dd12b 100644
--- a/vcl/source/window/msgbox.cxx
+++ b/vcl/source/window/msgbox.cxx
@@ -41,7 +41,7 @@ static void ImplInitMsgBoxImageList()
if ( !pSVData->maWinData.mpMsgBoxImgList )
{
ResMgr* pResMgr = ImplGetResMgr();
- pSVData->maWinData.mpMsgBoxImgList = new ImageList(4);
+ pSVData->maWinData.mpMsgBoxImgList = new ImageList();
if( pResMgr )
{
Color aNonAlphaMask( 0xC0, 0xC0, 0xC0 );