[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - vcl/source

Caolán McNamara caolanm at redhat.com
Thu Nov 26 04:22:39 PST 2015


 vcl/source/gdi/virdev.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 98d00292861a8addef571523cc8556b36b0b1129
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Nov 25 14:53:55 2015 +0000

    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 at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/gdi/virdev.cxx b/vcl/source/gdi/virdev.cxx
index cab8fa3..085237f 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;


More information about the Libreoffice-commits mailing list