Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 5, 2023
1 parent 92384e0 commit 5566e42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/geometry/qgsrectangle.cpp
Expand Up @@ -114,7 +114,7 @@ QString QgsRectangle::asWktPolygon() const
{
if ( isNull() )
{
return "POLYGON EMPTY";
return QStringLiteral( "POLYGON EMPTY" );
}

QString rep =
Expand Down Expand Up @@ -163,7 +163,7 @@ QString QgsRectangle::asPolygon() const
{
if ( isNull() )
{
return "EMPTY";
return QStringLiteral( "EMPTY" );
}

QString rep;
Expand Down

0 comments on commit 5566e42

Please sign in to comment.