[Libreoffice-commits] core.git: bin/find-unused-typedefs.py include/drawinglayer sdext/source sw/source vcl/inc

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Sun May 24 08:20:16 UTC 2020


 bin/find-unused-typedefs.py                          |    2 +-
 include/drawinglayer/primitive3d/baseprimitive3d.hxx |    1 -
 sdext/source/presenter/PresenterPaneContainer.hxx    |    1 -
 sw/source/core/access/acctable.cxx                   |    1 -
 sw/source/core/inc/movedfwdfrmsbyobjpos.hxx          |    1 -
 vcl/inc/unx/gtk/gtkinst.hxx                          |    1 -
 6 files changed, 1 insertion(+), 6 deletions(-)

New commits:
commit 9a453051639be4bee9339bface0bb4678eb58bf4
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu May 21 11:27:29 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Sun May 24 10:19:26 2020 +0200

    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 at collabora.co.uk>

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;


More information about the Libreoffice-commits mailing list