Skip to content

Commit

Permalink
Fix arguments in wrong order
Browse files Browse the repository at this point in the history
(cherry picked from commit 60780fc)
  • Loading branch information
nyalldawson committed Nov 21, 2024
1 parent 58bb99d commit b5e3813
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/core/qgsvectorfilewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3765,7 +3765,7 @@ QgsVectorFileWriter::WriterError QgsVectorFileWriter::writeAsVectorFormatV2( Qgs
if ( err != NoError )
return err;

return writeAsVectorFormatV2( details, fileName, transformContext, options, errorMessage, newFilename, newLayer );
return writeAsVectorFormatV2( details, fileName, transformContext, options, newFilename, newLayer, errorMessage );
}

QgsVectorFileWriter::WriterError QgsVectorFileWriter::writeAsVectorFormatV3( QgsVectorLayer *layer, const QString &fileName, const QgsCoordinateTransformContext &transformContext, const QgsVectorFileWriter::SaveVectorOptions &options, QString *errorMessage, QString *newFilename, QString *newLayer )
Expand Down
4 changes: 2 additions & 2 deletions src/gui/qgsmaptoolcapture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,8 +333,8 @@ bool QgsMapToolCapture::tracingAddVertex( const QgsPointXY &point )
{
const QgsGeometry linear = QgsGeometry( mCaptureCurve.segmentize() );
const QgsGeometry curved = linear.convertToCurves(
QgsSettingsRegistryCore::settingsDigitizingConvertToCurveAngleTolerance->value(),
QgsSettingsRegistryCore::settingsDigitizingConvertToCurveDistanceTolerance->value()
QgsSettingsRegistryCore::settingsDigitizingConvertToCurveDistanceTolerance->value(),
QgsSettingsRegistryCore::settingsDigitizingConvertToCurveAngleTolerance->value()
);
if ( QgsWkbTypes::flatType( curved.wkbType() ) != Qgis::WkbType::CompoundCurve )
{
Expand Down

0 comments on commit b5e3813

Please sign in to comment.