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

Caolán McNamara caolanm at redhat.com
Mon Jan 23 20:39:00 UTC 2017


 include/vcl/image.hxx      |    1 -
 vcl/source/image/Image.cxx |    5 -----
 2 files changed, 6 deletions(-)

New commits:
commit 04fafa35fc42c22dbbaf22971a170dcbc0ca7288
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jan 23 17:19:43 2017 +0000

    drop one of the Image ctors
    
    Change-Id: I51178fa30418136d4e5d266715d450f1c967167c
    Reviewed-on: https://gerrit.libreoffice.org/33475
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx
index af4aa26..5edaf5a 100644
--- a/include/vcl/image.hxx
+++ b/include/vcl/image.hxx
@@ -57,7 +57,6 @@ class SAL_WARN_UNUSED VCL_DLLPUBLIC Image
 public:
                     Image();
                     explicit Image( const BitmapEx& rBitmapEx );
-                    explicit Image( const Bitmap& rBitmap );
                     Image( const Bitmap& rBitmap, const Color& rColor );
                     explicit Image( const css::uno::Reference< css::graphic::XGraphic >& rxGraphic );
                     explicit Image( const OUString &rPNGFileUrl );
diff --git a/vcl/source/image/Image.cxx b/vcl/source/image/Image.cxx
index eee064b..b1d3db9 100644
--- a/vcl/source/image/Image.cxx
+++ b/vcl/source/image/Image.cxx
@@ -49,11 +49,6 @@ Image::Image(const BitmapEx& rBitmapEx)
     ImplInit(rBitmapEx);
 }
 
-Image::Image(const Bitmap& rBitmap)
-{
-    ImplInit(rBitmap);
-}
-
 Image::Image(const Bitmap& rBitmap, const Color& rColor)
 {
     const BitmapEx aBitmapEx(rBitmap, rColor);


More information about the Libreoffice-commits mailing list