summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-11-20 14:49:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-11-20 20:04:36 +0100
commite58d4cc1dd954371ef4c3438a3a880939620cd87 (patch)
tree76c5ab1086077fc9fea8e2c793ff26cfe56c57d5 /svx
parent48b23bbfa0271ed327f668933b92d2ae9b99e806 (diff)
loplugin:unusedmethods
Change-Id: Id5f7a9c34d1d159dd0f930a4ce66871bdd3796c1 Reviewed-on: https://gerrit.libreoffice.org/83305 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.cxx11
-rw-r--r--svx/source/accessibility/ChildrenManagerImpl.hxx16
-rw-r--r--svx/source/dialog/dialcontrol.cxx7
3 files changed, 0 insertions, 34 deletions
diff --git a/svx/source/accessibility/ChildrenManagerImpl.cxx b/svx/source/accessibility/ChildrenManagerImpl.cxx
index b69b14af5e7e..bedd363919f8 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.cxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.cxx
@@ -179,17 +179,6 @@ uno::Reference<XAccessible>
}
-uno::Reference<XAccessible>
- ChildrenManagerImpl::GetChild (const uno::Reference<drawing::XShape>& xShape)
-{
- auto I = std::find_if(maVisibleChildren.begin(), maVisibleChildren.end(),
- [&xShape](const ChildDescriptor& rChild) { return rChild.mxShape.get() == xShape.get(); });
- if (I != maVisibleChildren.end())
- return I->mxAccessibleShape;
- return uno::Reference<XAccessible> ();
-}
-
-
/** Find all shapes among the specified shapes that lie fully or partially
inside the visible area. Put those shapes into the cleared cache. The
corresponding accessible objects will be created on demand.
diff --git a/svx/source/accessibility/ChildrenManagerImpl.hxx b/svx/source/accessibility/ChildrenManagerImpl.hxx
index 553779f2f766..325bed20d366 100644
--- a/svx/source/accessibility/ChildrenManagerImpl.hxx
+++ b/svx/source/accessibility/ChildrenManagerImpl.hxx
@@ -152,22 +152,6 @@ public:
css::uno::Reference<css::accessibility::XAccessible>
GetChild (ChildDescriptor& aChildDescriptor,sal_Int32 _nIndex);
- /** Return the requested accessible child given a shape. This method
- searches the list of descriptors for the one that holds the
- association of the given shape to the requested accessible object
- and returns that. If no such descriptor is found that is
- interpreted so that the specified shape is not visible at the moment.
- @param xShape
- The shape for which to return the associated accessible object.
- @return
- Returns a reference to the requested accessible child. The
- reference is empty if there is no shape descriptor that
- associates the shape with an accessible object.
- @throws css::uno::RuntimeException
- */
- css::uno::Reference<css::accessibility::XAccessible>
- GetChild (const css::uno::Reference<css::drawing::XShape>& xShape);
-
/** Update the child manager. Take care of a modified set of children
and modified visible area. This method can optimize the update
process with respect separate updates of a modified children list
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx
index 1522da700c40..83ae8655d8a7 100644
--- a/svx/source/dialog/dialcontrol.cxx
+++ b/svx/source/dialog/dialcontrol.cxx
@@ -365,13 +365,6 @@ void DialControl::SetRotation( sal_Int32 nAngle )
SetRotation( nAngle, false );
}
-void DialControl::LinkedFieldModifyHdl()
-{
- if( mpImpl->mpLinkField )
- SetRotation( static_cast< sal_Int32 >( mpImpl->mpLinkField->GetValue() * mpImpl->mnLinkedFieldValueMultiplyer ), false );
-}
-
-
void DialControl::SetModifyHdl( const Link<DialControl*,void>& rLink )
{
mpImpl->maModifyHdl = rLink;