From 46cf9aed39ac50219a4e8dbcf0b16359cb3644ee Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 8 Jan 2014 11:47:38 +0100 Subject: SAL_WARN_UNUSED css::uno::Type Change-Id: I3b165e2a4414fd3d6c3cede5eb39beffa9fe7576 --- connectivity/source/commontools/dbexception.cxx | 2 -- include/com/sun/star/uno/Type.h | 2 +- 2 files changed, 1 insertion(+), 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 */ -- cgit