Skip to content
Permalink
Browse files

fix windows build

  • Loading branch information
jef-n committed May 13, 2017
1 parent 43595f5 commit 0a942fd92d46dae4045f1b0efc53f34a69422267
Showing with 5 additions and 4 deletions.
  1. +5 −4 src/core/symbology-ng/qgssymbolv2.cpp
@@ -708,15 +708,16 @@ class ExpressionContextScopePopper
{
public:

ExpressionContextScopePopper() = default;
ExpressionContextScopePopper() : context( nullptr )
{}

~ExpressionContextScopePopper()
{
if ( context )
context->popScope();
}

QgsExpressionContext *context = nullptr;
QgsExpressionContext *context;
};
///@endcond PRIVATE

@@ -1154,10 +1155,10 @@ QgsMarkerSymbolV2::QgsMarkerSymbolV2( const QgsSymbolLayerV2List& layers )
mLayers.append( new QgsSimpleMarkerSymbolLayerV2() );
}

void QgsMarkerSymbolV2::setAngle( double ang )
void QgsMarkerSymbolV2::setAngle( double angle0 )
{
double origAngle = angle();
double angleDiff = ang - origAngle;
double angleDiff = angle0 - origAngle;
Q_FOREACH ( QgsSymbolLayerV2* layer, mLayers )
{
QgsMarkerSymbolLayerV2* markerLayer = dynamic_cast<QgsMarkerSymbolLayerV2*>( layer );

0 comments on commit 0a942fd

Please sign in to comment.
You can’t perform that action at this time.