From fe480d8136b204c8dc6c68916cce7e816f8b9c48 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Jan 2015 07:32:01 +0200 Subject: 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 Reviewed-by: Noel Grandin --- framework/inc/classes/filtercachedata.hxx | 2 -- framework/inc/stdtypes.h | 8 -------- framework/source/inc/accelerators/acceleratorconfiguration.hxx | 4 ---- 3 files changed, 14 deletions(-) (limited to 'framework') 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 @@ -100,13 +100,6 @@ void free(std::vector& vec) OUStringList().swap(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 @@ -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 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. */ -- cgit