On 30/07/2013 08:22, Nathan Woodrow wrote:
>
> In src/core/qgsmaprenderer.cpp:
>
> > @@ -463,6 +463,13 @@ void QgsMapRenderer::render( QPainter* painter, double* forceWidthScale )
> >              QgsDebugMsg( "Caching enabled but layer redraw forced by extent change or empty cache" );
> >              QImage * mypImage = new QImage( mRenderContext.painter()->device()->width(),
> >                                              mRenderContext.painter()->device()->height(), QImage::Format_ARGB32 );
> > +            if ( mypImage->isNull() )
>
> Do you mean this
> https://github.com/qgis/Quantum-GIS/blob/master/src/app/composer/qgscomposer.cpp#L978?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/qgis/Quantum-GIS/pull/776/files#r5469270>.
>
Yes, this one.