[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 23 10:39:17 UTC 2021
vcl/unx/gtk4/convert3to4.cxx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit e6c1205e3e041407e875301de08a90989353cf63
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Sep 23 09:15:59 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Sep 23 12:38:40 2021 +0200
gtk4: fix build
Change-Id: I6bee4180ea2d91a2917765bc1934a8403b72c07e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122513
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/unx/gtk4/convert3to4.cxx b/vcl/unx/gtk4/convert3to4.cxx
index 277eb0cf52fb..d7a881f8f7d5 100644
--- a/vcl/unx/gtk4/convert3to4.cxx
+++ b/vcl/unx/gtk4/convert3to4.cxx
@@ -23,9 +23,10 @@ typedef std::pair<css::uno::Reference<css::xml::dom::XNode>, OUString> named_nod
bool sortButtonNodes(const named_node& rA, const named_node& rB)
{
+ OString sA("/" + rA.second.toUtf8());
+ OString sB("/" + rB.second.toUtf8());
//order within groups according to platform rules
- return getButtonPriority("/" + rA.second.toUtf8())
- < getButtonPriority("/" + rB.second.toUtf8());
+ return getButtonPriority(sA) < getButtonPriority(sB);
}
// <property name="spacing">6</property>
More information about the Libreoffice-commits
mailing list