diff options
Diffstat (limited to 'mysqlc/source/mysqlc_resultset.cxx')
-rw-r--r-- | mysqlc/source/mysqlc_resultset.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mysqlc/source/mysqlc_resultset.cxx b/mysqlc/source/mysqlc_resultset.cxx index ef112b931b8b..d0c3a8303887 100644 --- a/mysqlc/source/mysqlc_resultset.cxx +++ b/mysqlc/source/mysqlc_resultset.cxx @@ -1045,8 +1045,7 @@ void OResultSet::checkColumnIndex(sal_Int32 index) { if ((index < 1 || index > (int) fieldCount)) { /* static object for efficiency or thread safety is a problem ? */ - rtl::OUString buf( "index out of range" ); - throw SQLException(buf, *this, rtl::OUString(), 1, Any()); + throw SQLException("index out of range", *this, rtl::OUString(), 1, Any()); } } |