summaryrefslogtreecommitdiff
path: root/cppcanvas/source/tools/tools.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-27 12:52:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-28 07:17:51 +0200
commitb32ead5dd27c6f2b760e4196ebe0378fb8ec1a69 (patch)
treee647c37f069db3be229a4b89bc44fd21e64128fa /cppcanvas/source/tools/tools.cxx
parent3956e4cb58033cae360beddf97136596ff3bb740 (diff)
loplugin:checkunusedparams more part1
seems I got one of the checks wrong, and was missing a bunch of stuff Change-Id: I2c662fc4e735f8d6cbe56c6f82906a60a580331b Reviewed-on: https://gerrit.libreoffice.org/40481 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppcanvas/source/tools/tools.cxx')
-rw-r--r--cppcanvas/source/tools/tools.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/cppcanvas/source/tools/tools.cxx b/cppcanvas/source/tools/tools.cxx
index db4dd13c2f59..6bf9c55433c4 100644
--- a/cppcanvas/source/tools/tools.cxx
+++ b/cppcanvas/source/tools/tools.cxx
@@ -27,8 +27,7 @@ namespace cppcanvas
{
namespace tools
{
- uno::Sequence< double > intSRGBAToDoubleSequence( const uno::Reference< rendering::XGraphicDevice >&,
- Color::IntSRGBA aColor )
+ uno::Sequence< double > intSRGBAToDoubleSequence( Color::IntSRGBA aColor )
{
uno::Sequence< double > aRes( 4 );
@@ -40,8 +39,7 @@ namespace cppcanvas
return aRes;
}
- Color::IntSRGBA doubleSequenceToIntSRGBA( const uno::Reference< rendering::XGraphicDevice >&,
- const uno::Sequence< double >& rColor )
+ Color::IntSRGBA doubleSequenceToIntSRGBA( const uno::Sequence< double >& rColor )
{
return makeColor( static_cast<sal_uInt8>( 255*rColor[0] + .5 ),
static_cast<sal_uInt8>( 255*rColor[1] + .5 ),