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
diff --git a/sfx2/source/sidebar/Tools.cxx b/sfx2/source/sidebar/Tools.cxx
index c49177e..7811c9c 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();