| commit | 617b902fed3cb65f66bafd6868befd08067e1feb | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Thu Oct 06 15:27:30 2022 +0100 |
| committer | Xisco Fauli <xiscofauli@libreoffice.org> | Fri Oct 07 12:24:12 2022 +0200 |
| tree | e5f311b21f0412f449ab499b5a5eafc9a591ee8b | |
| parent | 4cad7711c35091e90515c446b4cae43c07ab4d90 [diff] |
tdf#150622 sidebar icons empty in High Contrast mode Change-Id: Icfa78f0f655ee467c62cbc309b8e57ac310a73e7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140970 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Jenkins
diff --git a/sfx2/source/sidebar/Tools.cxx b/sfx2/source/sidebar/Tools.cxx index 3c68866..727e85a 100644 --- a/sfx2/source/sidebar/Tools.cxx +++ b/sfx2/source/sidebar/Tools.cxx
@@ -41,7 +41,7 @@ css::uno::Reference<css::graphic::XGraphic> Tools::GetImage( const OUString& rsHighContrastImageURL, const Reference<frame::XFrame>& rxFrame) { if (Theme::IsHighContrastMode()) if (Theme::IsHighContrastMode() && !rsHighContrastImageURL.isEmpty()) return GetImage(rsHighContrastImageURL, rxFrame); else return GetImage(rsImageURL, rxFrame);