diff options
-rw-r--r-- | connectivity/source/commontools/dbexception.cxx | 2 | ||||
-rw-r--r-- | include/com/sun/star/uno/Type.h | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/connectivity/source/commontools/dbexception.cxx b/connectivity/source/commontools/dbexception.cxx index b05044fdb803..9e8dc91e7819 100644 --- a/connectivity/source/commontools/dbexception.cxx +++ b/connectivity/source/commontools/dbexception.cxx @@ -140,8 +140,6 @@ SQLExceptionInfo::SQLExceptionInfo(const staruno::Any& _rError) //------------------------------------------------------------------------------ void SQLExceptionInfo::implDetermineType() { - staruno::Type aContentType = m_aContent.getValueType(); - const Type& aSQLExceptionType = ::getCppuType( static_cast< SQLException* >( 0 ) ); const Type& aSQLWarningType = ::getCppuType( static_cast< SQLWarning* >( 0 ) ); const Type& aSQLContextType = ::getCppuType( static_cast< SQLContext* >( 0 ) ); diff --git a/include/com/sun/star/uno/Type.h b/include/com/sun/star/uno/Type.h index 97236229452d..c1e4303691c7 100644 --- a/include/com/sun/star/uno/Type.h +++ b/include/com/sun/star/uno/Type.h @@ -52,7 +52,7 @@ enum UnoType_NoAcquire @see typelib_TypeDescriptionReference */ -class Type +class SAL_WARN_UNUSED Type { /** the C typelib reference pointer */ |