diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-07 14:25:36 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-12-07 20:14:45 +0100 |
commit | 0f104bf33530467380044b9eb4cd3f8bd9c283f1 (patch) | |
tree | c66cf53b554e3e89baf39170cbfc5c16007355b4 /vcl/source/image/Image.cxx | |
parent | 8fa5c0315046e741d301ed236c946c55693d1eee (diff) |
utility constructor for Image "private:graphicrepository" urls
Change-Id: I118039f4e47818a43da9302ce3550ea800522675
Reviewed-on: https://gerrit.libreoffice.org/64765
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl/source/image/Image.cxx')
-rw-r--r-- | vcl/source/image/Image.cxx | 5 |
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()) |