diff options
author | ilhan <ilhanyesil@gmx.de> | 2020-03-25 14:01:57 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2020-03-26 12:51:08 +0100 |
commit | 9e7c6ec4fae6fed40cbbf79a3e6e0b491357a178 (patch) | |
tree | dcc4cd38c0c854dd4d2f688110f8931e5cc2f47a /sfx2/source | |
parent | 2c033abfb010201c453f84373969f0a3b746be7b (diff) |
tdf#130310 Load Sidebar Icons for extensions
Changed else statement to include load of extension icons.
Change-Id: I76ad068825ad1406329ca3807b2a919988091cbd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91051
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/sidebar/Tools.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sfx2/source/sidebar/Tools.cxx b/sfx2/source/sidebar/Tools.cxx index c49177e97a11..7811c9c7c82d 100644 --- a/sfx2/source/sidebar/Tools.cxx +++ b/sfx2/source/sidebar/Tools.cxx @@ -51,12 +51,10 @@ Image Tools::GetImage ( { if (rsURL.getLength() > 0) { - OUString sPath; - if (rsURL.startsWith(".uno:")) return vcl::CommandInfoProvider::GetImageForCommand(rsURL, rxFrame); - else if (rsURL.startsWith("private:graphicrepository/", &sPath)) + else return Image(rsURL); } return Image(); |