summaryrefslogtreecommitdiff
path: root/include/vcl/image.hxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2018-11-26 16:59:42 +0000
committerMichael Meeks <michael.meeks@collabora.com>2019-09-24 14:53:40 +0200
commitac6fe36ac6ccebf3bf891b891bd47c8e3744a056 (patch)
tree3676e69f33602592aec30b1998c978cb1b4fd778 /include/vcl/image.hxx
parent6b82bbd9e7c3aab343c5e7e9e3fb0bcfc70e2cb7 (diff)
Use lazy-loading stock Image to simplify framework image lists.
Project stock names through XGraphic via origin URL. (cherry picked from commit 77b88eebaadebb626108172e4f2de36c60960051) Change-Id: Ib445694f7c142a163ef7e7bc0beea39b88b99e14 Reviewed-on: https://gerrit.libreoffice.org/79420 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'include/vcl/image.hxx')
-rw-r--r--include/vcl/image.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx
index 4c5047518bf3..1267e1a439e5 100644
--- a/include/vcl/image.hxx
+++ b/include/vcl/image.hxx
@@ -51,7 +51,6 @@ enum class StockImage { Yes };
class SAL_WARN_UNUSED VCL_DLLPUBLIC Image
{
friend class ::OutputDevice;
-
public:
Image();
explicit Image(BitmapEx const & rBitmapEx);
@@ -72,6 +71,8 @@ public:
return !(Image::operator==(rImage));
}
+ SAL_DLLPRIVATE OUString GetStock() const;
+
void Draw(OutputDevice* pOutDev, const Point& rPos, DrawImageFlags nStyle, const Size* pSize = nullptr);
private: