summaryrefslogtreecommitdiff
path: root/vcl/source/image
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/image')
-rw-r--r--vcl/source/image/Image.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/source/image/Image.cxx b/vcl/source/image/Image.cxx
index ecb514c5bbac..e22f5f814304 100644
--- a/vcl/source/image/Image.cxx
+++ b/vcl/source/image/Image.cxx
@@ -70,6 +70,11 @@ Image::Image(const OUString & rFileUrl)
}
}
+Image::Image(StockImage, const OUString & rFileUrl)
+ : mpImplData(new ImplImage(rFileUrl))
+{
+}
+
void Image::ImplInit(const BitmapEx& rBitmapEx)
{
if (!rBitmapEx.IsEmpty())