[Libreoffice-commits] core.git: vcl/source

Tor Lillqvist tlillqvist at suse.com
Fri May 10 05:57:28 PDT 2013


 vcl/source/gdi/bitmap3.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 60c1369dc00270c1bcc0d037d3c04895b6bc0c47
Author: Tor Lillqvist <tlillqvist at suse.com>
Date:   Fri May 10 15:55:19 2013 +0300

    WaE: unreachable code
    
    Change-Id: Ia3e12c18a30e5aa0f37db5035cd308b06b2b5655

diff --git a/vcl/source/gdi/bitmap3.cxx b/vcl/source/gdi/bitmap3.cxx
index 80852e6..f647cdb 100644
--- a/vcl/source/gdi/bitmap3.cxx
+++ b/vcl/source/gdi/bitmap3.cxx
@@ -864,7 +864,6 @@ sal_Bool Bitmap::Scale( const double& rScaleX, const double& rScaleY, sal_uLong
     {
         switch(nScaleFlag)
         {
-            default:
             case BMP_SCALE_NONE :
             {
                 return false;
@@ -925,7 +924,6 @@ sal_Bool Bitmap::Scale( const double& rScaleX, const double& rScaleY, sal_uLong
         }
     }
 
-    // should not happen
     return false;
 }
 


More information about the Libreoffice-commits mailing list