summaryrefslogtreecommitdiff
path: root/cppcanvas/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-02-22 09:52:13 +0200
committerNoel Grandin <noel@peralex.com>2016-02-22 14:34:21 +0200
commitdb8067145f0126402be39042934e11228a1b42e9 (patch)
tree0a9d18faaf0c862cc544e6a991b32a68bbb40e28 /cppcanvas/source
parent14420e83296fd393cba956047370564c3517cdae (diff)
loplugin:write only fields
Change-Id: I44f249a17d0a510ec63a488b656d57a1a392f821
Diffstat (limited to 'cppcanvas/source')
-rw-r--r--cppcanvas/source/mtfrenderer/implrenderer.cxx1
-rw-r--r--cppcanvas/source/mtfrenderer/transparencygroupaction.cxx10
-rw-r--r--cppcanvas/source/mtfrenderer/transparencygroupaction.hxx4
-rw-r--r--cppcanvas/source/wrapper/implsprite.cxx1
-rw-r--r--cppcanvas/source/wrapper/implsprite.hxx1
5 files changed, 0 insertions, 17 deletions
diff --git a/cppcanvas/source/mtfrenderer/implrenderer.cxx b/cppcanvas/source/mtfrenderer/implrenderer.cxx
index 9de66589345c..4afe3f925025 100644
--- a/cppcanvas/source/mtfrenderer/implrenderer.cxx
+++ b/cppcanvas/source/mtfrenderer/implrenderer.cxx
@@ -2448,7 +2448,6 @@ namespace cppcanvas
internal::TransparencyGroupActionFactory::createTransparencyGroupAction(
std::move(pMtf),
std::move(pGradient),
- rParms,
rStates.getState().mapModeTransform *
vcl::unotools::b2DPointFromPoint( pAct->GetPoint() ),
rStates.getState().mapModeTransform *
diff --git a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx
index 9d75134a38cb..52c94b772b2c 100644
--- a/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx
+++ b/cppcanvas/source/mtfrenderer/transparencygroupaction.cxx
@@ -78,9 +78,6 @@ namespace cppcanvas
VCL gradient, to be rendered into the action's alpha
channel.
- @param rParms
- Render parameters
-
@param rDstPoint
Left, top edge of destination, in current state
coordinate system
@@ -91,7 +88,6 @@ namespace cppcanvas
*/
TransparencyGroupAction( MtfAutoPtr&& rGroupMtf,
GradientAutoPtr&& rAlphaGradient,
- const Renderer::Parameters& rParms,
const ::basegfx::B2DPoint& rDstPoint,
const ::basegfx::B2DVector& rDstSize,
const CanvasSharedPtr& rCanvas,
@@ -111,8 +107,6 @@ namespace cppcanvas
MtfAutoPtr mpGroupMtf;
GradientAutoPtr mpAlphaGradient;
- const Renderer::Parameters maParms;
-
const ::basegfx::B2DSize maDstSize;
mutable uno::Reference< rendering::XBitmap > mxBufferBitmap; // contains last rendered version
@@ -144,14 +138,12 @@ namespace cppcanvas
TransparencyGroupAction::TransparencyGroupAction( MtfAutoPtr&& rGroupMtf,
GradientAutoPtr&& rAlphaGradient,
- const Renderer::Parameters& rParms,
const ::basegfx::B2DPoint& rDstPoint,
const ::basegfx::B2DVector& rDstSize,
const CanvasSharedPtr& rCanvas,
const OutDevState& rState ) :
mpGroupMtf( std::move(rGroupMtf) ),
mpAlphaGradient( std::move(rAlphaGradient) ),
- maParms( rParms ),
maDstSize( rDstSize ),
mxBufferBitmap(),
maLastTransformation(),
@@ -476,7 +468,6 @@ namespace cppcanvas
ActionSharedPtr TransparencyGroupActionFactory::createTransparencyGroupAction( MtfAutoPtr&& rGroupMtf,
GradientAutoPtr&& rAlphaGradient,
- const Renderer::Parameters& rParms,
const ::basegfx::B2DPoint& rDstPoint,
const ::basegfx::B2DVector& rDstSize,
const CanvasSharedPtr& rCanvas,
@@ -484,7 +475,6 @@ namespace cppcanvas
{
return ActionSharedPtr( new TransparencyGroupAction(std::move(rGroupMtf),
std::move(rAlphaGradient),
- rParms,
rDstPoint,
rDstSize,
rCanvas,
diff --git a/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx b/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx
index 17978848e5b5..e73ebf37d8b5 100644
--- a/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx
+++ b/cppcanvas/source/mtfrenderer/transparencygroupaction.hxx
@@ -71,9 +71,6 @@ namespace cppcanvas
VCL gradient, to be rendered into the action's alpha
channel.
- @param rParms
- Render parameters
-
@param rDstPoint
Left, top edge of destination, in current state
coordinate system
@@ -84,7 +81,6 @@ namespace cppcanvas
*/
ActionSharedPtr createTransparencyGroupAction( MtfAutoPtr&& rGroupMtf,
GradientAutoPtr&& rAlphaGradient,
- const Renderer::Parameters& rParms,
const ::basegfx::B2DPoint& rDstPoint,
const ::basegfx::B2DVector& rDstSize,
const CanvasSharedPtr& rCanvas,
diff --git a/cppcanvas/source/wrapper/implsprite.cxx b/cppcanvas/source/wrapper/implsprite.cxx
index 5f58ba210e30..889b06125b8d 100644
--- a/cppcanvas/source/wrapper/implsprite.cxx
+++ b/cppcanvas/source/wrapper/implsprite.cxx
@@ -40,7 +40,6 @@ namespace cppcanvas
const ImplSpriteCanvas::TransformationArbiterSharedPtr& rTransformArbiter ) :
mxGraphicDevice(),
mxSprite( rSprite ),
- mxAnimatedSprite(),
mpTransformArbiter( rTransformArbiter )
{
// Avoiding ternary operator in initializer list (Solaris
diff --git a/cppcanvas/source/wrapper/implsprite.hxx b/cppcanvas/source/wrapper/implsprite.hxx
index fdb0c06a9316..05d05635ee49 100644
--- a/cppcanvas/source/wrapper/implsprite.hxx
+++ b/cppcanvas/source/wrapper/implsprite.hxx
@@ -62,7 +62,6 @@ namespace cppcanvas
css::uno::Reference< css::rendering::XGraphicDevice > mxGraphicDevice;
const css::uno::Reference< css::rendering::XSprite > mxSprite;
- const css::uno::Reference< css::rendering::XAnimatedSprite > mxAnimatedSprite;
ImplSpriteCanvas::TransformationArbiterSharedPtr mpTransformArbiter;
};
}