summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-27 07:32:01 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-01-28 06:19:49 +0000
commitfe480d8136b204c8dc6c68916cce7e816f8b9c48 (patch)
tree656e9239fa6a93099148d3806c1af93007059769
parentd1c9bd13ec7af93f5368dfda6d6d3c955f0b0816 (diff)
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@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--basic/source/inc/sbjsmeth.hxx1
-rw-r--r--basic/source/inc/sbunoobj.hxx4
-rw-r--r--bridges/source/cpp_uno/msvc_win32_x86-64/mscx.hxx1
-rw-r--r--desktop/source/deployment/gui/dp_gui_extlistbox.hxx1
-rw-r--r--filter/source/flash/swfexporter.hxx1
-rw-r--r--framework/inc/classes/filtercachedata.hxx2
-rw-r--r--framework/inc/stdtypes.h8
-rw-r--r--framework/source/inc/accelerators/acceleratorconfiguration.hxx4
-rw-r--r--hwpfilter/source/hwplib.h1
-rw-r--r--idl/inc/basobj.hxx3
-rw-r--r--idl/inc/hash.hxx1
-rw-r--r--idl/inc/types.hxx2
-rw-r--r--idlc/inc/idlc/aststruct.hxx1
-rw-r--r--idlc/inc/idlc/idlctypes.hxx1
-rw-r--r--include/filter/msfilter/mstoolbar.hxx1
-rw-r--r--include/filter/msfilter/svxmsbas.hxx2
-rw-r--r--include/framework/addonsoptions.hxx1
-rw-r--r--include/oox/drawingml/drawingmltypes.hxx1
-rw-r--r--include/oox/dump/dumperbase.hxx3
-rw-r--r--include/oox/helper/binaryoutputstream.hxx1
-rw-r--r--include/oox/helper/progressbar.hxx1
-rw-r--r--include/oox/ole/axcontrol.hxx1
-rw-r--r--include/oox/ole/olehelper.hxx1
-rw-r--r--include/sfx2/controlwrapper.hxx7
-rw-r--r--include/sfx2/fcontnr.hxx2
-rw-r--r--include/sfx2/itemconnect.hxx8
-rw-r--r--include/sot/exchange.hxx3
-rw-r--r--include/svx/svdmodel.hxx1
-rw-r--r--include/tools/pstm.hxx1
-rw-r--r--include/tools/rc.h1
-rw-r--r--include/tools/stream.hxx2
-rw-r--r--include/touch/touch.h1
-rw-r--r--ios/shared/ios_sharedlo/objective_c/render/MLORenderManager.m1
-rw-r--r--sal/android/lo-bootstrap.c1
-rw-r--r--sc/inc/dptabres.hxx1
-rw-r--r--sc/inc/pivot.hxx1
-rw-r--r--sc/source/filter/xml/XMLChangeTrackingExportHelper.hxx1
-rw-r--r--sc/source/filter/xml/xmlexprt.hxx1
-rw-r--r--sd/inc/CustomAnimationPreset.hxx1
-rw-r--r--sd/source/ui/remotecontrol/mDNSResponder/CommonServices.h7
-rw-r--r--sd/source/ui/unoidl/unoobj.cxx1
-rw-r--r--sfx2/source/inc/appdata.hxx1
-rw-r--r--sfx2/source/sidebar/DeckDescriptor.hxx1
-rw-r--r--sfx2/source/sidebar/PanelDescriptor.hxx1
-rw-r--r--shell/source/tools/lngconvex/defs.hxx2
-rw-r--r--sw/source/core/doc/docsort.cxx1
-rw-r--r--sw/source/filter/ww8/WW8TableInfo.hxx1
-rw-r--r--sw/source/filter/ww8/wrtww8.hxx1
-rw-r--r--unoxml/source/events/eventdispatcher.hxx1
-rw-r--r--writerfilter/source/dmapper/PropertyMap.hxx1
-rw-r--r--writerfilter/source/ooxml/OOXMLFastContextHandler.hxx1
-rw-r--r--xmloff/source/chart/SchXMLExport.cxx2
-rw-r--r--xmloff/source/forms/layerimport.hxx1
53 files changed, 0 insertions, 98 deletions
diff --git a/basic/source/inc/sbjsmeth.hxx b/basic/source/inc/sbjsmeth.hxx
index 82fda816dcf7..59cbabd18812 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 8d8aaa75144d..d47a66e2d864 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 ccdc655dd6a6..74fcfd955c98 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 a4bdef2e418f..8241e28f9f3a 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 589fd085a397..3d33e26cef42 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 ad82d07ee681..9f2ec18d93ae 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 faf2c730d11e..f0df075b9a46 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 15fe9a5bc236..d5eaace6f11b 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 051b36d472fc..1adb748d960c 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 eee1d156e2fd..c601fb1964ca 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 4836138e8a27..a0450dbe109c 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 2ce04f62d7ca..aa701f412847 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 3fa47fbb836d..87c54754a491 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 e9e4c0c8d6b5..bbea0ba45cf0 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 e71e873831e6..b6bb4c14da06 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 10ea1207ed16..24db778a98aa 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 7cd834626ec0..7edf6baf3da1 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 433e2b906044..6c6dee122fea 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 926d6e46356d..7abfbb39c71e 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 a1b562133c61..172958667097 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 e671d42deb6d..d529974ce0d9 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 e3a7199fe355..6e267d667a43 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 937ae019d86d..86f3321863b8 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 91b79b04f396..d37ffc5a0458 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 450e83857c80..758a73e80b4d 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 79fce0c4c5dd..81a869edb3eb 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 d509fdb8ba6e..2f72b61365cd 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 d50124a32ae3..d71434d4d3aa 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 6f6fd7d0f8b1..8fc54703c86b 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 210211307398..49f6ebdd58d9 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 dcb2b713d9b6..72679f282463 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 e141bf7d725d..25e84850d5bd 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 eb3053f724e9..ea7abe662289 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 4d318e86d772..bfcd02098b3c 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 ede43aa8732a..e0085da3072b 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 a3661a4c6708..3fdabb29eb80 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 f5b3bba1c817..4e0b9d668fb6 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 44ac90a7d6f2..1bb0d8b533a9 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 8aff9a768d4b..d92fc05ec3b3 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 88d913fa25d0..261828f98a5c 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 94cde9c233b0..f7f2695a92df 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 ab3745010900..3c17d3b49259 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 195533eab9ea..318f65adf500 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 d53414d1c3ce..29b4d6d86435 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 52646b4901b6..db562e8cdb98 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 7f6a85e4b6f1..93569859569c 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 2f9da2689d62..34d56b395369 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 12d22fb14fca..ea37915e97fd 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 93de12017c83..d8703ac1bba6 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 2aefbeed6aa1..58908334bbd5 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 a21221af2f23..ae1b6258274e 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 927644570235..eda5059d30a1 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 dee6ad9e4efc..8975318d4b4b 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