From b460792abc90a06489f45501759936046daf3607 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 30 Oct 2015 09:33:34 +0200 Subject: loplugin:unusedmethods Change-Id: Ib4277268903e4411f6dabc856270702f40027bdb Reviewed-on: https://gerrit.libreoffice.org/19680 Tested-by: Jenkins Reviewed-by: Noel Grandin --- include/canvas/canvastools.hxx | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/canvas/canvastools.hxx b/include/canvas/canvastools.hxx index 831d3b97d5c8..99cde2657b0a 100644 --- a/include/canvas/canvastools.hxx +++ b/include/canvas/canvastools.hxx @@ -104,7 +104,6 @@ namespace canvas // mickey's math tricks... inline unsigned int pow2( unsigned int c ) { return 0x1 << c; } - inline unsigned int mask( unsigned int c ) { return ((unsigned int)(-1)) / (pow2(pow2(c)) + 1); } /** Round given floating point value down to next integer */ -- cgit