From ac8d8fdb4eeb2ee7bf77142e3d8958beaaa83108 Mon Sep 17 00:00:00 2001 From: Andrea Giudiceandrea Date: Sun, 26 Nov 2023 01:47:56 +0100 Subject: [PATCH] Update src/app/georeferencer/qgsgeorefmainwindow.cpp --- src/app/georeferencer/qgsgeorefmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/georeferencer/qgsgeorefmainwindow.cpp b/src/app/georeferencer/qgsgeorefmainwindow.cpp index c70ab6f62581..33fdc0a85e88 100644 --- a/src/app/georeferencer/qgsgeorefmainwindow.cpp +++ b/src/app/georeferencer/qgsgeorefmainwindow.cpp @@ -1809,7 +1809,7 @@ bool QgsGeoreferencerMainWindow::writePDFMapFile( const QString &fileName, const //create layout QgsLayout layout( QgsProject::instance() ); - layout->renderContext().setTextRenderFormat( Qgis::TextRenderFormat::AlwaysText ); + layout.renderContext().setTextRenderFormat( Qgis::TextRenderFormat::AlwaysText ); std::unique_ptr< QgsLayoutItemPage > page = std::make_unique< QgsLayoutItemPage >( &layout ); double leftMargin = 8;