summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-05-21 08:29:53 +0200
committerNoel Grandin <noel@peralex.com>2014-05-22 07:54:55 +0200
commit985f2b8b407e1359b67419d702a18cd60c5a23b8 (patch)
tree8772fdf0cfd531e30b482707b7e73192a6c5107a /connectivity
parentc03efa7c6c28a7c7f3dc2c45c9c56412e270fb5d (diff)
remove unnecessary use of OUString constructor
Change-Id: I7769625289d8bf47fe5905dfb91d3bce9e0f5c85
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/drivers/jdbc/InputStream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/drivers/jdbc/InputStream.cxx b/connectivity/source/drivers/jdbc/InputStream.cxx
index c6588650aca9..26d8a156ff27 100644
--- a/connectivity/source/drivers/jdbc/InputStream.cxx
+++ b/connectivity/source/drivers/jdbc/InputStream.cxx
@@ -79,7 +79,7 @@ void SAL_CALL java_io_InputStream::closeInput( ) throw(::com::sun::star::io::No
sal_Int32 SAL_CALL java_io_InputStream::readBytes( ::com::sun::star::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw(::com::sun::star::io::NotConnectedException, ::com::sun::star::io::BufferSizeExceededException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception)
{
if (nBytesToRead < 0)
- throw ::com::sun::star::io::BufferSizeExceededException( OUString(THROW_WHERE), *this );
+ throw ::com::sun::star::io::BufferSizeExceededException( THROW_WHERE, *this );
jint out(0);
SDBThreadAttach t; OSL_ENSURE(t.pEnv,"Java Enviroment geloescht worden!");