summaryrefslogtreecommitdiff
path: root/cppcanvas/source
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 14:00:54 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 14:00:54 +0000
commit0c9508304f9aef0d015664cb32e00f1c5599fa3e (patch)
tree487a9e592246f662ef3c915109cd551485389d56 /cppcanvas/source
parent5e5193ef2102b711f5fb86cf53385409eda745be (diff)
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
Diffstat (limited to 'cppcanvas/source')
-rw-r--r--cppcanvas/source/tools/tools.cxx12
1 files changed, 6 insertions, 6 deletions
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<sal_uInt8>( 255*rColor[0] + .5 ),
static_cast<sal_uInt8>( 255*rColor[1] + .5 ),