summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-01-05 20:08:58 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-01-06 08:31:51 +0100
commitd9061f32b5d225f221e9399c5fa54996a6f7f43b (patch)
treebec6f851993175e75991fa5f9d569110264aeef5 /sw/source
parent1626122615828c2c1689fb3aab2d05e0bdc1b4d3 (diff)
sw textbox: pShape -> pFormat for frame formats
A frame format can be a fly or a draw frame format. Only the later is a shape. Also this way the parameter name in the definition matches the declaration, improving readability. Change-Id: I69e51bfaceba925002d23cdfb5fa6d60afa3c550 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128023 Tested-by: Jenkins Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/textboxhelper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx
index 3ad9f5ec5f48..65f6e2e03863 100644
--- a/sw/source/core/doc/textboxhelper.cxx
+++ b/sw/source/core/doc/textboxhelper.cxx
@@ -1527,16 +1527,16 @@ bool SwTextBoxHelper::DoTextBoxZOrderCorrection(SwFrameFormat* pShape, const Sdr
}
void SwTextBoxHelper::synchronizeGroupTextBoxProperty(bool pFunc(SwFrameFormat*, SdrObject*),
- SwFrameFormat* pShape, SdrObject* pObj)
+ SwFrameFormat* pFormat, SdrObject* pObj)
{
if (auto pChildren = pObj->getChildrenOfSdrObject())
{
for (size_t i = 0; i < pChildren->GetObjCount(); ++i)
- synchronizeGroupTextBoxProperty(pFunc, pShape, pChildren->GetObj(i));
+ synchronizeGroupTextBoxProperty(pFunc, pFormat, pChildren->GetObj(i));
}
else
{
- (*pFunc)(pShape, pObj);
+ (*pFunc)(pFormat, pObj);
}
}