summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-06-17 12:23:51 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-06-17 16:27:41 +0200
commite5e928d5fb9db23e21fbf0d9e5529bce308db531 (patch)
tree3d21042e9443f0631ee801699df30ea9dade724b /vcl
parenta73969240d49b745359dcafdd7719bff0f4f4871 (diff)
gtk4: extend workaround for ampersand in paragraph dialog notebook labels
Change-Id: Ib165f1ab1173f7bb6500d5dfff5f82e4216d9f42 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/117380 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk4/convert3to4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx
index 0fdbdb7e6a93..9d5a4b7b12f6 100644
--- a/vcl/unx/gtk4/convert3to4.cxx
+++ b/vcl/unx/gtk4/convert3to4.cxx
@@ -1343,7 +1343,7 @@ ConvertResult Convert3To4(const css::uno::Reference<css::xml::dom::XNode>& xNode
// https://gitlab.gnome.org/GNOME/gtk/-/issues/4041 double encode ampersands if use-underline is used
if (gtk_check_version(4, 3, 2) != nullptr)
{
- if (xPropertyLabel && bUseUnderline)
+ if (xPropertyLabel)
{
auto xLabelText = xPropertyLabel->getFirstChild();
if (xLabelText.is())