summaryrefslogtreecommitdiff
path: root/vcl/source/gdi
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-11-25 14:53:55 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-11-26 12:22:11 +0000
commit98d00292861a8addef571523cc8556b36b0b1129 (patch)
tree25dcaf9db26e435539c2f772ece4b5e96120bd50 /vcl/source/gdi
parent49fb1b398698db6faa56d340694ee38b1a867a8d (diff)
coverity#1340225 Missing break in switch
Change-Id: I9f76340ccdb32f4337d0ebe85e9957fe8a3b19f9 (cherry picked from commit 43e2b417970cb7968430a1e9ef2a5fb54af8434c) Reviewed-on: https://gerrit.libreoffice.org/20176 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/source/gdi')
-rw-r--r--vcl/source/gdi/virdev.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx
index cab8fa3953f3..085237fee1a5 100644
--- a/vcl/source/gdi/virdev.cxx
+++ b/vcl/source/gdi/virdev.cxx
@@ -165,6 +165,7 @@ void VirtualDevice::ImplInitVirDev( const OutputDevice* pOutDev,
{
case DeviceFormat::BITMASK:
mnBitCount = 1;
+ break;
default:
mnBitCount = pOutDev->GetBitCount();
break;