summaryrefslogtreecommitdiffstats
path: root/vcl/source/window/toolbox2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/toolbox2.cxx')
-rw-r--r--vcl/source/window/toolbox2.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 28bf171a3421..402757ab18dd 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -2061,8 +2061,6 @@ void ToolBox::ImplUpdateImageList()
ImageListType eType = vcl::HIGHCONTRAST_NO;
if (eType != mpData->meImageListType)
{
- vcl::IImageListProvider* pImageListProvider = mpData->mpImageListProvider;
- SetImageList( pImageListProvider->getImageList(eType) );
mpData->meImageListType = eType;
}
}