summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-05-21 11:27:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-05-24 10:19:26 +0200
commit9a453051639be4bee9339bface0bb4678eb58bf4 (patch)
treef92c473f759d1f39da1aefaaf88a0c55bbe45ef2
parentf7a77ec55a94bcac13cde7c7e7644d70771b6098 (diff)
remove some unused typedefs
Change-Id: I305086e26538110481918f8250a482e4738ac41f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94729 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rwxr-xr-xbin/find-unused-typedefs.py2
-rw-r--r--include/drawinglayer/primitive3d/baseprimitive3d.hxx1
-rw-r--r--sdext/source/presenter/PresenterPaneContainer.hxx1
-rw-r--r--sw/source/core/access/acctable.cxx1
-rw-r--r--sw/source/core/inc/movedfwdfrmsbyobjpos.hxx1
-rw-r--r--vcl/inc/unx/gtk/gtkinst.hxx1
6 files changed, 1 insertions, 6 deletions
diff --git a/bin/find-unused-typedefs.py b/bin/find-unused-typedefs.py
index 1f3395835b89..b07c16d2bcb1 100755
--- a/bin/find-unused-typedefs.py
+++ b/bin/find-unused-typedefs.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python2
import subprocess
diff --git a/include/drawinglayer/primitive3d/baseprimitive3d.hxx b/include/drawinglayer/primitive3d/baseprimitive3d.hxx
index 8fab8e6f6089..9e8913799a71 100644
--- a/include/drawinglayer/primitive3d/baseprimitive3d.hxx
+++ b/include/drawinglayer/primitive3d/baseprimitive3d.hxx
@@ -52,7 +52,6 @@ namespace drawinglayer::primitive3d {
/// typedefs for basePrimitive3DImplBase, Primitive3DContainer and Primitive3DReference
typedef cppu::WeakComponentImplHelper< css::graphic::XPrimitive3D > BasePrimitive3DImplBase;
typedef css::uno::Reference< css::graphic::XPrimitive3D > Primitive3DReference;
- typedef css::uno::Sequence< Primitive3DReference > Primitive3DSequence;
class SAL_WARN_UNUSED DRAWINGLAYER_DLLPUBLIC Primitive3DContainer : public std::deque< Primitive3DReference >
{
diff --git a/sdext/source/presenter/PresenterPaneContainer.hxx b/sdext/source/presenter/PresenterPaneContainer.hxx
index d2c75177d961..65c6bddb7e0b 100644
--- a/sdext/source/presenter/PresenterPaneContainer.hxx
+++ b/sdext/source/presenter/PresenterPaneContainer.hxx
@@ -74,7 +74,6 @@ public:
class PaneDescriptor
{
public:
- typedef ::std::function<std::shared_ptr<PresenterSprite> ()> SpriteProvider;
css::uno::Reference<css::drawing::framework::XResourceId> mxPaneId;
OUString msViewURL;
::rtl::Reference<PresenterPaneBase> mxPane;
diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx
index 14cd019bc2a4..ccdf75eb8989 100644
--- a/sw/source/core/access/acctable.cxx
+++ b/sw/source/core/access/acctable.cxx
@@ -56,7 +56,6 @@ using namespace ::com::sun::star::accessibility;
using namespace ::sw::access;
typedef o3tl::sorted_vector< sal_Int32 > Int32Set_Impl;
-typedef std::pair < sal_Int32, sal_Int32 > Int32Pair_Impl;
const unsigned int SELECTION_WITH_NUM = 10;
diff --git a/sw/source/core/inc/movedfwdfrmsbyobjpos.hxx b/sw/source/core/inc/movedfwdfrmsbyobjpos.hxx
index 98b3f3f288a9..c42944060ced 100644
--- a/sw/source/core/inc/movedfwdfrmsbyobjpos.hxx
+++ b/sw/source/core/inc/movedfwdfrmsbyobjpos.hxx
@@ -28,7 +28,6 @@ class SwTextFrame;
class SwRowFrame;
typedef std::map< const SwTextNode*, const sal_uInt32 > NodeMap;
-typedef NodeMap::value_type NodeMapEntry;
class SwMovedFwdFramesByObjPos
{
diff --git a/vcl/inc/unx/gtk/gtkinst.hxx b/vcl/inc/unx/gtk/gtkinst.hxx
index d1d624b9e27e..3402aa6e3ca3 100644
--- a/vcl/inc/unx/gtk/gtkinst.hxx
+++ b/vcl/inc/unx/gtk/gtkinst.hxx
@@ -193,7 +193,6 @@ public:
class GtkSalTimer;
class GtkInstance final : public SvpSalInstance
{
- typedef SvpSalInstance Superclass_t;
public:
GtkInstance( std::unique_ptr<SalYieldMutex> pMutex );
virtual ~GtkInstance() override;