Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove unused deprecated method which wasn't exposed to python
  • Loading branch information
nyalldawson committed May 15, 2023
1 parent b0be3d4 commit ecff6b9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 13 deletions.
Expand Up @@ -78,7 +78,6 @@ Returns a list of additional layer options which are passed to OGR.
Refer to the OGR documentation for the target format for available options.
%End


QgsCoordinateReferenceSystem crsObject() const;
%Docstring
Returns the CRS chosen for export
Expand Down
5 changes: 0 additions & 5 deletions src/gui/ogr/qgsvectorlayersaveasdialog.cpp
Expand Up @@ -899,11 +899,6 @@ QString QgsVectorLayerSaveAsDialog::format() const
return mFormatComboBox->currentData().toString();
}

long QgsVectorLayerSaveAsDialog::crs() const
{
return mSelectedCrs.srsid();
}

QgsCoordinateReferenceSystem QgsVectorLayerSaveAsDialog::crsObject() const
{
return mSelectedCrs;
Expand Down
7 changes: 0 additions & 7 deletions src/gui/ogr/qgsvectorlayersaveasdialog.h
Expand Up @@ -104,13 +104,6 @@ class GUI_EXPORT QgsVectorLayerSaveAsDialog : public QDialog, private Ui::QgsVec
*/
QStringList layerOptions() const;

/**
* Returns the internal CRS ID.
* \see QgsCoordinateReferenceSystem::srsid()
* \deprecated since QGIS 3.14 - will be removed in QGIS 4.0. Use crsObject() instead.
*/
Q_DECL_DEPRECATED long crs() const SIP_SKIP;

/**
* Returns the CRS chosen for export
* \since QGIS 3.14
Expand Down

0 comments on commit ecff6b9

Please sign in to comment.