From 7d1f6c98fdc4a0b8a6b804823ddb76f437d9a4fb Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Tue, 20 Jun 2006 01:13:49 +0000 Subject: INTEGRATION: CWS warnings01 (1.2.8); FILE MERGED 2006/03/08 18:42:10 thb 1.2.8.2: #i55991# (void)parm-ed verifyinput params only used for debug output 2005/11/15 16:51:37 thb 1.2.8.1: #i55991# made code compile without warnings for gcc --- canvas/inc/canvas/verifyinput.hxx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'canvas/inc/canvas/verifyinput.hxx') diff --git a/canvas/inc/canvas/verifyinput.hxx b/canvas/inc/canvas/verifyinput.hxx index 1cca4ef9c309..2172aa14cc48 100644 --- a/canvas/inc/canvas/verifyinput.hxx +++ b/canvas/inc/canvas/verifyinput.hxx @@ -4,9 +4,9 @@ * * $RCSfile: verifyinput.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kz $ $Date: 2005-11-02 12:41:22 $ + * last change: $Author: hr $ $Date: 2006-06-20 02:13:49 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -461,6 +461,8 @@ namespace canvas ::com::sun::star::uno::XInterface >& xIf, ::sal_Int16 nArgPos ) { + (void)pStr; (void)xIf; (void)nArgPos; + if( !rRef.is() ) { #if OSL_DEBUG_LEVEL > 0 @@ -505,11 +507,11 @@ namespace canvas } /// Catch-all, to handle cases that DON'T need input checking (i.e. the Integer geometry ones) - template< typename T > void verifyInput( const T& rDummy, - const char* pStr, + template< typename T > void verifyInput( const T& /*rDummy*/, + const char* /*pStr*/, const ::com::sun::star::uno::Reference< - ::com::sun::star::uno::XInterface >& xIf, - ::sal_Int16 nArgPos ) + ::com::sun::star::uno::XInterface >& /*xIf*/, + ::sal_Int16 /*nArgPos*/ ) { } -- cgit v1.2.3