From 0888c3d6ecff762791aee1d390e7c01e0bebdd9b Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Tue, 20 Jun 2006 01:19:13 +0000
Subject: INTEGRATION: CWS warnings01 (1.2.8); FILE MERGED 2005/11/15 16:51:49
thb 1.2.8.1: #i55991# made code compile without warnings for gcc
---
canvas/source/tools/propertysethelper.cxx | 16 ++++++++--------
canvas/source/tools/surface.cxx | 10 +++++-----
2 files changed, 13 insertions(+), 13 deletions(-)
(limited to 'canvas')
diff --git a/canvas/source/tools/propertysethelper.cxx b/canvas/source/tools/propertysethelper.cxx
index a06d5fbc3dc0..0d213d802174 100644
--- a/canvas/source/tools/propertysethelper.cxx
+++ b/canvas/source/tools/propertysethelper.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: propertysethelper.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2005-11-02 12:55:02 $
+ * last change: $Author: hr $ $Date: 2006-06-20 02:18:59 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -161,7 +161,7 @@ namespace canvas
}
void PropertySetHelper::addPropertyChangeListener( const ::rtl::OUString& aPropertyName,
- const uno::Reference< beans::XPropertyChangeListener >& xListener )
+ const uno::Reference< beans::XPropertyChangeListener >& /*xListener*/ )
{
// check validity of property, but otherwise ignore the
// request
@@ -169,14 +169,14 @@ namespace canvas
throwUnknown( aPropertyName );
}
- void PropertySetHelper::removePropertyChangeListener( const ::rtl::OUString& aPropertyName,
- const uno::Reference< beans::XPropertyChangeListener >& xListener )
+ void PropertySetHelper::removePropertyChangeListener( const ::rtl::OUString& /*aPropertyName*/,
+ const uno::Reference< beans::XPropertyChangeListener >& /*xListener*/ )
{
// ignore request, no listener added in the first place
}
void PropertySetHelper::addVetoableChangeListener( const ::rtl::OUString& aPropertyName,
- const uno::Reference< beans::XVetoableChangeListener >& xListener )
+ const uno::Reference< beans::XVetoableChangeListener >& /*xListener*/ )
{
// check validity of property, but otherwise ignore the
// request
@@ -184,8 +184,8 @@ namespace canvas
throwUnknown( aPropertyName );
}
- void PropertySetHelper::removeVetoableChangeListener( const ::rtl::OUString& aPropertyName,
- const uno::Reference< beans::XVetoableChangeListener >& xListener )
+ void PropertySetHelper::removeVetoableChangeListener( const ::rtl::OUString& /*aPropertyName*/,
+ const uno::Reference< beans::XVetoableChangeListener >& /*xListener*/ )
{
// ignore request, no listener added in the first place
}
diff --git a/canvas/source/tools/surface.cxx b/canvas/source/tools/surface.cxx
index 85caf11f4726..6d75fb5c8ba1 100644
--- a/canvas/source/tools/surface.cxx
+++ b/canvas/source/tools/surface.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: surface.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2005-11-02 12:55:26 $
+ * last change: $Author: hr $ $Date: 2006-06-20 02:19:13 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -198,7 +198,7 @@ namespace canvas
pRenderModule->beginPrimitive( canvas::IRenderModule::PRIMITIVE_TYPE_QUAD );
// issue an endPrimitive() when leaving the scope
- const ::comphelper::ScopeGuard aGuard(
+ const ::comphelper::ScopeGuard aScopeGuard(
boost::bind( &::canvas::IRenderModule::endPrimitive,
::boost::ref(pRenderModule) ) );
@@ -323,7 +323,7 @@ namespace canvas
pRenderModule->beginPrimitive( canvas::IRenderModule::PRIMITIVE_TYPE_QUAD );
// issue an endPrimitive() when leaving the scope
- const ::comphelper::ScopeGuard aGuard(
+ const ::comphelper::ScopeGuard aScopeGuard(
boost::bind( &::canvas::IRenderModule::endPrimitive,
::boost::ref(pRenderModule) ) );
@@ -434,7 +434,7 @@ namespace canvas
pRenderModule->beginPrimitive( canvas::IRenderModule::PRIMITIVE_TYPE_TRIANGLE );
// issue an endPrimitive() when leaving the scope
- const ::comphelper::ScopeGuard aGuard(
+ const ::comphelper::ScopeGuard aScopeGuard(
boost::bind( &::canvas::IRenderModule::endPrimitive,
::boost::ref(pRenderModule) ) );
--
cgit