Kaydet (Commit) 0d6cb9f8 authored tarafından Miklos Vajna's avatar Miklos Vajna

oox: fix inconsistent param naming in interface/implementation

Make sure they match.

Change-Id: Ib3ce948a29472281705e361792c924893ad97b32
Reviewed-on: https://gerrit.libreoffice.org/40259Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarJenkins <ci@libreoffice.org>
üst 98d47a3c
......@@ -27,9 +27,9 @@ LockedCanvasContext::LockedCanvasContext(ContextHandler2Helper& rParent)
LockedCanvasContext::~LockedCanvasContext() = default;
::oox::core::ContextHandlerRef LockedCanvasContext::onCreateContext(sal_Int32 aElementToken, const ::oox::AttributeList& /*rAttribs*/)
::oox::core::ContextHandlerRef LockedCanvasContext::onCreateContext(sal_Int32 nElementToken, const ::oox::AttributeList& /*rAttribs*/)
{
switch (getBaseToken(aElementToken))
switch (getBaseToken(nElementToken))
{
case XML_lockedCanvas:
break;
......@@ -52,7 +52,7 @@ LockedCanvasContext::~LockedCanvasContext() = default;
return new oox::drawingml::ShapeGroupContext(*this, pMasterShape, mpShape);
}
default:
SAL_WARN("oox", "LockedCanvasContext::createFastChildContext: unhandled element:" << getBaseToken(aElementToken));
SAL_WARN("oox", "LockedCanvasContext::createFastChildContext: unhandled element:" << getBaseToken(nElementToken));
break;
}
return nullptr;
......
......@@ -25,7 +25,7 @@ public:
explicit LockedCanvasContext(oox::core::ContextHandler2Helper& rParent);
~LockedCanvasContext() override;
oox::core::ContextHandlerRef onCreateContext(sal_Int32 Element, const ::oox::AttributeList& rAttribs) override;
oox::core::ContextHandlerRef onCreateContext(sal_Int32 nElementToken, const ::oox::AttributeList& rAttribs) override;
const oox::drawingml::ShapePtr& getShape() const
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment