summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-05-06 19:27:50 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-06 22:17:16 +0200
commitd6375dcd1db6ce7e1bae8297949801f7d4249e52 (patch)
treebc4df363f8a0d569ba942ad15dcca906d5242832 /sw/source
parent48969e9f578c16ff4142b2911746212044cbce61 (diff)
loplugin:unusedmethods
plugin code needed some updating because it was interacting badly with PCH code in pluginhandler::ignoreLocation Change-Id: I228f94a4e285747bd1d5b8536010f8617118cafa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115212 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/doc/textboxhelper.cxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/sw/source/core/doc/textboxhelper.cxx b/sw/source/core/doc/textboxhelper.cxx
index f093b2370a22..72676dcf777f 100644
--- a/sw/source/core/doc/textboxhelper.cxx
+++ b/sw/source/core/doc/textboxhelper.cxx
@@ -1100,13 +1100,6 @@ bool SwTextBoxHelper::setWrapThrough(SwFrameFormat* pShape)
return false;
}
-bool SwTextBoxHelper::setWrapThrough(uno::Reference<drawing::XShape> xShape)
-{
- if (auto pShape = getShapeFormat(xShape))
- return setWrapThrough(pShape);
- return false;
-}
-
bool SwTextBoxHelper::changeAnchor(SwFrameFormat* pShape)
{
if (isTextBoxShapeHasValidTextFrame(pShape))
@@ -1198,13 +1191,6 @@ bool SwTextBoxHelper::changeAnchor(SwFrameFormat* pShape)
return false;
}
-bool SwTextBoxHelper::changeAnchor(uno::Reference<drawing::XShape> xShape)
-{
- if (auto pShape = getShapeFormat(xShape))
- return changeAnchor(pShape);
- return false;
-}
-
bool SwTextBoxHelper::doTextBoxPositioning(SwFrameFormat* pShape)
{
if (isTextBoxShapeHasValidTextFrame(pShape))
@@ -1254,13 +1240,6 @@ bool SwTextBoxHelper::doTextBoxPositioning(SwFrameFormat* pShape)
return false;
}
-bool SwTextBoxHelper::doTextBoxPositioning(uno::Reference<drawing::XShape> xShape)
-{
- if (auto pShape = getShapeFormat(xShape))
- return doTextBoxPositioning(pShape);
- return false;
-}
-
std::optional<bool> SwTextBoxHelper::isAnchorTypeDifferent(SwFrameFormat* pShape)
{
std::optional<bool> bRet;
@@ -1296,12 +1275,4 @@ bool SwTextBoxHelper::isTextBoxShapeHasValidTextFrame(SwFrameFormat* pShape)
return false;
}
-bool SwTextBoxHelper::isTextBoxShapeHasValidTextFrame(uno::Reference<drawing::XShape> xShape)
-{
- if (auto pShape = getShapeFormat(xShape))
- return isTextBoxShapeHasValidTextFrame(pShape);
-
- return false;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */