[Libreoffice-commits] core.git: vcl/inc vcl/source
Adrien Ollier (via logerrit)
logerrit at kemper.freedesktop.org
Sun Jan 26 10:38:05 UTC 2020
vcl/inc/impanmvw.hxx | 2 +-
vcl/source/gdi/impanmvw.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 22d2ad9135eca2a3d793cc1709148d4a5b6ec1c4
Author: Adrien Ollier <adr.ollier at hotmail.fr>
AuthorDate: Sat Jan 25 18:10:13 2020 +0100
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun Jan 26 11:37:35 2020 +0100
const parameter for ImplAnimView::matches
pOut is a const OutputDevice* instead of OutputDevice*
Change-Id: I369fea42a19afaeca3c5a9714e5a6043921be3b4
Signed-off-by: Adrien Ollier <adr.ollier at hotmail.fr>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87416
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/vcl/inc/impanmvw.hxx b/vcl/inc/impanmvw.hxx
index 69949e9252ce..a9f5e959ee58 100644
--- a/vcl/inc/impanmvw.hxx
+++ b/vcl/inc/impanmvw.hxx
@@ -74,7 +74,7 @@ private:
const Point& rPt, const Size& rSz, sal_uLong nExtraData,
OutputDevice* pFirstFrameOutDev = nullptr );
- bool matches( OutputDevice* pOut, long nExtraData ) const;
+ bool matches(const OutputDevice* pOut, long nExtraData) const;
void drawToPos( sal_uLong nPos );
void draw( sal_uLong nPos, VirtualDevice* pVDev=nullptr );
void repaint();
diff --git a/vcl/source/gdi/impanmvw.cxx b/vcl/source/gdi/impanmvw.cxx
index b27a7cc70581..abdc376b2567 100644
--- a/vcl/source/gdi/impanmvw.cxx
+++ b/vcl/source/gdi/impanmvw.cxx
@@ -96,7 +96,7 @@ ImplAnimView::~ImplAnimView()
Animation::ImplDecAnimCount();
}
-bool ImplAnimView::matches(OutputDevice* pOut, long nExtraData) const
+bool ImplAnimView::matches(const OutputDevice* pOut, long nExtraData) const
{
return (!pOut || pOut == mpRenderContext) && (nExtraData == 0 || nExtraData == mnExtraData);
}
More information about the Libreoffice-commits
mailing list