From 0c9508304f9aef0d015664cb32e00f1c5599fa3e Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Thu, 12 Oct 2006 14:00:54 +0000 Subject: INTEGRATION: CWS sb59 (1.5.26); FILE MERGED 2006/08/11 15:36:04 thb 1.5.26.1: #i68336# Removed unused params; added a few using declarations for hidden methods; added a few casts; added some default statements to get cppcanvas warning free --- cppcanvas/source/tools/tools.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'cppcanvas/source/tools/tools.cxx') diff --git a/cppcanvas/source/tools/tools.cxx b/cppcanvas/source/tools/tools.cxx index 72116e6aa7a6..94eee24b4e7f 100644 --- a/cppcanvas/source/tools/tools.cxx +++ b/cppcanvas/source/tools/tools.cxx @@ -4,9 +4,9 @@ * * $RCSfile: tools.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: obo $ $Date: 2006-09-17 12:51:00 $ + * last change: $Author: obo $ $Date: 2006-10-12 15:00:54 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -45,8 +45,8 @@ namespace cppcanvas { namespace tools { - uno::Sequence< double > intSRGBAToDoubleSequence( const uno::Reference< rendering::XGraphicDevice >& rDevice, - Color::IntSRGBA aColor ) + uno::Sequence< double > intSRGBAToDoubleSequence( const uno::Reference< rendering::XGraphicDevice >&, + Color::IntSRGBA aColor ) { uno::Sequence< double > aRes( 4 ); @@ -58,8 +58,8 @@ namespace cppcanvas return aRes; } - Color::IntSRGBA doubleSequenceToIntSRGBA( const uno::Reference< rendering::XGraphicDevice >& rDevice, - const uno::Sequence< double >& rColor ) + Color::IntSRGBA doubleSequenceToIntSRGBA( const uno::Reference< rendering::XGraphicDevice >&, + const uno::Sequence< double >& rColor ) { return makeColor( static_cast( 255*rColor[0] + .5 ), static_cast( 255*rColor[1] + .5 ), -- cgit v1.2.3