File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ QgsLayerRestorer::QgsLayerRestorer( const QList<QgsMapLayer *> &layers )
47
47
QString errMsg;
48
48
QDomDocument sldDoc;
49
49
layer->exportSldStyle ( sldDoc, errMsg );
50
- settings.mSldStyle .setContent ( sldDoc.toString (), true ); // for namespace processing
50
+ ( void ) settings.mSldStyle .setContent ( sldDoc.toString (), true ); // for namespace processing
51
51
52
52
if ( layer->type () == QgsMapLayer::LayerType::VectorLayer )
53
53
{
Original file line number Diff line number Diff line change @@ -2967,7 +2967,7 @@ namespace QgsWms
2967
2967
if ( !sld.isEmpty () )
2968
2968
{
2969
2969
QDomDocument doc;
2970
- doc.setContent ( sld, true );
2970
+ ( void ) doc.setContent ( sld, true );
2971
2971
QDomElement docEl = doc.documentElement ();
2972
2972
2973
2973
QDomElement root = doc.firstChildElement ( " StyledLayerDescriptor" );
You can’t perform that action at this time.
0 commit comments