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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed Feb 19 16:56:21 UTC 2020


 vcl/source/window/builder.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 73b6b3b4a22f047718d91a7057dba3a096171976
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Feb 19 15:38:17 2020 +0000
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Feb 19 17:55:41 2020 +0100

    start center is too narrow
    
    since...
    
    commit c214ad383d5e7dc0a18dbe6cbfc1e32fea934fd9
    Author: Caolán McNamara <caolanm at redhat.com>
    Date:   Tue Feb 18 15:22:23 2020 +0000
    
        support WB_SMALLSTYLE via small-toolbar icon size
    
    Change-Id: Iaef2b9485d7bbd0f380be18e40220b5383d03d3e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/89044
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index f9fbbf90e25e..4abd075b5d58 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -669,7 +669,7 @@ VclBuilder::VclBuilder(vcl::Window* pParent, const OUString& sUIDir, const OUStr
             if (!elem.m_bRadio)
             {
                 pTargetButton->SetModeImage(pImage->GetImage());
-                if (pImage->GetStyle() | WB_SMALLSTYLE)
+                if (pImage->GetStyle() & WB_SMALLSTYLE)
                 {
                     pTargetButton->SetStyle(pTargetButton->GetStyle() | WB_SMALLSTYLE);
                     Size aSz(pTargetButton->GetModeImage().GetSizePixel());


More information about the Libreoffice-commits mailing list