diff options
Diffstat (limited to 'include/canvas')
-rw-r--r-- | include/canvas/canvastools.hxx | 7 | ||||
-rw-r--r-- | include/canvas/verifyinput.hxx | 12 |
2 files changed, 0 insertions, 19 deletions
diff --git a/include/canvas/canvastools.hxx b/include/canvas/canvastools.hxx index 2085915b6803..831d3b97d5c8 100644 --- a/include/canvas/canvastools.hxx +++ b/include/canvas/canvastools.hxx @@ -62,12 +62,6 @@ namespace com { namespace sun { namespace star { namespace rendering struct Texture; class XIntegerBitmapColorSpace; class XPolyPolygon2D; - - bool operator==( const RenderState& rLHS, - const RenderState& rRHS ); - - bool operator==( const ViewState& rLHS, - const ViewState& rRHS ); } } } } namespace com { namespace sun { namespace star { namespace awt @@ -111,7 +105,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); } - inline unsigned int count( unsigned int x, unsigned int c ) { return ((x) & mask(c)) + (((x) >> (pow2(c))) & mask(c)); } /** Round given floating point value down to next integer */ diff --git a/include/canvas/verifyinput.hxx b/include/canvas/verifyinput.hxx index 8ea52acd0842..615f5295cf25 100644 --- a/include/canvas/verifyinput.hxx +++ b/include/canvas/verifyinput.hxx @@ -558,18 +558,6 @@ namespace canvas /** Range checker, which throws css::lang::IndexOutOfBounds exception, when index range is violated - */ - template< typename NumType > inline void verifyIndexRange( NumType arg, NumType lowerBound, NumType upperBound ) - { - if( arg < lowerBound || - arg > upperBound ) - { - throw css::lang::IndexOutOfBoundsException(); - } - } - - /** Range checker, which throws css::lang::IndexOutOfBounds exception, when - index range is violated @param rect Rect to verify |