summaryrefslogtreecommitdiff
path: root/include/canvas
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-10-30 09:33:34 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-30 09:26:28 +0000
commitb460792abc90a06489f45501759936046daf3607 (patch)
treee29806abc83ce0b643106c6919b6ca27af86da85 /include/canvas
parent227678102b8b1c861b88efd58979f2be78d5d906 (diff)
loplugin:unusedmethods
Change-Id: Ib4277268903e4411f6dabc856270702f40027bdb Reviewed-on: https://gerrit.libreoffice.org/19680 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/canvas')
-rw-r--r--include/canvas/canvastools.hxx1
1 files changed, 0 insertions, 1 deletions
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
*/