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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed May 27 12:57:59 UTC 2020


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

New commits:
commit 2aeb70d1e90a9a7910a26fca62b34fb9ea60bd95
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed May 27 11:54:41 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed May 27 14:57:22 2020 +0200

    no GtkRadioButton with :wrap hack exist anymore
    
    Change-Id: Ia2e3dbfb9cafbfb7d0463633277185e1a96bbc0c
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94940
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index cb783e5425d5..ba672930e9ba 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -1900,9 +1900,6 @@ VclPtr<vcl::Window> VclBuilder::makeObject(vcl::Window *pParent, const OString &
     {
         extractGroup(id, rMap);
         WinBits nBits = WB_CLIPCHILDREN|WB_CENTER|WB_VCENTER|WB_3DLOOK;
-        OUString sWrap = BuilderUtils::extractCustomProperty(rMap);
-        if (!sWrap.isEmpty())
-            nBits |= WB_WORDBREAK;
         VclPtr<RadioButton> xButton = VclPtr<RadioButton>::Create(pParent, nBits);
         xButton->SetImageAlign(ImageAlign::Left); //default to left
         xWindow = xButton;


More information about the Libreoffice-commits mailing list