| commit | 42d7d6a6f5b7701d9ec6c14dae6ffb48eb4b4035 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Thu Jan 12 20:55:27 2023 +0000 |
| committer | Adolfo Jayme Barrientos <fitojb@ubuntu.com> | Fri Jan 13 08:14:35 2023 +0000 |
| tree | 763831e6284161e9bb655c1d25f2c6da14259cc2 | |
| parent | bb0ed581a5624a8827ede86658872daca1754675 [diff] |
Related: tdf#151898 fix gtk4 build in 7-4 Change-Id: I71b59b7d2eac406817c79bf6911736ad4510771c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/145421 Tested-by: Jenkins Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx index 8ba6409..b697b0b 100644 --- a/vcl/unx/gtk3/gtkinst.cxx +++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -5114,7 +5114,7 @@ namespace void picture_set_from_xgraphic(GtkPicture* pPicture, const css::uno::Reference<css::graphic::XGraphic>& rPicture) { if (auto xTempFile = getImageFile(rPicture, false)) if (auto xTempFile = getImageFile(rPicture)) gtk_picture_set_filename(pPicture, OUStringToOString(xTempFile->GetFileName(), osl_getThreadTextEncoding()).getStr()); else gtk_picture_set_pixbuf(pPicture, nullptr);