summaryrefslogtreecommitdiff
path: root/vcl/source/control/throbber.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-18 08:57:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-19 07:49:33 +0100
commitbe359b156b2be7624121a2f2ec5bc6c2d6a195a8 (patch)
treecd34dff8c2c29abe499f4bffb1b454a70d12dd67 /vcl/source/control/throbber.cxx
parentdbb50f3fe9692dc0ccd7225158fad353e7eab0b5 (diff)
loplugin:unusedenumconstants
Change-Id: I9dc4b369872a7c6c076ae9be1dcdf2f8385af8a7 Reviewed-on: https://gerrit.libreoffice.org/46684 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/control/throbber.cxx')
-rw-r--r--vcl/source/control/throbber.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/vcl/source/control/throbber.cxx b/vcl/source/control/throbber.cxx
index 9bd549848393..b45e25cec9fb 100644
--- a/vcl/source/control/throbber.cxx
+++ b/vcl/source/control/throbber.cxx
@@ -189,9 +189,6 @@ void Throbber::setImageList( ::std::vector< Image > const& i_images )
case ImageSet::N16px: index = 0; break;
case ImageSet::N32px: index = 1; break;
case ImageSet::N64px: index = 2; break;
- case ImageSet::Auto:
- OSL_ENSURE( false, "Throbber::getDefaultImageURLs: illegal image set!" );
- return aImageURLs;
}
aImageURLs.reserve( nImageCounts[index] );