vcl/unx/gtk3/gtkinst.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b5f5b178dd542a2b4fcb20b664ee1b7bad151976
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Fri May 14 08:55:42 2021 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Fri May 14 15:23:06 2021 +0200

    gtk4: fix border-width
    
    Change-Id: Id20baca2aa264024ab6d19c520685415bccf4d27
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115601
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 8dcd671c3d6b..84dfab75928b 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -17573,7 +17573,7 @@ void ConvertTree(const Reference<css::xml::dom::XNode>& 
xNode)
             OUString sName(xName->getNodeValue().replace('_', '-'));
 
             if (sName == "border-width")
-                sBorderWidth = OUString::number(12);
+                sBorderWidth = xChild->getFirstChild()->getNodeValue();
 
             if (sName == "type-hint" || sName == "skip-taskbar-hint" ||
                 sName == "can-default" || sName == "has-default" ||
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to