summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-23 17:19:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-23 20:38:27 +0000
commit04fafa35fc42c22dbbaf22971a170dcbc0ca7288 (patch)
treef1bd5028c46dffd6c644498d270ec5f04d9ff2e6
parentbf110d40efcc79efb9247fdce5d2f54bafa6550b (diff)
drop one of the Image ctors
Change-Id: I51178fa30418136d4e5d266715d450f1c967167c Reviewed-on: https://gerrit.libreoffice.org/33475 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--include/vcl/image.hxx1
-rw-r--r--vcl/source/image/Image.cxx5
2 files changed, 0 insertions, 6 deletions
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);