summaryrefslogtreecommitdiff
path: root/cppcanvas
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-08-09 12:40:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-08-09 12:47:03 +0100
commit7e071e5383560c1a85722b134f5a8637585999e5 (patch)
treedc4909219f3af9104147d83ec6c229e6dd313e36 /cppcanvas
parent16f75f1f773035df36437763588d5a3acbb70935 (diff)
remove some unused methods
Change-Id: I8b89f49eff059f5650bfb531bcb568db1d97c3a3
Diffstat (limited to 'cppcanvas')
-rw-r--r--cppcanvas/source/wrapper/implsprite.cxx21
-rw-r--r--cppcanvas/source/wrapper/implsprite.hxx5
2 files changed, 0 insertions, 26 deletions
diff --git a/cppcanvas/source/wrapper/implsprite.cxx b/cppcanvas/source/wrapper/implsprite.cxx
index 9e6ce32a6e34..9ff68ef327c1 100644
--- a/cppcanvas/source/wrapper/implsprite.cxx
+++ b/cppcanvas/source/wrapper/implsprite.cxx
@@ -64,27 +64,6 @@ namespace cppcanvas
OSL_ENSURE( mpTransformArbiter.get(), "ImplSprite::ImplSprite(): Invalid transformation arbiter");
}
- ImplSprite::ImplSprite( const uno::Reference< rendering::XSpriteCanvas >& rParentCanvas,
- const uno::Reference< rendering::XAnimatedSprite >& rSprite,
- const ImplSpriteCanvas::TransformationArbiterSharedPtr& rTransformArbiter ) :
- mxGraphicDevice(),
- mxSprite( uno::Reference< rendering::XSprite >(rSprite,
- uno::UNO_QUERY) ),
- mxAnimatedSprite( rSprite ),
- mpTransformArbiter( rTransformArbiter )
- {
- // Avoiding ternary operator in initializer list (Solaris
- // compiler bug, when function call and temporary is
- // involved)
- if( rParentCanvas.is() )
- mxGraphicDevice = rParentCanvas->getDevice();
-
- OSL_ENSURE( rParentCanvas.is() , "ImplSprite::ImplSprite(): Invalid canvas");
- OSL_ENSURE( mxGraphicDevice.is(), "ImplSprite::ImplSprite(): Invalid graphic device");
- OSL_ENSURE( mxSprite.is(), "ImplSprite::ImplSprite(): Invalid sprite");
- OSL_ENSURE( mpTransformArbiter.get(), "ImplSprite::ImplSprite(): Invalid transformation arbiter");
- }
-
ImplSprite::~ImplSprite()
{
// hide the sprite on the canvas. If we don't hide the
diff --git a/cppcanvas/source/wrapper/implsprite.hxx b/cppcanvas/source/wrapper/implsprite.hxx
index d75cd7c470c3..025d3e34ba33 100644
--- a/cppcanvas/source/wrapper/implsprite.hxx
+++ b/cppcanvas/source/wrapper/implsprite.hxx
@@ -51,11 +51,6 @@ namespace cppcanvas
const ::com::sun::star::uno::Reference<
::com::sun::star::rendering::XSprite >& rSprite,
const ImplSpriteCanvas::TransformationArbiterSharedPtr& rTransformArbiter );
- ImplSprite( const ::com::sun::star::uno::Reference<
- ::com::sun::star::rendering::XSpriteCanvas >& rParentCanvas,
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::rendering::XAnimatedSprite >& rSprite,
- const ImplSpriteCanvas::TransformationArbiterSharedPtr& rTransformArbiter );
virtual ~ImplSprite();
virtual void setAlpha( const double& rAlpha );