From 4582acb3eeb2af0411ab8598ec17d74381225acf Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Sun, 14 May 2017 18:00:37 +0200 Subject: remove some unnecessary locking Change-Id: I7da9e82930d3fe8f927c495aeca270b8bb5cf65c Reviewed-on: https://gerrit.libreoffice.org/37602 Tested-by: Jenkins Reviewed-by: Noel Grandin --- connectivity/source/drivers/mork/MResultSet.cxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/mork/MResultSet.cxx b/connectivity/source/drivers/mork/MResultSet.cxx index da0e28facaa8..56ded2df8fd3 100644 --- a/connectivity/source/drivers/mork/MResultSet.cxx +++ b/connectivity/source/drivers/mork/MResultSet.cxx @@ -177,42 +177,36 @@ sal_Bool SAL_CALL OResultSet::getBoolean( sal_Int32 /*columnIndex*/ ) sal_Int8 SAL_CALL OResultSet::getByte( sal_Int32 /*columnIndex*/ ) { - ResultSetEntryGuard aGuard( *this ); return 0; } Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes( sal_Int32 /*columnIndex*/ ) { - ResultSetEntryGuard aGuard( *this ); return Sequence< sal_Int8 >(); } Date SAL_CALL OResultSet::getDate( sal_Int32 /*columnIndex*/ ) { - ResultSetEntryGuard aGuard( *this ); return Date(); } double SAL_CALL OResultSet::getDouble( sal_Int32 /*columnIndex*/ ) { - ResultSetEntryGuard aGuard( *this ); return 0.0; } float SAL_CALL OResultSet::getFloat( sal_Int32 /*columnIndex*/ ) { - ResultSetEntryGuard aGuard( *this ); return 0; } sal_Int32 SAL_CALL OResultSet::getInt( sal_Int32 /*columnIndex*/ ) { - ResultSetEntryGuard aGuard( *this ); return 0; } @@ -228,7 +222,6 @@ sal_Int32 SAL_CALL OResultSet::getRow( ) sal_Int64 SAL_CALL OResultSet::getLong( sal_Int32 /*columnIndex*/ ) { - ResultSetEntryGuard aGuard( *this ); return sal_Int64(); } -- cgit