2 changes: 1 addition & 1 deletion python/core/symbology-ng/qgssymbollayerv2registry.sip
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class QgsSymbolLayerV2Registry
QgsSymbolLayerV2AbstractMetadata* symbolLayerMetadata( QString name ) const;

//! register a new symbol layer type. Takes ownership of the metadata instance.
bool addSymbolLayerType( QgsSymbolLayerV2AbstractMetadata* metadata );
bool addSymbolLayerType( QgsSymbolLayerV2AbstractMetadata* metadata /Transfer/ );

//! create a new instance of symbol layer given symbol layer name and properties
QgsSymbolLayerV2* createSymbolLayer( QString name, const QgsStringMap& properties = QgsStringMap() ) const /Factory/;
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgsannotationitem.sip
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class QgsAnnotationItem: QgsMapCanvasItem
QPointF offsetFromReferencePoint() const;

/**Set symbol that is drawn on map position. Takes ownership*/
void setMarkerSymbol( QgsMarkerSymbolV2* symbol );
void setMarkerSymbol( QgsMarkerSymbolV2* symbol /Transfer/ );
const QgsMarkerSymbolV2* markerSymbol() const;

void setFrameBorderWidth( double w );
Expand Down
2 changes: 1 addition & 1 deletion python/gui/qgstextannotationitem.sip
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class QgsTextAnnotationItem: QgsAnnotationItem
~QgsTextAnnotationItem();

/**Returns document (caller takes ownership)*/
QTextDocument* document() const;
QTextDocument* document() const /Factory/;
/**Sets document (does not take ownership)*/
void setDocument( const QTextDocument* doc );

Expand Down
6 changes: 3 additions & 3 deletions src/core/raster/qgsrasterrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
#include <QPainter>

QgsRasterRenderer::QgsRasterRenderer( QgsRasterInterface* input, const QString& type )
: QgsRasterInterface( input ),
mType( type ), mOpacity( 1.0 ), mRasterTransparency( 0 ),
mAlphaBand( -1 ), mInvertColor( false ), mMaxOversampling( 2.0 )
: QgsRasterInterface( input )
, mType( type ), mOpacity( 1.0 ), mRasterTransparency( 0 )
, mAlphaBand( -1 ), mInvertColor( false ), mMaxOversampling( 2.0 )
{
}

Expand Down