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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed May 27 14:02:38 UTC 2020


 vcl/source/window/builder.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit f50a0dc7d66d27a6dbd17091b1652ba603cd6726
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed May 27 11:56:15 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed May 27 16:01:58 2020 +0200

    no GtkLabel with :border hack exist anymore
    
    Change-Id: Iaa1826f9de8fb7cb02d7d44cd499a350ce9da835
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94942
    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 00116abc5034..a763b3035c03 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -2103,9 +2103,6 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
     else if (name == "GtkLabel")
     {
         WinBits nWinStyle = WB_CENTER|WB_VCENTER|WB_3DLOOK;
-        OUString sBorder = BuilderUtils::extractCustomProperty(rMap);
-        if (!sBorder.isEmpty())
-            nWinStyle |= WB_BORDER;
         extractMnemonicWidget(id, rMap);
         if (extractSelectable(rMap))
             xWindow = VclPtr<SelectableFixedText>::Create(pParent, nWinStyle);


More information about the Libreoffice-commits mailing list