diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx index af4aa267f48c..5edaf5a945b8 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 eee064b7433d..b1d3db915880 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);