[Libreoffice-commits] core.git: basic/source bridges/source desktop/source filter/source framework/inc framework/source hwpfilter/source idlc/inc idl/inc include/filter include/framework include/oox include/sfx2 include/sot include/svx include/tools include/touch ios/shared sal/android sc/inc sc/source sd/inc sd/source sfx2/source shell/source sw/source unoxml/source writerfilter/source xmloff/source

Noel Grandin noel at peralex.com
Tue Jan 27 22:20:30 PST 2015


 basic/source/inc/sbjsmeth.hxx                                  |    1 -
 basic/source/inc/sbunoobj.hxx                                  |    4 ----
 bridges/source/cpp_uno/msvc_win32_x86-64/mscx.hxx              |    1 -
 desktop/source/deployment/gui/dp_gui_extlistbox.hxx            |    1 -
 filter/source/flash/swfexporter.hxx                            |    1 -
 framework/inc/classes/filtercachedata.hxx                      |    2 --
 framework/inc/stdtypes.h                                       |    8 --------
 framework/source/inc/accelerators/acceleratorconfiguration.hxx |    4 ----
 hwpfilter/source/hwplib.h                                      |    1 -
 idl/inc/basobj.hxx                                             |    3 ---
 idl/inc/hash.hxx                                               |    1 -
 idl/inc/types.hxx                                              |    2 --
 idlc/inc/idlc/aststruct.hxx                                    |    1 -
 idlc/inc/idlc/idlctypes.hxx                                    |    1 -
 include/filter/msfilter/mstoolbar.hxx                          |    1 -
 include/filter/msfilter/svxmsbas.hxx                           |    2 --
 include/framework/addonsoptions.hxx                            |    1 -
 include/oox/drawingml/drawingmltypes.hxx                       |    1 -
 include/oox/dump/dumperbase.hxx                                |    3 ---
 include/oox/helper/binaryoutputstream.hxx                      |    1 -
 include/oox/helper/progressbar.hxx                             |    1 -
 include/oox/ole/axcontrol.hxx                                  |    1 -
 include/oox/ole/olehelper.hxx                                  |    1 -
 include/sfx2/controlwrapper.hxx                                |    7 -------
 include/sfx2/fcontnr.hxx                                       |    2 --
 include/sfx2/itemconnect.hxx                                   |    8 --------
 include/sot/exchange.hxx                                       |    3 ---
 include/svx/svdmodel.hxx                                       |    1 -
 include/tools/pstm.hxx                                         |    1 -
 include/tools/rc.h                                             |    1 -
 include/tools/stream.hxx                                       |    2 --
 include/touch/touch.h                                          |    1 -
 ios/shared/ios_sharedlo/objective_c/render/MLORenderManager.m  |    1 -
 sal/android/lo-bootstrap.c                                     |    1 -
 sc/inc/dptabres.hxx                                            |    1 -
 sc/inc/pivot.hxx                                               |    1 -
 sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx         |    1 -
 sc/source/filter/xml/xmlexprt.hxx                              |    1 -
 sd/inc/CustomAnimationPreset.hxx                               |    1 -
 sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h      |    7 -------
 sd/source/ui/unoidl/unoobj.cxx                                 |    1 -
 sfx2/source/inc/appdata.hxx                                    |    1 -
 sfx2/source/sidebar/DeckDescriptor.hxx                         |    1 -
 sfx2/source/sidebar/PanelDescriptor.hxx                        |    1 -
 shell/source/tools/lngconvex/defs.hxx                          |    2 --
 sw/source/core/doc/docsort.cxx                                 |    1 -
 sw/source/filter/ww8/WW8TableInfo.hxx                          |    1 -
 sw/source/filter/ww8/wrtww8.hxx                                |    1 -
 unoxml/source/events/eventdispatcher.hxx                       |    1 -
 writerfilter/source/dmapper/PropertyMap.hxx                    |    1 -
 writerfilter/source/ooxml/OOXMLFastContextHandler.hxx          |    1 -
 xmloff/source/chart/SchXMLExport.cxx                           |    2 --
 xmloff/source/forms/layerimport.hxx                            |    1 -
 53 files changed, 98 deletions(-)

New commits:
commit fe480d8136b204c8dc6c68916cce7e816f8b9c48
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Jan 27 07:32:01 2015 +0200

    remove unused typedefs
    
    found with some minor modifications to find/find-unused-defines.sh
    
    Change-Id: I18cc479adedc7a0dada68a4aeef08300e62631dd
    Reviewed-on: https://gerrit.libreoffice.org/14194
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noelgrandin at gmail.com>

diff --git a/basic/source/inc/sbjsmeth.hxx b/basic/source/inc/sbjsmeth.hxx
index 82fda81..59cbabd 100644
--- a/basic/source/inc/sbjsmeth.hxx
+++ b/basic/source/inc/sbjsmeth.hxx
@@ -37,7 +37,6 @@ public:
     TYPEINFO_OVERRIDE();
 };
 
-typedef tools::SvRef<SbJScriptMethod> SbJScriptMethodRef;
 
 #endif
 
diff --git a/basic/source/inc/sbunoobj.hxx b/basic/source/inc/sbunoobj.hxx
index 8d8aaa7..d47a66e 100644
--- a/basic/source/inc/sbunoobj.hxx
+++ b/basic/source/inc/sbunoobj.hxx
@@ -99,7 +99,6 @@ public:
     ::com::sun::star::uno::Any getUnoAny();
     void SFX_NOTIFY( SfxBroadcaster&, const TypeId&, const SfxHint& rHint, const TypeId& ) SAL_OVERRIDE;
 };
-typedef tools::SvRef<SbUnoStructRefObject> SbUnoStructRefObjectRef;
 
 class SbUnoObject: public SbxObject
 {
@@ -242,7 +241,6 @@ public:
     const ::com::sun::star::uno::Reference< ::com::sun::star::reflection::XIdlClass >& getUnoClass( void ) { return m_xClass; }
 
 };
-typedef tools::SvRef<SbUnoClass> SbUnoClassRef;
 
 
 // function to find a global identifier in
@@ -269,7 +267,6 @@ public:
 
     void SFX_NOTIFY( SfxBroadcaster&, const TypeId&, const SfxHint& rHint, const TypeId& ) SAL_OVERRIDE;
 };
-typedef tools::SvRef<SbUnoService> SbUnoServiceRef;
 
 SbUnoService* findUnoService( const OUString& rName );
 
@@ -309,7 +306,6 @@ public:
 
     void SFX_NOTIFY( SfxBroadcaster&, const TypeId&, const SfxHint& rHint, const TypeId& ) SAL_OVERRIDE;
 };
-typedef tools::SvRef<SbUnoSingleton> SbUnoSingletonRef;
 
 SbUnoSingleton* findUnoSingleton( const OUString& rName );
 
diff --git a/bridges/source/cpp_uno/msvc_win32_x86-64/mscx.hxx b/bridges/source/cpp_uno/msvc_win32_x86-64/mscx.hxx
index ccdc655..74fcfd9 100644
--- a/bridges/source/cpp_uno/msvc_win32_x86-64/mscx.hxx
+++ b/bridges/source/cpp_uno/msvc_win32_x86-64/mscx.hxx
@@ -36,7 +36,6 @@ namespace CPPU_CURRENT_NAMESPACE
 const DWORD MSVC_ExceptionCode = 0xe06d7363;
 const long MSVC_magic_number = 0x19930520L;
 
-typedef enum { REGPARAM_INT, REGPARAM_FLT } RegParamKind;
 
 
 type_info * mscx_getRTTI( OUString const & rUNOname );
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx
index a4bdef2..8241e28 100644
--- a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx
+++ b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx
@@ -48,7 +48,6 @@ namespace dp_gui {
 
 class TheExtensionManager;
 
-typedef ::boost::shared_ptr< FixedHyperlink > TFixedHyperlink;
 
 
 //                          struct Entry_Impl
diff --git a/filter/source/flash/swfexporter.hxx b/filter/source/flash/swfexporter.hxx
index 589fd08..3d33e26 100644
--- a/filter/source/flash/swfexporter.hxx
+++ b/filter/source/flash/swfexporter.hxx
@@ -111,7 +111,6 @@ struct ShapeAnimationInfo
     ShapeAnimationInfo( ShapeInfo* pShapeInfo, sal_uInt16 nDepth ) : mpShapeInfo( pShapeInfo ), mnDepth( nDepth ) {}
 };
 
-typedef std::vector<ShapeAnimationInfo> ShapeAnimationInfoVector;
 
 
 
diff --git a/framework/inc/classes/filtercachedata.hxx b/framework/inc/classes/filtercachedata.hxx
index ad82d07..9f2ec18 100644
--- a/framework/inc/classes/filtercachedata.hxx
+++ b/framework/inc/classes/filtercachedata.hxx
@@ -418,9 +418,7 @@ typedef OUStringList                                                OrderList;
 
 typedef CheckedIterator< OUStringList >                             CheckedStringListIterator;
 typedef CheckedIterator< FileTypeHash >                             CheckedTypeIterator;
-typedef CheckedIterator< PerformanceHash >                          CheckedPerformanceIterator;
 
-typedef ::std::vector< FilterHash::const_iterator >                 FilterQuery;
 
 // Use private static data container to hold all values of configuration!
 
diff --git a/framework/inc/stdtypes.h b/framework/inc/stdtypes.h
index faf2c73..f0df075 100644
--- a/framework/inc/stdtypes.h
+++ b/framework/inc/stdtypes.h
@@ -101,13 +101,6 @@ void free(std::vector<T>& vec)
 }
 
 /**
-    Basic string queue based on a std::queue()
-    It implements some additional funtionality which can be useful but
-    is missing at the normal std implementation.
-*/
-typedef ::std::queue< OUString > OUStringQueue;
-
-/**
     Basic hash based on a std::unordered_map() which provides key=[OUString] and value=[template type] pairs
     It implements some additional funtionality which can be useful but
     is missing at the normal hash implementation.
@@ -138,7 +131,6 @@ typedef BaseHash< OUString > OUStringHashMap;
     Our helper class OPropertySetHelper works optimized with handles but sometimes we have only a property name.
     Mapping between these two parts of a property should be done in the fastest way :-)
 */
-typedef BaseHash< sal_Int32 > NameToHandleHash;
 
 typedef cppu::OMultiTypeInterfaceContainerHelperVar<OUString> ListenerHash;
 
diff --git a/framework/source/inc/accelerators/acceleratorconfiguration.hxx b/framework/source/inc/accelerators/acceleratorconfiguration.hxx
index 15fe9a5..d5eaace 100644
--- a/framework/source/inc/accelerators/acceleratorconfiguration.hxx
+++ b/framework/source/inc/accelerators/acceleratorconfiguration.hxx
@@ -59,10 +59,6 @@ const char CFG_ENTRY_PRIMARY[] = "PrimaryKeys";
 const char CFG_ENTRY_GLOBAL[] = "Global";
 const char CFG_ENTRY_MODULES[] = "Modules";
 
-/** "global" type to make accelerator presets unique, so they can be used
-    in combination with the salhelper::SingletonRef mechanism! */
-typedef PresetHandler AcceleratorPresets;
-
 /**
     implements a read/write access to the accelerator configuration.
  */
diff --git a/hwpfilter/source/hwplib.h b/hwpfilter/source/hwplib.h
index 051b36d..1adb748 100644
--- a/hwpfilter/source/hwplib.h
+++ b/hwpfilter/source/hwplib.h
@@ -32,7 +32,6 @@
 typedef unsigned short  hchar;
 typedef int     hunit;
 typedef unsigned char       kchar;
-typedef unsigned char       echar;
 #endif                                            // _HCHAR_
 
 #if !defined(WIN32)
diff --git a/idl/inc/basobj.hxx b/idl/inc/basobj.hxx
index eee1d15..c601fb1 100644
--- a/idl/inc/basobj.hxx
+++ b/idl/inc/basobj.hxx
@@ -47,7 +47,6 @@ public:
 protected:
     virtual ~SvMetaObject() {}
 };
-typedef tools::SvRef<SvMetaObject> SvMetaObjectRef;
 
 class SvMetaObjectMemberList : public SvRefMemberList<SvMetaObject *> {};
 
@@ -104,7 +103,6 @@ public:
     virtual bool        Test( SvIdlDataBase &, SvTokenStream & rInStm );
     virtual bool        ReadSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) SAL_OVERRIDE;
 };
-typedef tools::SvRef<SvMetaName> SvMetaNameRef;
 
 class SvMetaNameMemberList : public SvRefMemberList<SvMetaName *> {};
 
@@ -180,7 +178,6 @@ public:
 protected:
     virtual void        ReadAttributesSvIdl( SvIdlDataBase &, SvTokenStream & rInStm ) SAL_OVERRIDE;
 };
-typedef tools::SvRef<SvMetaExtern> SvMetaExternRef;
 
 class SvMetaExternMemberList : public SvRefMemberList<SvMetaExtern *> {};
 
diff --git a/idl/inc/hash.hxx b/idl/inc/hash.hxx
index 4836138..a0450db 100644
--- a/idl/inc/hash.hxx
+++ b/idl/inc/hash.hxx
@@ -94,7 +94,6 @@ public:
 
 typedef tools::SvRef<SvStringHashEntry> SvStringHashEntryRef;
 
-typedef ::std::vector< SvStringHashEntry* > SvStringHashList;
 
 class SvStringHashTable : public SvHashTable
 {
diff --git a/idl/inc/types.hxx b/idl/inc/types.hxx
index 2ce04f6..aa701f4 100644
--- a/idl/inc/types.hxx
+++ b/idl/inc/types.hxx
@@ -202,7 +202,6 @@ public:
             TYPEINFO_OVERRIDE();
             SvMetaTypeString();
 };
-typedef tools::SvRef<SvMetaTypeString> SvMetaTypeStringRef;
 
 class SvMetaTypeStringMemberList : public SvRefMemberList<SvMetaTypeString *> {};
 
@@ -246,7 +245,6 @@ public:
             TYPEINFO_OVERRIDE();
             SvMetaTypevoid();
 };
-typedef tools::SvRef<SvMetaTypevoid> SvMetaTypevoidRef;
 class SvMetaTypevoidMemberList : public SvRefMemberList<SvMetaTypevoid *> {};
 
 
diff --git a/idlc/inc/idlc/aststruct.hxx b/idlc/inc/idlc/aststruct.hxx
index 3fa47fb..87c5475 100644
--- a/idlc/inc/idlc/aststruct.hxx
+++ b/idlc/inc/idlc/aststruct.hxx
@@ -24,7 +24,6 @@
 #include "idlc/idlctypes.hxx"
 
 class AstStruct;
-typedef ::std::vector< AstStruct* > InheritedTypes;
 
 class AstStruct : public AstType
                 , public AstScope
diff --git a/idlc/inc/idlc/idlctypes.hxx b/idlc/inc/idlc/idlctypes.hxx
index e9e4c0c..bbea0ba 100644
--- a/idlc/inc/idlc/idlctypes.hxx
+++ b/idlc/inc/idlc/idlctypes.hxx
@@ -44,7 +44,6 @@ typedef ::std::set< OString, LessString >    StringSet;
 
 class AstDeclaration;
 
-typedef std::unordered_map< OString, AstDeclaration*, OStringHash > DeclMap;
 typedef std::list< AstDeclaration* > DeclList;
 
 class AstScope;
diff --git a/include/filter/msfilter/mstoolbar.hxx b/include/filter/msfilter/mstoolbar.hxx
index e71e873..b6bb4c1 100644
--- a/include/filter/msfilter/mstoolbar.hxx
+++ b/include/filter/msfilter/mstoolbar.hxx
@@ -339,7 +339,6 @@ public:
 #endif
 };
 
-typedef cppu::WeakImplHelper1< css::container::XIndexContainer > PropertyValueIndexContainer_BASE;
 
 class MSFILTER_DLLPUBLIC TBVisualData : public TBBase
 {
diff --git a/include/filter/msfilter/svxmsbas.hxx b/include/filter/msfilter/svxmsbas.hxx
index 10ea120..24db778 100644
--- a/include/filter/msfilter/svxmsbas.hxx
+++ b/include/filter/msfilter/svxmsbas.hxx
@@ -44,9 +44,7 @@ class SfxObjectShell;
  * probably what the user expects to see when viewing the code
  */
 
-typedef std::unordered_map< sal_Int32, OUString >  ObjIdToName;
 
-typedef std::map< OUString, ObjIdToName >  ControlAttributeInfo;
 
 class MSFILTER_DLLPUBLIC SvxImportMSVBasic
 {
diff --git a/include/framework/addonsoptions.hxx b/include/framework/addonsoptions.hxx
index 7cd8346..7edf6ba 100644
--- a/include/framework/addonsoptions.hxx
+++ b/include/framework/addonsoptions.hxx
@@ -49,7 +49,6 @@
 namespace framework
 {
 
-typedef ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > > MergeMenuDefinition;
 
 struct FWE_DLLPUBLIC MergeMenuInstruction
 {
diff --git a/include/oox/drawingml/drawingmltypes.hxx b/include/oox/drawingml/drawingmltypes.hxx
index 433e2b9..6c6dee1 100644
--- a/include/oox/drawingml/drawingmltypes.hxx
+++ b/include/oox/drawingml/drawingmltypes.hxx
@@ -61,7 +61,6 @@ struct TextCharacterProperties;
 typedef ::boost::shared_ptr< TextCharacterProperties > TextCharacterPropertiesPtr;
 
 struct TextBodyProperties;
-typedef ::boost::shared_ptr< TextBodyProperties > TextBodyPropertiesPtr;
 
 struct EffectProperties;
 typedef ::boost::shared_ptr< EffectProperties > EffectPropertiesPtr;
diff --git a/include/oox/dump/dumperbase.hxx b/include/oox/dump/dumperbase.hxx
index 926d6e4..7abfbb3 100644
--- a/include/oox/dump/dumperbase.hxx
+++ b/include/oox/dump/dumperbase.hxx
@@ -1291,7 +1291,6 @@ private:
     PreferredItemVector maPreferred;
 };
 
-typedef ::boost::shared_ptr< StorageObjectBase > StorageObjectRef;
 
 
 
@@ -1354,7 +1353,6 @@ protected:
     OUString     maSysFileName;
 };
 
-typedef ::boost::shared_ptr< OutputObjectBase > OutputObjectRef;
 
 
 
@@ -1550,7 +1548,6 @@ protected:
     BinaryInputStreamRef mxStrm;
 };
 
-typedef ::boost::shared_ptr< InputObjectBase > InputObjectRef;
 
 
 
diff --git a/include/oox/helper/binaryoutputstream.hxx b/include/oox/helper/binaryoutputstream.hxx
index a1b5621..1729586 100644
--- a/include/oox/helper/binaryoutputstream.hxx
+++ b/include/oox/helper/binaryoutputstream.hxx
@@ -109,7 +109,6 @@ void BinaryOutputStream::writeArray( const Type* opnArray, sal_Int32 nElemCount
     writeArray(pArray.get(), nElemCount);
 }
 
-typedef ::boost::shared_ptr< BinaryOutputStream > BinaryOutputStreamRef;
 
 
 
diff --git a/include/oox/helper/progressbar.hxx b/include/oox/helper/progressbar.hxx
index e671d42..d529974 100644
--- a/include/oox/helper/progressbar.hxx
+++ b/include/oox/helper/progressbar.hxx
@@ -56,7 +56,6 @@ public:
     virtual void        setPosition( double fPosition ) = 0;
 };
 
-typedef ::boost::shared_ptr< IProgressBar > IProgressBarRef;
 
 
 
diff --git a/include/oox/ole/axcontrol.hxx b/include/oox/ole/axcontrol.hxx
index e3a7199..6e267d6 100644
--- a/include/oox/ole/axcontrol.hxx
+++ b/include/oox/ole/axcontrol.hxx
@@ -857,7 +857,6 @@ public: // direct access needed for legacy VML drawing controls
     bool                mbFontSupport;      ///< True = control supports the font property.
 };
 
-typedef ::boost::shared_ptr< AxContainerModelBase > AxContainerModelRef;
 
 
 
diff --git a/include/oox/ole/olehelper.hxx b/include/oox/ole/olehelper.hxx
index 937ae01..86f3321 100644
--- a/include/oox/ole/olehelper.hxx
+++ b/include/oox/ole/olehelper.hxx
@@ -50,7 +50,6 @@ namespace oox {
 
 namespace oox {
 
-typedef ::boost::shared_ptr< oox::BinaryXInputStream > BinaryXInputStreamRef;
 
 namespace ole {
 
diff --git a/include/sfx2/controlwrapper.hxx b/include/sfx2/controlwrapper.hxx
index 91b79b0..d37ffc5 100644
--- a/include/sfx2/controlwrapper.hxx
+++ b/include/sfx2/controlwrapper.hxx
@@ -289,9 +289,7 @@ public:
 
 
 
-typedef NumericFieldWrapper< sal_Int16 >  Int16NumericFieldWrapper;
 typedef NumericFieldWrapper< sal_uInt16 > UInt16NumericFieldWrapper;
-typedef NumericFieldWrapper< sal_Int32 >  Int32NumericFieldWrapper;
 typedef NumericFieldWrapper< sal_uInt32 > UInt32NumericFieldWrapper;
 
 typedef NumericFieldWrapper< sal_uInt16 > UShortNumericFieldWrapper;
@@ -326,7 +324,6 @@ private:
 
 typedef MetricFieldWrapper< sal_Int16 >  Int16MetricFieldWrapper;
 typedef MetricFieldWrapper< sal_uInt16 > UInt16MetricFieldWrapper;
-typedef MetricFieldWrapper< sal_Int32 >  Int32MetricFieldWrapper;
 typedef MetricFieldWrapper< sal_uInt32 > UInt32MetricFieldWrapper;
 
 typedef MetricFieldWrapper< sal_uInt16 > UShortMetricFieldWrapper;
@@ -368,9 +365,7 @@ public:
 
 
 
-typedef ListBoxWrapper< sal_Int16 >  Int16ListBoxWrapper;
 typedef ListBoxWrapper< sal_uInt16 > UInt16ListBoxWrapper;
-typedef ListBoxWrapper< sal_Int32 >  Int32ListBoxWrapper;
 typedef ListBoxWrapper< sal_uInt32 > UInt32ListBoxWrapper;
 
 typedef ListBoxWrapper< sal_uInt16 > UShortListBoxWrapper;
@@ -412,9 +407,7 @@ public:
 
 
 
-typedef ValueSetWrapper< sal_Int16 >  Int16ValueSetWrapper;
 typedef ValueSetWrapper< sal_uInt16 > UInt16ValueSetWrapper;
-typedef ValueSetWrapper< sal_Int32 >  Int32ValueSetWrapper;
 typedef ValueSetWrapper< sal_uInt32 > UInt32ValueSetWrapper;
 
 typedef ValueSetWrapper< sal_uInt16 > UShortValueSetWrapper;
diff --git a/include/sfx2/fcontnr.hxx b/include/sfx2/fcontnr.hxx
index 450e838..758a73e 100644
--- a/include/sfx2/fcontnr.hxx
+++ b/include/sfx2/fcontnr.hxx
@@ -42,8 +42,6 @@ class SfxMedium;
 class SfxFilterContainer_Impl;
 class SfxFrame;
 
-//#define SFX_FILTER_CONTAINER_FACTORY 1
-typedef sal_uInt16 SfxFilterContainerFlags;
 
 class SfxRefItem : public SfxPoolItem
 {
diff --git a/include/sfx2/itemconnect.hxx b/include/sfx2/itemconnect.hxx
index 79fce0c..81a869e 100644
--- a/include/sfx2/itemconnect.hxx
+++ b/include/sfx2/itemconnect.hxx
@@ -323,9 +323,7 @@ public:
 
 
 
-typedef NumericConnection< Int16ItemWrapper  > Int16NumericConnection;
 typedef NumericConnection< UInt16ItemWrapper > UInt16NumericConnection;
-typedef NumericConnection< Int32ItemWrapper  > Int32NumericConnection;
 typedef NumericConnection< UInt32ItemWrapper > UInt32NumericConnection;
 
 
@@ -354,9 +352,7 @@ public:
 
 
 
-typedef MetricConnection< Int16ItemWrapper  > Int16MetricConnection;
 typedef MetricConnection< UInt16ItemWrapper > UInt16MetricConnection;
-typedef MetricConnection< Int32ItemWrapper  > Int32MetricConnection;
 typedef MetricConnection< UInt32ItemWrapper > UInt32MetricConnection;
 
 
@@ -387,9 +383,7 @@ public:
 
 
 
-typedef ListBoxConnection< Int16ItemWrapper >  Int16ListBoxConnection;
 typedef ListBoxConnection< UInt16ItemWrapper > UInt16ListBoxConnection;
-typedef ListBoxConnection< Int32ItemWrapper >  Int32ListBoxConnection;
 typedef ListBoxConnection< UInt32ItemWrapper > UInt32ListBoxConnection;
 
 
@@ -420,9 +414,7 @@ public:
 
 
 
-typedef ValueSetConnection< Int16ItemWrapper >  Int16ValueSetConnection;
 typedef ValueSetConnection< UInt16ItemWrapper > UInt16ValueSetConnection;
-typedef ValueSetConnection< Int32ItemWrapper >  Int32ValueSetConnection;
 typedef ValueSetConnection< UInt32ItemWrapper > UInt32ValueSetConnection;
 
 
diff --git a/include/sot/exchange.hxx b/include/sot/exchange.hxx
index d509fdb..2f72b61 100644
--- a/include/sot/exchange.hxx
+++ b/include/sot/exchange.hxx
@@ -41,7 +41,6 @@ struct DataFlavorEx : public ::com::sun::star::datatransfer::DataFlavor
     SotFormatStringId mnSotId;
 };
 
-typedef ::std::vector< ::com::sun::star::datatransfer::DataFlavor > DataFlavorVector;
 typedef ::std::vector< DataFlavorEx >                               _DataFlavorExVector;
 
 // JP 23.03.2001 - this struct is only for "hide" the STD of the vetor,
@@ -51,8 +50,6 @@ struct DataFlavorExVector : public _DataFlavorExVector
 {
 };
 
-typedef ::std::list< ::com::sun::star::datatransfer::DataFlavor >   DataFlavorList;
-typedef ::std::list< DataFlavorEx >                                 DataFlavorExList;
 
 SOT_DLLPUBLIC bool IsFormatSupported( const DataFlavorExVector& rDataFlavorExVector,
                                       sal_uLong nId );
diff --git a/include/svx/svdmodel.hxx b/include/svx/svdmodel.hxx
index d50124a..d71434d 100644
--- a/include/svx/svdmodel.hxx
+++ b/include/svx/svdmodel.hxx
@@ -667,7 +667,6 @@ public:
     void dumpAsXml(struct _xmlTextWriter* pWriter) const;
 };
 
-typedef tools::WeakReference< SdrModel > SdrModelWeakRef;
 
 
 
diff --git a/include/tools/pstm.hxx b/include/tools/pstm.hxx
index 6f6fd7d..8fc5470 100644
--- a/include/tools/pstm.hxx
+++ b/include/tools/pstm.hxx
@@ -51,7 +51,6 @@ class TOOLS_DLLPUBLIC SvRttiBase : public SvRefBase
 public:
             TYPEINFO();
 };
-typedef tools::SvRef<SvRttiBase> SvRttiBaseRef;
 
 #define SV_DECL_PERSIST( Class, CLASS_ID )                          \
     TYPEINFO_OVERRIDE();                                                     \
diff --git a/include/tools/rc.h b/include/tools/rc.h
index 2102113..49f6ebd 100644
--- a/include/tools/rc.h
+++ b/include/tools/rc.h
@@ -26,7 +26,6 @@
 // (Here are all window styles that are not in WinBits)
 #define RSC_EXTRAMAPUNIT                0xFFFF // do not change that value!
 
-typedef short RSWND_STYLE;
 
 #define RSWND_DISABLED                  0x01
 #define RSWND_CLIENTSIZE                0x02
diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx
index dcb2b71..72679f2 100644
--- a/include/tools/stream.hxx
+++ b/include/tools/stream.hxx
@@ -167,7 +167,6 @@ public:
     virtual void    Terminate() = 0;
 };
 
-typedef tools::SvRef<SvOpenLockBytes> SvOpenLockBytesRef;
 
 // SvAsyncLockBytes
 
@@ -197,7 +196,6 @@ public:
     virtual void    Terminate() SAL_OVERRIDE { m_bTerminated = true; }
 };
 
-typedef tools::SvRef<SvAsyncLockBytes> SvAsyncLockBytesRef;
 
 // SvStream
 
diff --git a/include/touch/touch.h b/include/touch/touch.h
index e141bf7..25e8485 100644
--- a/include/touch/touch.h
+++ b/include/touch/touch.h
@@ -218,7 +218,6 @@ void touch_ui_selection_none();
 // thread.
 
 typedef enum { DOWN, MOVE, UP} MLOMouseButtonState;
-typedef enum { NONE, SHIFT, META } MLOModifiers;
 typedef int MLOModifierMask;
 
 void touch_lo_keyboard_did_hide();
diff --git a/ios/shared/ios_sharedlo/objective_c/render/MLORenderManager.m b/ios/shared/ios_sharedlo/objective_c/render/MLORenderManager.m
index eb3053f..ea7abe6 100644
--- a/ios/shared/ios_sharedlo/objective_c/render/MLORenderManager.m
+++ b/ios/shared/ios_sharedlo/objective_c/render/MLORenderManager.m
@@ -48,7 +48,6 @@ static const NSTimeInterval
 
 static const NSInteger BUFFER_COUNT=2;
 
-typedef enum {X,Y,Z} MLOGestureDirection;
 #define MLOGestureDirectionString(enum) [@[@"X",@"Y",@"Z"] objectAtIndex:enum]
 
 @interface MLORenderManager ()
diff --git a/sal/android/lo-bootstrap.c b/sal/android/lo-bootstrap.c
index 4d318e8..bfcd020 100644
--- a/sal/android/lo-bootstrap.c
+++ b/sal/android/lo-bootstrap.c
@@ -115,7 +115,6 @@ static uint16_t cdir_entries;
  * functions.
  */
 
-typedef struct direntry *direntry;
 
 struct direntry {
     UT_hash_handle hh;
diff --git a/sc/inc/dptabres.hxx b/sc/inc/dptabres.hxx
index ede43aa..e0085da3 100644
--- a/sc/inc/dptabres.hxx
+++ b/sc/inc/dptabres.hxx
@@ -234,7 +234,6 @@ struct ScDPParentDimData
     ScDPParentDimData(SCROW nIndex, const ScDPDimension* pDim, const ScDPLevel* pLev, const ScDPMember* pMember);
 };
 
-typedef std::vector <ScDPParentDimData *>                 DimMemberArray;
 typedef std::unordered_map < SCROW, ScDPParentDimData *, MemberHashIndexFunc>  DimMemberHash;
 
 class ResultMembers
diff --git a/sc/inc/pivot.hxx b/sc/inc/pivot.hxx
index a3661a4..3fdabb2 100644
--- a/sc/inc/pivot.hxx
+++ b/sc/inc/pivot.hxx
@@ -171,7 +171,6 @@ struct ScPivotFuncData
 #endif
 };
 
-typedef std::vector<ScPivotFuncData> ScPivotFuncDataVector;
 typedef std::vector<ScDPName> ScDPNameVec;
 
 #endif
diff --git a/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx b/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx
index f5b3bba..4e0b9d6 100644
--- a/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx
+++ b/sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx
@@ -35,7 +35,6 @@ class ScChangeActionDel;
 class ScBigRange;
 class ScEditEngineTextObj;
 
-typedef std::list<ScChangeActionDel*> ScMyDeletionsList;
 typedef std::map<sal_uLong, ScChangeAction*> ScChangeActionMap;
 
 class ScChangeTrackingExportHelper
diff --git a/sc/source/filter/xml/xmlexprt.hxx b/sc/source/filter/xml/xmlexprt.hxx
index 44ac90a..1bb0d8b 100644
--- a/sc/source/filter/xml/xmlexprt.hxx
+++ b/sc/source/filter/xml/xmlexprt.hxx
@@ -69,7 +69,6 @@ class CompileFormulaContext;
 
 }
 
-typedef std::vector< com::sun::star::uno::Reference < com::sun::star::drawing::XShapes > > ScMyXShapesVec;
 
 class ScXMLExport : public SvXMLExport
 {
diff --git a/sd/inc/CustomAnimationPreset.hxx b/sd/inc/CustomAnimationPreset.hxx
index 8aff9a7..d92fc05 100644
--- a/sd/inc/CustomAnimationPreset.hxx
+++ b/sd/inc/CustomAnimationPreset.hxx
@@ -136,7 +136,6 @@ private:
     SAL_DLLPRIVATE static CustomAnimationPresets*  mpCustomAnimationPresets;
 };
 
-typedef boost::shared_ptr< CustomAnimationPresets > CustomAnimationPresetsPtr;
 
 css::uno::Reference< css::animations::XAnimationNode > implImportEffects( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceFactory, const OUString& rPath );
 
diff --git a/sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h b/sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h
index 88d913f..261828f 100644
--- a/sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h
+++ b/sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h
@@ -724,20 +724,13 @@ typedef long long int64_t;
 typedef unsigned long long uint64_t;
     #endif
 
-typedef int8_t int_least8_t;
-typedef int16_t int_least16_t;
 typedef int32_t int_least32_t;
-typedef int64_t int_least64_t;
 
 typedef uint8_t uint_least8_t;
 typedef uint16_t uint_least16_t;
 typedef uint32_t uint_least32_t;
 typedef uint64_t uint_least64_t;
 
-typedef int8_t int_fast8_t;
-typedef int16_t int_fast16_t;
-typedef int32_t int_fast32_t;
-typedef int64_t int_fast64_t;
 
 typedef uint8_t uint_fast8_t;
 typedef uint16_t uint_fast16_t;
diff --git a/sd/source/ui/unoidl/unoobj.cxx b/sd/source/ui/unoidl/unoobj.cxx
index 94cde9c..f7f2695 100644
--- a/sd/source/ui/unoidl/unoobj.cxx
+++ b/sd/source/ui/unoidl/unoobj.cxx
@@ -278,7 +278,6 @@ struct SortStruct
 };
 
 typedef SortStruct  SORT;
-typedef SORT*       PSORT;
 
 SdXShape::SdXShape( SvxShape* pShape, SdXImpressDocument* pModel) throw()
 :   mpShape( pShape ),
diff --git a/sfx2/source/inc/appdata.hxx b/sfx2/source/inc/appdata.hxx
index ab37450..3c17d3b 100644
--- a/sfx2/source/inc/appdata.hxx
+++ b/sfx2/source/inc/appdata.hxx
@@ -63,7 +63,6 @@ namespace sfx2 {
     namespace sidebar { class Theme; }
 }
 
-typedef Link* LinkPtr;
 
 typedef std::vector<SfxDdeDocTopic_Impl*> SfxDdeDocTopics_Impl;
 
diff --git a/sfx2/source/sidebar/DeckDescriptor.hxx b/sfx2/source/sidebar/DeckDescriptor.hxx
index 195533e..318f65a 100644
--- a/sfx2/source/sidebar/DeckDescriptor.hxx
+++ b/sfx2/source/sidebar/DeckDescriptor.hxx
@@ -45,7 +45,6 @@ public:
     DeckDescriptor (const DeckDescriptor& rOther);
     ~DeckDescriptor (void);
 };
-typedef ::boost::shared_ptr<DeckDescriptor> SharedDeckDescriptor;
 
 } } // end of namespace sfx2::sidebar
 
diff --git a/sfx2/source/sidebar/PanelDescriptor.hxx b/sfx2/source/sidebar/PanelDescriptor.hxx
index d53414d..29b4d6d 100644
--- a/sfx2/source/sidebar/PanelDescriptor.hxx
+++ b/sfx2/source/sidebar/PanelDescriptor.hxx
@@ -46,7 +46,6 @@ public:
     PanelDescriptor (const PanelDescriptor& rPanelDescriptor);
     ~PanelDescriptor (void);
 };
-typedef ::boost::shared_ptr<PanelDescriptor> SharedPanelDescriptor;
 
 } } // end of namespace sfx2::sidebar
 
diff --git a/shell/source/tools/lngconvex/defs.hxx b/shell/source/tools/lngconvex/defs.hxx
index 52646b4..db562e8 100644
--- a/shell/source/tools/lngconvex/defs.hxx
+++ b/shell/source/tools/lngconvex/defs.hxx
@@ -25,10 +25,8 @@
 #include <memory>
 
 typedef std::vector<std::string> StringList_t;
-typedef std::unique_ptr<StringList_t> StringListPtr_t;
 
 typedef std::vector<int> IntegerList_t;
-typedef std::unique_ptr<IntegerList_t> IntegerListPtr_t;
 
 #endif
 
diff --git a/sw/source/core/doc/docsort.cxx b/sw/source/core/doc/docsort.cxx
index 7f6a85e..9356985 100644
--- a/sw/source/core/doc/docsort.cxx
+++ b/sw/source/core/doc/docsort.cxx
@@ -62,7 +62,6 @@ OUString*           SwSortElement::pLastAlgorithm = 0;
 LocaleDataWrapper*  SwSortElement::pLclData = 0;
 
 // List of all sorted elements
-typedef SwSortElement*      SwSortElementPtr;
 
 typedef ::boost::ptr_multiset<SwSortTxtElement> SwSortTxtElements;
 typedef ::boost::ptr_multiset<SwSortBoxElement> SwSortBoxElements;
diff --git a/sw/source/filter/ww8/WW8TableInfo.hxx b/sw/source/filter/ww8/WW8TableInfo.hxx
index 2f9da26..34d56b3 100644
--- a/sw/source/filter/ww8/WW8TableInfo.hxx
+++ b/sw/source/filter/ww8/WW8TableInfo.hxx
@@ -40,7 +40,6 @@ namespace ww8
 const unsigned int MAXTABLECELLS = 63;
 
 class WW8TableNodeInfo;
-typedef boost::shared_ptr<SwRect> SwRectPtr;
 typedef ::std::vector<const SwTableBox *> TableBoxVector;
 typedef boost::shared_ptr<TableBoxVector> TableBoxVectorPtr;
 typedef ::std::vector<sal_uInt32> GridCols;
diff --git a/sw/source/filter/ww8/wrtww8.hxx b/sw/source/filter/ww8/wrtww8.hxx
index 12d22fb..ea37915 100644
--- a/sw/source/filter/ww8/wrtww8.hxx
+++ b/sw/source/filter/ww8/wrtww8.hxx
@@ -354,7 +354,6 @@ public:
 };
 
 typedef std::vector<DrawObj> DrawObjVector;
-typedef DrawObjVector::iterator DrawObjIter;
 typedef DrawObjVector::const_iterator cDrawObjIter;
 
 typedef std::vector<DrawObj *> DrawObjPointerVector;
diff --git a/unoxml/source/events/eventdispatcher.hxx b/unoxml/source/events/eventdispatcher.hxx
index 93de120..d8703ac 100644
--- a/unoxml/source/events/eventdispatcher.hxx
+++ b/unoxml/source/events/eventdispatcher.hxx
@@ -43,7 +43,6 @@ namespace events {
 
 typedef std::multimap< xmlNodePtr, css::uno::Reference< css::xml::dom::events::XEventListener> > ListenerMap;
 typedef std::map< OUString, ListenerMap*> TypeListenerMap;
-typedef std::vector<ListenerMap::value_type> ListenerPairVector;
 
 class CEventDispatcher
 {
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx
index 2aefbee..5890833 100644
--- a/writerfilter/source/dmapper/PropertyMap.hxx
+++ b/writerfilter/source/dmapper/PropertyMap.hxx
@@ -326,7 +326,6 @@ public:
     /// Handling of margins, header and footer for any kind of sections breaks.
     void HandleMarginsHeaderFooter(DomainMapper_Impl& rDM_Impl);
 };
-typedef std::shared_ptr<SectionPropertyMap> SectionPropertyMapPtr;
 
 
 
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
index a21221a..ae1b625 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.hxx
@@ -41,7 +41,6 @@ namespace writerfilter {
 namespace ooxml
 {
 
-typedef std::shared_ptr<Stream> StreamPointer_t;
 
 class OOXMLFastContextHandler: public ::cppu::WeakImplHelper1<css::xml::sax::XFastContextHandler>
 {
diff --git a/xmloff/source/chart/SchXMLExport.cxx b/xmloff/source/chart/SchXMLExport.cxx
index 9276445..eda5059 100644
--- a/xmloff/source/chart/SchXMLExport.cxx
+++ b/xmloff/source/chart/SchXMLExport.cxx
@@ -694,8 +694,6 @@ bool lcl_SequenceHasUnhiddenData( const uno::Reference< chart2::data::XDataSeque
 }
 
 typedef vector< OUString > tStringVector;
-typedef vector< double > tDoubleVector;
-typedef vector< vector< OUString > > t2DStringVector;
 typedef vector< vector< double > > t2DNumberContainer;
 
 struct lcl_TableData
diff --git a/xmloff/source/forms/layerimport.hxx b/xmloff/source/forms/layerimport.hxx
index dee6ad9..8975318 100644
--- a/xmloff/source/forms/layerimport.hxx
+++ b/xmloff/source/forms/layerimport.hxx
@@ -37,7 +37,6 @@ class SvXMLImportContext;
 class SvXMLStyleContext;
 class SvXMLStylesContext;
 
-typedef tools::SvRef<SvXMLStylesContext> SvXMLStylesContextRef;
     // unfortunately, we can't put this into our namespace, as the macro expands to (amongst others) a forward
     // declaration of the class name, which then would be in the namespace, too
 


More information about the Libreoffice-commits mailing list