Skip to content

Commit

Permalink
few typo fix (#3207)
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and m-kuhn committed Jun 16, 2016
1 parent 57ff59a commit 6035f19
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/providers/oracle/qgsoracleprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3274,7 +3274,7 @@ QGISEXTERN bool saveStyle( const QString &uri,

if ( !qry.exec( sql ) )
{
errCause = QObject::tr( "Unable to check style existences [%1]" ).arg( qry.lastError().text() );
errCause = QObject::tr( "Unable to check style existence [%1]" ).arg( qry.lastError().text() );
conn->disconnect();
return false;
}
Expand Down Expand Up @@ -3403,7 +3403,7 @@ QGISEXTERN QString loadStyle( const QString &uri, QString &errCause )
QString style;
if ( !qry.exec( "SELECT COUNT(*) FROM user_tables WHERE table_name='LAYER_STYLES'" ) || !qry.next() || qry.value( 0 ).toInt() == 0 )
{
errCause = QObject::tr( "Unable layer style table not found [%1]" ).arg( qry.lastError().text() );
errCause = QObject::tr( "Unable to find layer style table [%1]" ).arg( qry.lastError().text() );
conn->disconnect();
return QString::null;
}
Expand Down Expand Up @@ -3461,7 +3461,7 @@ QGISEXTERN int listStyles( const QString &uri,
}
else if ( qry.value( 0 ).toInt() == 0 )
{
errCause = QObject::tr( "Layer style table does not exists [%1]" ).arg( qry.value( 0 ).toString() );
errCause = QObject::tr( "Layer style table does not exist [%1]" ).arg( qry.value( 0 ).toString() );
}
else
{
Expand Down Expand Up @@ -3523,7 +3523,7 @@ QGISEXTERN QString getStyleById( const QString& uri, QString styleId, QString& e

if ( !qry.exec( QString( "SELECT styleQml FROM layer_styles WHERE id=%1" ).arg( QgsOracleConn::quotedValue( styleId ) ) ) )
{
errCause = QObject::tr( "Could load layer style table [%1]" ).arg( qry.lastError().text() );
errCause = QObject::tr( "Could not load layer style table [%1]" ).arg( qry.lastError().text() );
}
else if ( !qry.next() )
{
Expand Down

0 comments on commit 6035f19

Please sign in to comment.