archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libreoffice-fresh / trunk / 623ea5c.diff
blob5ab4dbdaa3c812b3403d91b9d8cc6035e6c8ed4a
1 From 623ea5c4d2871aba2e3e5114ad7d58d6f910a2f3 Mon Sep 17 00:00:00 2001
2 From: Caolán McNamara <caolanm@redhat.com>
3 Date: Thu, 12 Jan 2023 20:55:27 +0000
4 Subject: [PATCH] Related: tdf#151898 fix gtk4 build in 7-4
6 Change-Id: I71b59b7d2eac406817c79bf6911736ad4510771c
7 ---
9 diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
10 index 8ba6409..b697b0b 100644
11 --- a/vcl/unx/gtk3/gtkinst.cxx
12 +++ b/vcl/unx/gtk3/gtkinst.cxx
13 @@ -5114,7 +5114,7 @@
15 void picture_set_from_xgraphic(GtkPicture* pPicture, const css::uno::Reference<css::graphic::XGraphic>& rPicture)
17 - if (auto xTempFile = getImageFile(rPicture, false))
18 + if (auto xTempFile = getImageFile(rPicture))
19 gtk_picture_set_filename(pPicture, OUStringToOString(xTempFile->GetFileName(), osl_getThreadTextEncoding()).getStr());
20 else
21 gtk_picture_set_pixbuf(pPicture, nullptr);