From 856ad69ffe8b39fe44b245933c17e1e03248611a Mon Sep 17 00:00:00 2001 From: David Tardon Date: Thu, 1 Mar 2012 13:44:29 +0100 Subject: [PATCH] work around ICE with mingw32-gcc-4.7.0-0.5.20120224 --- .../source/drivers/odbcbase/ODatabaseMetaDataResultSet.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connectivity/source/drivers/odbcbase/ODatabaseMetaDataResultSet.cxx b/connectivity/source/drivers/odbcbase/ODatabaseMetaDataResultSet.cxx index 6dd78812d28d..2dfb9608ce0c 100644 --- a/connectivity/source/drivers/odbcbase/ODatabaseMetaDataResultSet.cxx +++ b/connectivity/source/drivers/odbcbase/ODatabaseMetaDataResultSet.cxx @@ -173,7 +173,8 @@ sal_Int32 SAL_CALL ODatabaseMetaDataResultSet::findColumn( const ::rtl::OUString template < typename T, SQLSMALLINT sqlTypeId > T ODatabaseMetaDataResultSet::getInteger ( sal_Int32 columnIndex ) { - checkDisposed(ODatabaseMetaDataResultSet_BASE::rBHelper.bDisposed); + ::cppu::OBroadcastHelper& rBHelper(ODatabaseMetaDataResultSet_BASE::rBHelper); + checkDisposed(rBHelper.bDisposed); ::osl::MutexGuard aGuard( m_aMutex ); columnIndex = mapColumn(columnIndex);