[Libreoffice-commits] core.git: vcl/source

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Tue Nov 19 12:25:23 UTC 2019


 vcl/source/gdi/FileDefinitionWidgetDraw.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 299a13e8f7307b38ac10ad351273e2559e21ab16
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Mon Nov 18 23:19:52 2019 +0100
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Tue Nov 19 13:24:29 2019 +0100

    widget theme: try the "online" theme even when not using LOKit
    
    Change-Id: I07e493d22af11321e3a87c507741897fe0baf130
    Reviewed-on: https://gerrit.libreoffice.org/83136
    Tested-by: Jenkins
    Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>

diff --git a/vcl/source/gdi/FileDefinitionWidgetDraw.cxx b/vcl/source/gdi/FileDefinitionWidgetDraw.cxx
index 580f3783143b..b381c1d71f28 100644
--- a/vcl/source/gdi/FileDefinitionWidgetDraw.cxx
+++ b/vcl/source/gdi/FileDefinitionWidgetDraw.cxx
@@ -100,8 +100,7 @@ FileDefinitionWidgetDraw::FileDefinitionWidgetDraw(SalGraphics& rGraphics)
     : m_rGraphics(rGraphics)
     , m_bIsActive(false)
 {
-    if (comphelper::LibreOfficeKit::isActive())
-        m_pWidgetDefinition = getWidgetDefinitionForTheme("online");
+    m_pWidgetDefinition = getWidgetDefinitionForTheme("online");
 #ifdef IOS
     if (!m_pWidgetDefinition)
         m_pWidgetDefinition = getWidgetDefinitionForTheme("ios");


More information about the Libreoffice-commits mailing list