From 3660bfaa2a553ee861a86b6c3a795c22b063d9cd Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Mon, 19 Jun 2006 22:09:20 +0000 Subject: INTEGRATION: CWS warnings01 (1.5.4); FILE MERGED 2005/10/25 09:12:49 pl 1.5.4.1: #i55991# removed warnings for solaris platform --- UnoControls/source/controls/framecontrol.cxx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'UnoControls') diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx index 3f15c767982d..8e36b1b963b4 100644 --- a/UnoControls/source/controls/framecontrol.cxx +++ b/UnoControls/source/controls/framecontrol.cxx @@ -4,9 +4,9 @@ * * $RCSfile: framecontrol.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-09-09 09:17:59 $ + * last change: $Author: hr $ $Date: 2006-06-19 23:09:20 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -124,12 +124,12 @@ Any SAL_CALL FrameControl::queryInterface( const Type& rType ) throw( RuntimeExc // Attention: // Don't use mutex or guard in this method!!! Is a method of XInterface. Any aReturn ; - Reference< XInterface > xDelegator = BaseControl::impl_getDelegator(); - if ( xDelegator.is() == sal_True ) + Reference< XInterface > xDel = BaseControl::impl_getDelegator(); + if ( xDel.is() ) { // If an delegator exist, forward question to his queryInterface. // Delegator will ask his own queryAggregation! - aReturn = xDelegator->queryInterface( rType ); + aReturn = xDel->queryInterface( rType ); } else { @@ -248,7 +248,7 @@ void SAL_CALL FrameControl::createPeer( const Reference< XToolkit >& xToo // XControl //____________________________________________________________________________________________________________ -sal_Bool SAL_CALL FrameControl::setModel( const Reference< XControlModel >& xModel ) throw( RuntimeException ) +sal_Bool SAL_CALL FrameControl::setModel( const Reference< XControlModel >& /*xModel*/ ) throw( RuntimeException ) { // We have no model. return sal_False ; @@ -278,7 +278,7 @@ void SAL_CALL FrameControl::dispose() throw( RuntimeException ) // XView //____________________________________________________________________________________________________________ -sal_Bool SAL_CALL FrameControl::setGraphics( const Reference< XGraphics >& xDevice ) throw( RuntimeException ) +sal_Bool SAL_CALL FrameControl::setGraphics( const Reference< XGraphics >& /*xDevice*/ ) throw( RuntimeException ) { // it is not possible to print this control return sal_False ; -- cgit