diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-03 11:08:31 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2013-03-04 11:34:07 +0000 |
commit | 5b04c9063cc9dd77dc55c361df081812af38cdbd (patch) | |
tree | 827cd9405e68df853362ac6a021c4619bf4a6bc3 /cppcanvas/source | |
parent | discard explicit SetAccessibleRelationMemberOf when members of a true VclFrame (diff) | |
download | core-5b04c9063cc9dd77dc55c361df081812af38cdbd.tar.gz core-5b04c9063cc9dd77dc55c361df081812af38cdbd.zip |
remove unused and commented out code
This code gets never called.
Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
Diffstat (limited to 'cppcanvas/source')
-rw-r--r-- | cppcanvas/source/inc/canvasgraphichelper.hxx | 2 | ||||
-rw-r--r-- | cppcanvas/source/tools/canvasgraphichelper.cxx | 12 |
2 files changed, 0 insertions, 14 deletions
diff --git a/cppcanvas/source/inc/canvasgraphichelper.hxx b/cppcanvas/source/inc/canvasgraphichelper.hxx index 125b1c2a828b..f0ab8bce88c3 100644 --- a/cppcanvas/source/inc/canvasgraphichelper.hxx +++ b/cppcanvas/source/inc/canvasgraphichelper.hxx @@ -52,8 +52,6 @@ namespace cppcanvas virtual void setClip( const ::basegfx::B2DPolyPolygon& rClipPoly ); virtual void setClip(); virtual ::basegfx::B2DPolyPolygon const* getClip() const; - virtual void setRGBAColor( Color::IntSRGBA ); - virtual Color::IntSRGBA getRGBAColor() const; virtual void setCompositeOp( CompositeOp aOp ); virtual CompositeOp getCompositeOp() const; diff --git a/cppcanvas/source/tools/canvasgraphichelper.cxx b/cppcanvas/source/tools/canvasgraphichelper.cxx index 6854ff9b366d..562be9715d58 100644 --- a/cppcanvas/source/tools/canvasgraphichelper.cxx +++ b/cppcanvas/source/tools/canvasgraphichelper.cxx @@ -105,18 +105,6 @@ namespace cppcanvas return maRenderState; } - void CanvasGraphicHelper::setRGBAColor( Color::IntSRGBA aColor ) - { - maRenderState.DeviceColor = tools::intSRGBAToDoubleSequence( mxGraphicDevice, - aColor ); - } - - Color::IntSRGBA CanvasGraphicHelper::getRGBAColor() const - { - return tools::doubleSequenceToIntSRGBA( mxGraphicDevice, - maRenderState.DeviceColor ); - } - void CanvasGraphicHelper::setCompositeOp( CompositeOp aOp ) { maRenderState.CompositeOperation = (sal_Int8)aOp; |