diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-08 11:47:38 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-08 11:48:04 +0100 |
commit | 46cf9aed39ac50219a4e8dbcf0b16359cb3644ee (patch) | |
tree | 0bf9adbf18a17b077c214c33bfe0c4109d889f95 | |
parent | 396b3594feb735e1a9cd1564f28340d514f9d925 (diff) |
SAL_WARN_UNUSED css::uno::Type
Change-Id: I3b165e2a4414fd3d6c3cede5eb39beffa9fe7576
-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 */ |