summaryrefslogtreecommitdiff
path: root/include/vcl/image.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/image.hxx')
-rw-r--r--include/vcl/image.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx
index 526243bcf382..6f324c25b852 100644
--- a/include/vcl/image.hxx
+++ b/include/vcl/image.hxx
@@ -56,6 +56,7 @@ class SAL_WARN_UNUSED VCL_DLLPUBLIC Image
public:
Image();
explicit Image( const BitmapEx& rBitmapEx );
+ explicit Image( const Bitmap& rBitmap ) : Image( BitmapEx(rBitmap) ) {}
explicit Image( const css::uno::Reference< css::graphic::XGraphic >& rxGraphic );
explicit Image( const OUString &rPNGFileUrl );