diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-11-04 17:20:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-11-05 11:20:00 +0100 |
commit | 663aab4c2dd5d64d49b91a30cfa8f057729eae36 (patch) | |
tree | 78f20506486b2d6b3af9affe9afb7e10a0c70254 /sfx2/inc/sidebar/Tools.hxx | |
parent | 91c5642bf0ee48ff91181d779c3a84c768f340df (diff) |
use XGraphic instead of Image
we don't appear to use the Icon in our own code, though there may
be a route to set it from an extension or via config
Change-Id: I5e169db6335a8e64aeb3d2e6672f5a4b7c65c57f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105309
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/inc/sidebar/Tools.hxx')
-rw-r--r-- | sfx2/inc/sidebar/Tools.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/inc/sidebar/Tools.hxx b/sfx2/inc/sidebar/Tools.hxx index 97611a7a6b18..b5c0c693713c 100644 --- a/sfx2/inc/sidebar/Tools.hxx +++ b/sfx2/inc/sidebar/Tools.hxx @@ -36,12 +36,12 @@ namespace sfx2::sidebar { class Tools { public: - static Image GetImage ( + static css::uno::Reference<css::graphic::XGraphic> GetImage( const OUString& rsImageURL, const OUString& rsHighContrastImageURL, const css::uno::Reference<css::frame::XFrame>& rxFrame); - static Image GetImage ( + static css::uno::Reference<css::graphic::XGraphic> GetImage( const OUString& rsURL, const css::uno::Reference<css::frame::XFrame>& rxFrame); |