summaryrefslogtreecommitdiff
path: root/mysqlc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-12-13 09:29:22 +0200
committerNoel Grandin <noel@peralex.com>2013-12-17 11:49:03 +0200
commit08fe82e59cbc598d2683d72877653316c1e41962 (patch)
tree5eeace3006ef2bfd58a5d97a000f336b8b06099c /mysqlc
parentfc985c30048d410ab68a55af64f56df85547a6bf (diff)
Remove unnecessary use of OUString constructor in + expressions
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
Diffstat (limited to 'mysqlc')
-rw-r--r--mysqlc/source/mysqlc_general.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysqlc/source/mysqlc_general.cxx b/mysqlc/source/mysqlc_general.cxx
index 6caccde4578f..ba330478fed6 100644
--- a/mysqlc/source/mysqlc_general.cxx
+++ b/mysqlc/source/mysqlc_general.cxx
@@ -35,7 +35,7 @@ namespace mysqlc_sdbc_driver
void throwFeatureNotImplementedException( const sal_Char* _pAsciiFeatureName, const Reference< XInterface >& _rxContext, const Any* _pNextException )
throw (SQLException)
{
- const OUString sMessage = OUString::createFromAscii( _pAsciiFeatureName ) + OUString( ": feature not implemented." );
+ const OUString sMessage = OUString::createFromAscii( _pAsciiFeatureName ) + ": feature not implemented.";
throw SQLException(
sMessage,
_rxContext,
@@ -49,7 +49,7 @@ void throwFeatureNotImplementedException( const sal_Char* _pAsciiFeatureName, co
void throwInvalidArgumentException( const sal_Char* _pAsciiFeatureName, const Reference< XInterface >& _rxContext, const Any* _pNextException )
throw (SQLException)
{
- const OUString sMessage = OUString::createFromAscii( _pAsciiFeatureName ) + OUString( ": invalid arguments." );
+ const OUString sMessage = OUString::createFromAscii( _pAsciiFeatureName ) + ": invalid arguments.";
throw SQLException(
sMessage,
_rxContext,