Skip to content
Permalink
Browse files

fix compile error

git-svn-id: http://svn.osgeo.org/qgis/trunk@12644 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 28, 2009
1 parent 51580ee commit d70578b8d5d51a97f5ae47d547162e5ffe8abbfe
Showing with 7 additions and 7 deletions.
  1. +3 −3 i18n/qgis_de.ts
  2. +4 −4 src/core/qgscoordinatetransform.cpp
@@ -8107,17 +8107,17 @@ Fehler war:%2</translation>
</message>
<message>
<location filename="../src/core/qgscoordinatetransform.cpp" line="456"/>
<source>inverse</source>
<source>inverse transform</source>
<translation>Rücktransformation</translation>
</message>
<message>
<location filename="../src/core/qgscoordinatetransform.cpp" line="463"/>
<source>forward</source>
<source>forward transform</source>
<translation>Transformation</translation>
</message>
<message>
<location filename="../src/core/qgscoordinatetransform.cpp" line="483"/>
<source>%1 transform of
<source>%1 of
%2
failed with error: %3
</source>
@@ -453,14 +453,14 @@ void QgsCoordinateTransform::transformCoords( const int& numPoints, double *x, d
if ( direction == ReverseTransform )
{
projResult = pj_transform( mDestinationProjection, mSourceProjection, numPoints, 0, x, y, z );
dir = tr( "inverse" );
dir = tr( "inverse transform" );
}
else
{
assert( mSourceProjection != 0 );
assert( mDestinationProjection != 0 );
projResult = pj_transform( mSourceProjection, mDestinationProjection, numPoints, 0, x, y, z );
dir = tr( "forward" );
dir = tr( "forward transform" );
}

if ( projResult != 0 )
@@ -480,10 +480,10 @@ void QgsCoordinateTransform::transformCoords( const int& numPoints, double *x, d
}
}

QString msg = tr("%1 transform of\n%2\nfailed with error: %3\n")
QString msg = tr("%1 of\n%2\nfailed with error: %3\n")
.arg( dir )
.arg( points )
.arg( QString::fromUtf8( pj_strerrno( projResult ) ) ) );
.arg( QString::fromUtf8( pj_strerrno( projResult ) ) );

QgsDebugMsg( "Projection failed emitting invalid transform signal: " + msg );

0 comments on commit d70578b

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