From 389da66dfc96d06c407bff156c4ea21e940c5e06 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 11 May 2017 15:40:42 +0200 Subject: remove unused uno::Reference vars found by temporarily marking Reference as SAL_WARN_UNUSED. Change-Id: I18809b62654467f890016adcc92576980ced393b Reviewed-on: https://gerrit.libreoffice.org/37511 Tested-by: Jenkins Reviewed-by: Noel Grandin --- basic/source/classes/sbunoobj.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'basic/source/classes') diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx index c0efa32baa99..43573250de0c 100644 --- a/basic/source/classes/sbunoobj.cxx +++ b/basic/source/classes/sbunoobj.cxx @@ -2285,8 +2285,6 @@ SbUnoObject::SbUnoObject( const OUString& aName_, const Any& aUnoObj_ ) , bNeedIntrospection( true ) , bNativeCOMObject( false ) { - static Reference< XIntrospection > xIntrospection; - // beat out again the default properties of Sbx Remove( "Name", SbxClassType::DontCare ); Remove( "Parent", SbxClassType::DontCare ); @@ -3362,7 +3360,6 @@ SbxVariable* SbUnoClass::Find( const OUString& rName, SbxClassType ) { // Is it a field(?) Reference< XIdlField > xField = m_xClass->getField( rName ); - Reference< XIdlClass > xClass; if( xField.is() ) { try -- cgit ce-5-2'>distro/cib/libreoffice-5-2 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author