diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-12-30 13:50:16 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-12-30 13:51:22 +0100 |
commit | 4fd2b87dc4cc30de67fb26436ed9aee26b738368 (patch) | |
tree | 422ab72b8b7f2511b8c955bfeac7db4eb5b5d0da /vcl | |
parent | 74e2d9b1e070a09cbbecfa305797566496420a01 (diff) |
Useless since LoadThemedImageList (reported by cppcheck)
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/button.cxx | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index f41cf74eb7fe..e49e0cbb47a1 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -2938,21 +2938,6 @@ Image RadioButton::GetRadioImage( const AllSettings& rSettings, sal_uInt16 nFlag pSVData->maCtrlData.mnLastRadioWColor = rStyleSettings.GetWindowColor().GetColor(); pSVData->maCtrlData.mnLastRadioLColor = rStyleSettings.GetLightColor().GetColor(); - Color pColorAry1[6]; - Color pColorAry2[6]; - pColorAry1[0] = Color( 0xC0, 0xC0, 0xC0 ); - pColorAry1[1] = Color( 0xFF, 0xFF, 0x00 ); - pColorAry1[2] = Color( 0xFF, 0xFF, 0xFF ); - pColorAry1[3] = Color( 0x80, 0x80, 0x80 ); - pColorAry1[4] = Color( 0x00, 0x00, 0x00 ); - pColorAry1[5] = Color( 0x00, 0xFF, 0x00 ); - pColorAry2[0] = rStyleSettings.GetFaceColor(); - pColorAry2[1] = rStyleSettings.GetWindowColor(); - pColorAry2[2] = rStyleSettings.GetLightColor(); - pColorAry2[3] = rStyleSettings.GetShadowColor(); - pColorAry2[4] = rStyleSettings.GetDarkShadowColor(); - pColorAry2[5] = rStyleSettings.GetWindowTextColor(); - ResMgr* pResMgr = ImplGetResMgr(); pSVData->maCtrlData.mpRadioImgList = new ImageList(); if( pResMgr ) |