diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2018-11-26 16:59:42 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2019-09-24 14:53:40 +0200 |
commit | ac6fe36ac6ccebf3bf891b891bd47c8e3744a056 (patch) | |
tree | 3676e69f33602592aec30b1998c978cb1b4fd778 /vcl/inc | |
parent | 6b82bbd9e7c3aab343c5e7e9e3fb0bcfc70e2cb7 (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 'vcl/inc')
-rw-r--r-- | vcl/inc/image.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vcl/inc/image.h b/vcl/inc/image.h index e37ada46ef15..c25015624ec4 100644 --- a/vcl/inc/image.h +++ b/vcl/inc/image.h @@ -48,6 +48,11 @@ public: return maStockName.getLength() > 0; } + OUString getStock() const + { + return maStockName; + } + /// get size in co-ordinates not scaled for HiDPI Size getSizePixel(); /// Legacy - the original bitmap |