diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2022-06-18 16:18:37 +1000 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2022-06-21 07:48:58 +0200 |
commit | 903403c1e3d5c0f882189fa87ed2b19c16a9893e (patch) | |
tree | bf89c73ad9acad3ca25176745940c5ed45180f76 /vcl/source/graphic | |
parent | a98b0037c6116ed7a0f4f426571bbb361cf2e62f (diff) |
vcl: rename mnExtraData to mnRendererId
The name "extra data" doesn't really describe what this field does. What
it actually does it to specify what animation renderer should be used.
Change-Id: I1e705ba89d09ceb41a8649c8947225c7b6816e7a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/76403
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/source/graphic')
-rw-r--r-- | vcl/source/graphic/GraphicObject.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/source/graphic/GraphicObject.cxx b/vcl/source/graphic/GraphicObject.cxx index 86b49077804a..413355e60680 100644 --- a/vcl/source/graphic/GraphicObject.cxx +++ b/vcl/source/graphic/GraphicObject.cxx @@ -541,7 +541,7 @@ void GraphicObject::DrawTiled(OutputDevice& rOut, const tools::Rectangle& rArea, } bool GraphicObject::StartAnimation(OutputDevice& rOut, const Point& rPt, const Size& rSz, - tools::Long nExtraData, + tools::Long nRendererId, OutputDevice* pFirstFrameOutDev) { bool bRet = false; @@ -579,7 +579,7 @@ bool GraphicObject::StartAnimation(OutputDevice& rOut, const Point& rPt, const S mxSimpleCache->maGraphic.SetAnimationNotifyHdl(GetGraphic().GetAnimationNotifyHdl()); } - mxSimpleCache->maGraphic.StartAnimation(rOut, aPt, aSz, nExtraData, pFirstFrameOutDev); + mxSimpleCache->maGraphic.StartAnimation(rOut, aPt, aSz, nRendererId, pFirstFrameOutDev); if( bCropped ) rOut.Pop(); @@ -592,10 +592,10 @@ bool GraphicObject::StartAnimation(OutputDevice& rOut, const Point& rPt, const S return bRet; } -void GraphicObject::StopAnimation( const OutputDevice* pOut, tools::Long nExtraData ) +void GraphicObject::StopAnimation( const OutputDevice* pOut, tools::Long nRendererId ) { if (mxSimpleCache) - mxSimpleCache->maGraphic.StopAnimation(pOut, nExtraData); + mxSimpleCache->maGraphic.StopAnimation(pOut, nRendererId); } const Graphic& GraphicObject::GetGraphic() const |