diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-02-11 20:57:25 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-02-12 10:10:23 +0100 |
commit | 1a490b71feb2340ac4f58ff1bef983ef1115e2f3 (patch) | |
tree | 40632c2beb0f0fd7209bf975505e3b2b3a214f94 /include | |
parent | c08ec94ae04656e5178a704445080fe6887aac5a (diff) |
allow using css::graphic::XGraphic to set menu image
Change-Id: Ice5062f26ea300aec73d5fd849484c8bc4fc43bd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110793
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/weld.hxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 7921948027a3..c33bd97a098a 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -2220,6 +2220,7 @@ public: virtual void insert(int pos, const OUString& rId, const OUString& rStr, const OUString* pIconName, VirtualDevice* pImageSurface, + const css::uno::Reference<css::graphic::XGraphic>* pImage, TriState eCheckRadioFalse) = 0; @@ -2232,23 +2233,23 @@ public: void append(const OUString& rId, const OUString& rStr) { - insert(-1, rId, rStr, nullptr, nullptr, TRISTATE_INDET); + insert(-1, rId, rStr, nullptr, nullptr, nullptr, TRISTATE_INDET); } void append_check(const OUString& rId, const OUString& rStr) { - insert(-1, rId, rStr, nullptr, nullptr, TRISTATE_TRUE); + insert(-1, rId, rStr, nullptr, nullptr, nullptr, TRISTATE_TRUE); } void append_radio(const OUString& rId, const OUString& rStr) { - insert(-1, rId, rStr, nullptr, nullptr, TRISTATE_FALSE); + insert(-1, rId, rStr, nullptr, nullptr, nullptr, TRISTATE_FALSE); } void append(const OUString& rId, const OUString& rStr, const OUString& rImage) { - insert(-1, rId, rStr, &rImage, nullptr, TRISTATE_INDET); + insert(-1, rId, rStr, &rImage, nullptr, nullptr, TRISTATE_INDET); } void append(const OUString& rId, const OUString& rStr, VirtualDevice& rImage) { - insert(-1, rId, rStr, nullptr, &rImage, TRISTATE_INDET); + insert(-1, rId, rStr, nullptr, &rImage, nullptr, TRISTATE_INDET); } // return the number of toplevel nodes |