1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-29 00:03:59 -04:00
This commit is contained in:
Alessandro Pasotti 2017-12-19 17:20:38 +01:00
parent e0c56e7de3
commit 943025c204
4 changed files with 4 additions and 4 deletions

@ -170,7 +170,7 @@ Runs a render check on the layout, adding results to the specified ``report``.
The maximum number of allowable pixels differing from the reference image is The maximum number of allowable pixels differing from the reference image is
specified via the ``pixelDiff`` argument. specified via the ``pixelDiff`` argument.
A reference image can be creates by setting ``createReferenceImage`` to true A reference image can be created by setting ``createReferenceImage`` to true
in this case the test will always return true. in this case the test will always return true.
The page number is specified via ``page``, where 0 corresponds to the first The page number is specified via ``page``, where 0 corresponds to the first

@ -260,7 +260,7 @@ QList<QgsLayoutItem *> QgsCompositionConverter::addItemsFromCompositionXml( QgsL
newItems << layoutItem ; newItems << layoutItem ;
} }
// Polylin // Polyline
for ( int i = 0; i < parentElement.elementsByTagName( QStringLiteral( "ComposerPolyline" ) ).size(); i++ ) for ( int i = 0; i < parentElement.elementsByTagName( QStringLiteral( "ComposerPolyline" ) ).size(); i++ )
{ {
QDomNode itemNode( parentElement.elementsByTagName( QStringLiteral( "ComposerPolyline" ) ).at( i ) ); QDomNode itemNode( parentElement.elementsByTagName( QStringLiteral( "ComposerPolyline" ) ).at( i ) );

@ -207,7 +207,7 @@ class CORE_EXPORT QgsLayoutChecker : public QgsMultiRenderChecker
* The maximum number of allowable pixels differing from the reference image is * The maximum number of allowable pixels differing from the reference image is
* specified via the \a pixelDiff argument. * specified via the \a pixelDiff argument.
* *
* A reference image can be creates by setting \a createReferenceImage to true * A reference image can be created by setting \a createReferenceImage to true
* in this case the test will always return true. * in this case the test will always return true.
* *
* The page number is specified via \a page, where 0 corresponds to the first * The page number is specified via \a page, where 0 corresponds to the first

@ -59,7 +59,7 @@ class TestQgsCompositionConverter: public QObject
void importComposerTemplateShape(); void importComposerTemplateShape();
/** /**
* Test import multiple ements from a composer template * Test import multiple elements from a composer template
*/ */
void importComposerTemplate(); void importComposerTemplate();