Skip to content

Commit

Permalink
sip out
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Jan 17, 2023
1 parent 35b3cb6 commit b137a9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions python/core/auto_generated/qgsmaplayer.sip.in
Expand Up @@ -1065,15 +1065,14 @@ Saves the properties of this layer to an SLD format file.
.. seealso:: :py:func:`saveSldStyleV2`
%End

virtual QString saveSldStyleV2( bool &resultFlag, const QgsSldExportContext &exportContext ) const;
virtual QString saveSldStyleV2( bool &resultFlag /Out/, const QgsSldExportContext &exportContext ) const;
%Docstring
Saves the properties of this layer to an SLD format file.

:param resultFlag: a reference to a flag that will be set to ``False`` if
the SLD file could not be generated
:param exportContext: SLD export context

:return: a string with any status or error messages
:return: - a string with any status or error messages
- resultFlag: a reference to a flag that will be set to ``False`` if the SLD file could not be generated

.. seealso:: :py:func:`loadSldStyle`

Expand Down
2 changes: 1 addition & 1 deletion src/core/qgsmaplayer.h
Expand Up @@ -1174,7 +1174,7 @@ class CORE_EXPORT QgsMapLayer : public QObject
* \see loadSldStyle()
* \since QGIS 3.30
*/
virtual QString saveSldStyleV2( bool &resultFlag, const QgsSldExportContext &exportContext ) const;
virtual QString saveSldStyleV2( bool &resultFlag SIP_OUT, const QgsSldExportContext &exportContext ) const;

/**
* Attempts to style the layer using the formatting from an SLD type file.
Expand Down

0 comments on commit b137a9a

Please sign in to comment.