summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-03-03 11:08:31 +0100
committerMichael Meeks <michael.meeks@suse.com>2013-03-04 11:34:07 +0000
commit5b04c9063cc9dd77dc55c361df081812af38cdbd (patch)
tree827cd9405e68df853362ac6a021c4619bf4a6bc3 /cppcanvas
parentbf48090e0a81c6490ee938eabaef4e791df85229 (diff)
remove unused and commented out code
This code gets never called. Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/inc/cppcanvas/canvasgraphic.hxx7
-rw-r--r--cppcanvas/source/inc/canvasgraphichelper.hxx2
-rw-r--r--cppcanvas/source/tools/canvasgraphichelper.cxx12
3 files changed, 0 insertions, 21 deletions
diff --git a/cppcanvas/inc/cppcanvas/canvasgraphic.hxx b/cppcanvas/inc/cppcanvas/canvasgraphic.hxx
index d42302350878..e496df6aeb33 100644
--- a/cppcanvas/inc/cppcanvas/canvasgraphic.hxx
+++ b/cppcanvas/inc/cppcanvas/canvasgraphic.hxx
@@ -131,13 +131,6 @@ namespace cppcanvas
*/
virtual ::basegfx::B2DPolyPolygon const* getClip() const = 0;
- /** Set object color
- */
- virtual void setRGBAColor( Color::IntSRGBA ) = 0;
- /** Get object color
- */
- virtual Color::IntSRGBA getRGBAColor() const = 0;
-
/** Set object composite mode
*/
virtual void setCompositeOp( CompositeOp aOp ) = 0;
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;