Skip to content

Commit

Permalink
Remove unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 8, 2020
1 parent ceb1dbb commit 820c583
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/layout/qgslayoutdesignerdialog.cpp
Expand Up @@ -4330,7 +4330,6 @@ bool QgsLayoutDesignerDialog::getPdfExportSettings( QgsLayoutExporter::PdfExport
bool simplify = true;
bool geoPdf = false;
bool useOgcBestPracticeFormat = false;
bool exportGeoPdfFeatures = true;
QStringList exportThemes;
if ( mLayout )
{
Expand All @@ -4342,7 +4341,6 @@ bool QgsLayoutDesignerDialog::getPdfExportSettings( QgsLayoutExporter::PdfExport
simplify = mLayout->customProperty( QStringLiteral( "pdfSimplify" ), 1 ).toBool();
geoPdf = mLayout->customProperty( QStringLiteral( "pdfCreateGeoPdf" ), 0 ).toBool();
useOgcBestPracticeFormat = mLayout->customProperty( QStringLiteral( "pdfOgcBestPracticeFormat" ), 0 ).toBool();
exportGeoPdfFeatures = mLayout->customProperty( QStringLiteral( "pdfExportGeoPdfFeatures" ), 1 ).toBool();
const QString themes = mLayout->customProperty( QStringLiteral( "pdfExportThemes" ) ).toString();
if ( !themes.isEmpty() )
exportThemes = themes.split( QStringLiteral( "~~~" ) );
Expand Down

0 comments on commit 820c583

Please sign in to comment.