[Libreoffice-commits] .: basic/source chart2/source connectivity/source dbaccess/source editeng/source framework/source oox/source sc/source sdext/source sd/source sfx2/source shell/source svtools/source svx/source xmloff/source xmlscript/source

Takeshi Abe tabe at kemper.freedesktop.org
Wed May 30 09:56:54 PDT 2012


 basic/source/classes/sbunoobj.cxx                           |    2 --
 chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx |    3 ---
 chart2/source/view/main/ChartView.cxx                       |    1 -
 connectivity/source/commontools/TColumnsHelper.cxx          |    1 -
 connectivity/source/commontools/TIndexes.cxx                |    1 -
 connectivity/source/drivers/ado/AGroups.cxx                 |    1 -
 connectivity/source/drivers/ado/ATables.cxx                 |    2 --
 connectivity/source/drivers/ado/AUsers.cxx                  |    2 --
 connectivity/source/drivers/dbase/DColumns.cxx              |    1 -
 connectivity/source/drivers/dbase/DIndexes.cxx              |    1 -
 connectivity/source/drivers/dbase/DTables.cxx               |    1 -
 connectivity/source/drivers/evoab2/NTables.cxx              |    1 -
 connectivity/source/drivers/file/FColumns.cxx               |    2 --
 connectivity/source/drivers/file/FTables.cxx                |    1 -
 connectivity/source/drivers/hsqldb/HTables.cxx              |    1 -
 connectivity/source/drivers/hsqldb/HUser.cxx                |    1 -
 connectivity/source/drivers/hsqldb/HUsers.cxx               |    1 -
 connectivity/source/drivers/mozab/MColumns.cxx              |    1 -
 connectivity/source/drivers/mozab/MTables.cxx               |    1 -
 connectivity/source/drivers/mysql/YTables.cxx               |    1 -
 connectivity/source/drivers/mysql/YUser.cxx                 |    1 -
 connectivity/source/drivers/mysql/YUsers.cxx                |    1 -
 dbaccess/source/core/api/table.cxx                          |    2 --
 editeng/source/editeng/impedit5.cxx                         |    2 --
 editeng/source/misc/unolingu.cxx                            |    4 ----
 framework/source/uiconfiguration/imagemanager.cxx           |    2 --
 oox/source/export/chartexport.cxx                           |    2 --
 sc/source/filter/excel/xename.cxx                           |    1 -
 sd/source/ui/view/sdview2.cxx                               |    1 -
 sdext/source/pdfimport/test/tests.cxx                       |    3 ---
 sfx2/source/menu/virtmenu.cxx                               |    2 --
 shell/source/win32/simplemail/smplmailclient.cxx            |    1 -
 svtools/source/control/roadmap.cxx                          |    1 -
 svx/source/customshapes/EnhancedCustomShapeFontWork.cxx     |    2 --
 svx/source/form/datanavi.cxx                                |    1 -
 xmloff/source/style/XMLFontAutoStylePool.cxx                |    1 -
 xmlscript/source/xml_helper/xml_impctx.cxx                  |    1 -
 37 files changed, 54 deletions(-)

New commits:
commit bb9f73045879293f5fcea1dd0e205efb84c07781
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Thu May 31 01:55:37 2012 +0900

    nuke unused typedef
    
    Change-Id: I8848d0e687c3b19be1a8bc1f41c2a0c94e13bbbf

diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index f20c119..2fe5d8b 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -3248,8 +3248,6 @@ void RTL_Impl_EqualUnoObjects( StarBASIC* pBasic, SbxArray& rPar, sal_Bool bWrit
         refVar->PutBool( sal_True );
 }
 
-typedef boost::unordered_map< ::rtl::OUString, std::vector< ::rtl::OUString >, ::rtl::OUStringHash, ::std::equal_to< ::rtl::OUString > > ModuleHash;
-
 
 // helper wrapper function to interact with TypeProvider and
 // XTypeDescriptionEnumerationAccess.
diff --git a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
index 0e29dfe..f85da83 100644
--- a/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
+++ b/chart2/source/controller/chartapiwrapper/DiagramWrapper.cxx
@@ -69,7 +69,6 @@
 #include "UserDefinedProperties.hxx"
 #include "SceneProperties.hxx"
 
-#include <map>
 #include <algorithm>
 #include <rtl/ustrbuf.hxx>
 #include <com/sun/star/lang/XServiceName.hpp>
@@ -497,8 +496,6 @@ sal_Int32 lcl_getNewAPIIndexForOldAPIIndex(
     return nNewAPIIndex;
 }
 
-typedef ::std::map< OUString, OUString > tChartTypeMap;
-
 OUString lcl_getDiagramType( const OUString & rTemplateServiceName )
 {
     const OUString aPrefix("com.sun.star.chart2.template.");
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 9020d7b..15133ee 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -455,7 +455,6 @@ VCoordinateSystem* lcl_getCooSysForPlotter( const std::vector< VCoordinateSystem
 }
 
 typedef std::pair< sal_Int32, sal_Int32 > tFullAxisIndex; //first index is the dimension, second index is the axis index that indicates whether this is a main or secondary axis
-typedef std::pair< VCoordinateSystem* , tFullAxisIndex > tFullCoordinateSystem;
 typedef std::map< VCoordinateSystem*, tFullAxisIndex > tCoordinateSystemMap;
 
 struct AxisUsage
diff --git a/connectivity/source/commontools/TColumnsHelper.cxx b/connectivity/source/commontools/TColumnsHelper.cxx
index d051a2d..fdc72fc 100644
--- a/connectivity/source/commontools/TColumnsHelper.cxx
+++ b/connectivity/source/commontools/TColumnsHelper.cxx
@@ -53,7 +53,6 @@ using namespace ::com::sun::star::sdbcx;
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 using namespace ::com::sun::star::lang;
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
 
 namespace connectivity
 {
diff --git a/connectivity/source/commontools/TIndexes.cxx b/connectivity/source/commontools/TIndexes.cxx
index 246cad2..fcd80f0 100644
--- a/connectivity/source/commontools/TIndexes.cxx
+++ b/connectivity/source/commontools/TIndexes.cxx
@@ -46,7 +46,6 @@ using namespace ::com::sun::star::container;
 using namespace ::com::sun::star::lang;
 using namespace cppu;
 
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
 // -----------------------------------------------------------------------------
 OIndexesHelper::OIndexesHelper(OTableHelper* _pTable,
                  ::osl::Mutex& _rMutex,
diff --git a/connectivity/source/drivers/ado/AGroups.cxx b/connectivity/source/drivers/ado/AGroups.cxx
index 0f03ced..b2d1125 100644
--- a/connectivity/source/drivers/ado/AGroups.cxx
+++ b/connectivity/source/drivers/ado/AGroups.cxx
@@ -47,7 +47,6 @@ using namespace com::sun::star::beans;
 using namespace com::sun::star::sdbc;
 using namespace com::sun::star::container;
 
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
 // -------------------------------------------------------------------------
 sdbcx::ObjectType OGroups::createObject(const ::rtl::OUString& _rName)
 {
diff --git a/connectivity/source/drivers/ado/ATables.cxx b/connectivity/source/drivers/ado/ATables.cxx
index 1adcf36..5d4ff88 100644
--- a/connectivity/source/drivers/ado/ATables.cxx
+++ b/connectivity/source/drivers/ado/ATables.cxx
@@ -53,8 +53,6 @@ using namespace com::sun::star::sdbc;
 using namespace com::sun::star::container;
 using namespace com::sun::star::lang;
 
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
-
 sdbcx::ObjectType OTables::createObject(const ::rtl::OUString& _rName)
 {
     OSL_ENSURE(m_aCollection.IsValid(),"Collection isn't valid");
diff --git a/connectivity/source/drivers/ado/AUsers.cxx b/connectivity/source/drivers/ado/AUsers.cxx
index f9a98ee..168dc00 100644
--- a/connectivity/source/drivers/ado/AUsers.cxx
+++ b/connectivity/source/drivers/ado/AUsers.cxx
@@ -46,8 +46,6 @@ using namespace com::sun::star::beans;
 using namespace com::sun::star::sdbc;
 using namespace com::sun::star::container;
 
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
-
 sdbcx::ObjectType OUsers::createObject(const ::rtl::OUString& _rName)
 {
     return new OAdoUser(m_pCatalog,isCaseSensitive(),_rName);
diff --git a/connectivity/source/drivers/dbase/DColumns.cxx b/connectivity/source/drivers/dbase/DColumns.cxx
index 2ac7c33..22a3e63 100644
--- a/connectivity/source/drivers/dbase/DColumns.cxx
+++ b/connectivity/source/drivers/dbase/DColumns.cxx
@@ -41,7 +41,6 @@ using namespace ::com::sun::star::sdbcx;
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 
-typedef file::OColumns ODbaseColumns_BASE;
 sdbcx::ObjectType ODbaseColumns::createObject(const ::rtl::OUString& _rName)
 {
 
diff --git a/connectivity/source/drivers/dbase/DIndexes.cxx b/connectivity/source/drivers/dbase/DIndexes.cxx
index 067b133..6b18110 100644
--- a/connectivity/source/drivers/dbase/DIndexes.cxx
+++ b/connectivity/source/drivers/dbase/DIndexes.cxx
@@ -100,7 +100,6 @@ Reference< XPropertySet > ODbaseIndexes::createDescriptor()
 {
     return new ODbaseIndex(m_pTable);
 }
-typedef connectivity::sdbcx::OCollection ODbaseTables_BASE_BASE;
 // -------------------------------------------------------------------------
 // XAppend
 sdbcx::ObjectType ODbaseIndexes::appendObject( const ::rtl::OUString& _rForName, const Reference< XPropertySet >& descriptor )
diff --git a/connectivity/source/drivers/dbase/DTables.cxx b/connectivity/source/drivers/dbase/DTables.cxx
index 96faa18..49cad63 100644
--- a/connectivity/source/drivers/dbase/DTables.cxx
+++ b/connectivity/source/drivers/dbase/DTables.cxx
@@ -72,7 +72,6 @@ Reference< XPropertySet > ODbaseTables::createDescriptor()
 {
     return new ODbaseTable(this,(ODbaseConnection*)static_cast<OFileCatalog&>(m_rParent).getConnection());
 }
-typedef connectivity::sdbcx::OCollection ODbaseTables_BASE_BASE;
 // -------------------------------------------------------------------------
 // XAppend
 sdbcx::ObjectType ODbaseTables::appendObject( const ::rtl::OUString& _rForName, const Reference< XPropertySet >& descriptor )
diff --git a/connectivity/source/drivers/evoab2/NTables.cxx b/connectivity/source/drivers/evoab2/NTables.cxx
index 84a88bb..8f7416a 100644
--- a/connectivity/source/drivers/evoab2/NTables.cxx
+++ b/connectivity/source/drivers/evoab2/NTables.cxx
@@ -53,7 +53,6 @@ using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 using namespace ::com::sun::star::lang;
 using namespace dbtools;
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
 
 ObjectType OEvoabTables::createObject(const ::rtl::OUString& aName)
 {
diff --git a/connectivity/source/drivers/file/FColumns.cxx b/connectivity/source/drivers/file/FColumns.cxx
index cd148ed..0a9671b 100644
--- a/connectivity/source/drivers/file/FColumns.cxx
+++ b/connectivity/source/drivers/file/FColumns.cxx
@@ -44,8 +44,6 @@ using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 using namespace ::com::sun::star::lang;
 
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
-
 sdbcx::ObjectType OColumns::createObject(const ::rtl::OUString& _rName)
 {
 
diff --git a/connectivity/source/drivers/file/FTables.cxx b/connectivity/source/drivers/file/FTables.cxx
index afefb6b..ce42098 100644
--- a/connectivity/source/drivers/file/FTables.cxx
+++ b/connectivity/source/drivers/file/FTables.cxx
@@ -45,7 +45,6 @@ using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 
 namespace starutil      = ::com::sun::star::util;
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
 
 sdbcx::ObjectType OTables::createObject(const ::rtl::OUString& /*_rName*/)
 {
diff --git a/connectivity/source/drivers/hsqldb/HTables.cxx b/connectivity/source/drivers/hsqldb/HTables.cxx
index 2805845..3b07ca2 100644
--- a/connectivity/source/drivers/hsqldb/HTables.cxx
+++ b/connectivity/source/drivers/hsqldb/HTables.cxx
@@ -54,7 +54,6 @@ using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 using namespace ::com::sun::star::lang;
 using namespace dbtools;
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
 
 sdbcx::ObjectType OTables::createObject(const ::rtl::OUString& _rName)
 {
diff --git a/connectivity/source/drivers/hsqldb/HUser.cxx b/connectivity/source/drivers/hsqldb/HUser.cxx
index 5373c16..7cc7ae6 100644
--- a/connectivity/source/drivers/hsqldb/HUser.cxx
+++ b/connectivity/source/drivers/hsqldb/HUser.cxx
@@ -68,7 +68,6 @@ OUserExtend::OUserExtend(   const ::com::sun::star::uno::Reference< ::com::sun::
     construct();
 }
 // -------------------------------------------------------------------------
-typedef connectivity::sdbcx::OUser  OUser_TYPEDEF;
 void OUserExtend::construct()
 {
     registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_PASSWORD),    PROPERTY_ID_PASSWORD,0,&m_Password,::getCppuType(reinterpret_cast< ::rtl::OUString*>(NULL)));
diff --git a/connectivity/source/drivers/hsqldb/HUsers.cxx b/connectivity/source/drivers/hsqldb/HUsers.cxx
index 3f98a81..5252022 100644
--- a/connectivity/source/drivers/hsqldb/HUsers.cxx
+++ b/connectivity/source/drivers/hsqldb/HUsers.cxx
@@ -45,7 +45,6 @@ using namespace ::com::sun::star::beans;
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 using namespace ::com::sun::star::lang;
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
 
 OUsers::OUsers( ::cppu::OWeakObject& _rParent,
                 ::osl::Mutex& _rMutex,
diff --git a/connectivity/source/drivers/mozab/MColumns.cxx b/connectivity/source/drivers/mozab/MColumns.cxx
index 79b6f83..5f5dd35 100644
--- a/connectivity/source/drivers/mozab/MColumns.cxx
+++ b/connectivity/source/drivers/mozab/MColumns.cxx
@@ -49,7 +49,6 @@ using namespace ::com::sun::star::beans;
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 using namespace ::com::sun::star::lang;
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
 
 sdbcx::ObjectType OColumns::createObject(const ::rtl::OUString& _rName)
 {
diff --git a/connectivity/source/drivers/mozab/MTables.cxx b/connectivity/source/drivers/mozab/MTables.cxx
index 7793605..dfa7b99 100644
--- a/connectivity/source/drivers/mozab/MTables.cxx
+++ b/connectivity/source/drivers/mozab/MTables.cxx
@@ -52,7 +52,6 @@ using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 using namespace ::com::sun::star::lang;
 using namespace dbtools;
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
 
 sdbcx::ObjectType OTables::createObject(const ::rtl::OUString& _rName)
 {
diff --git a/connectivity/source/drivers/mysql/YTables.cxx b/connectivity/source/drivers/mysql/YTables.cxx
index 00471e3..2264ddb 100644
--- a/connectivity/source/drivers/mysql/YTables.cxx
+++ b/connectivity/source/drivers/mysql/YTables.cxx
@@ -54,7 +54,6 @@ using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 using namespace ::com::sun::star::lang;
 using namespace dbtools;
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
 
 sdbcx::ObjectType OTables::createObject(const ::rtl::OUString& _rName)
 {
diff --git a/connectivity/source/drivers/mysql/YUser.cxx b/connectivity/source/drivers/mysql/YUser.cxx
index f008455..575a6d0 100644
--- a/connectivity/source/drivers/mysql/YUser.cxx
+++ b/connectivity/source/drivers/mysql/YUser.cxx
@@ -68,7 +68,6 @@ OUserExtend::OUserExtend(   const ::com::sun::star::uno::Reference< ::com::sun::
     construct();
 }
 // -------------------------------------------------------------------------
-typedef connectivity::sdbcx::OUser  OUser_TYPEDEF;
 void OUserExtend::construct()
 {
     registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_PASSWORD),    PROPERTY_ID_PASSWORD,0,&m_Password,::getCppuType(reinterpret_cast< ::rtl::OUString*>(NULL)));
diff --git a/connectivity/source/drivers/mysql/YUsers.cxx b/connectivity/source/drivers/mysql/YUsers.cxx
index b286cae..de00aec 100644
--- a/connectivity/source/drivers/mysql/YUsers.cxx
+++ b/connectivity/source/drivers/mysql/YUsers.cxx
@@ -45,7 +45,6 @@ using namespace ::com::sun::star::beans;
 using namespace ::com::sun::star::sdbc;
 using namespace ::com::sun::star::container;
 using namespace ::com::sun::star::lang;
-typedef connectivity::sdbcx::OCollection OCollection_TYPE;
 
 OUsers::OUsers( ::cppu::OWeakObject& _rParent,
                 ::osl::Mutex& _rMutex,
diff --git a/dbaccess/source/core/api/table.cxx b/dbaccess/source/core/api/table.cxx
index 284efec..eb93d26 100644
--- a/dbaccess/source/core/api/table.cxx
+++ b/dbaccess/source/core/api/table.cxx
@@ -69,8 +69,6 @@ using namespace ::osl;
 using namespace ::comphelper;
 using namespace ::cppu;
 
-typedef ::std::map <sal_Int32, OTableColumn*, std::less <sal_Int32> > OColMap;
-
 //==========================================================================
 //= ODBTable
 //==========================================================================
diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx
index 1da4ef7..4b4bb21 100644
--- a/editeng/source/editeng/impedit5.cxx
+++ b/editeng/source/editeng/impedit5.cxx
@@ -664,8 +664,6 @@ void ImpEditEngine::RemoveCharAttribs( EditSelection aSel, sal_Bool bRemoveParaA
     }
 }
 
-typedef EditCharAttrib* EditCharAttribPtr;
-
 void ImpEditEngine::RemoveCharAttribs( sal_uInt16 nPara, sal_uInt16 nWhich, sal_Bool bRemoveFeatures )
 {
     ContentNode* pNode = aEditDoc.GetObject( nPara );
diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx
index 14d5b82..90c0c82 100644
--- a/editeng/source/misc/unolingu.cxx
+++ b/editeng/source/misc/unolingu.cxx
@@ -28,7 +28,6 @@
 
 
 #include <map>
-#include <set>
 #include <vector>
 #include <list>
 #include <memory>
@@ -219,9 +218,6 @@ void SvxLinguConfigUpdate::UpdateAll( sal_Bool bForceCheck )
     {
         typedef OUString OUstring_t;
         typedef Sequence< OUString > Sequence_OUString_t;
-        typedef std::vector< OUstring_t > OUString_vector_t;
-        typedef std::set< OUstring_t > OUString_set_t;
-        std::vector< OUString_vector_t > aVector;
         typedef std::map< OUstring_t, Sequence_OUString_t > list_entry_map_t;
 
         RTL_LOGFILE_CONTEXT( aLog, "svx: SvxLinguConfigUpdate::UpdateAll - updating..." );
diff --git a/framework/source/uiconfiguration/imagemanager.cxx b/framework/source/uiconfiguration/imagemanager.cxx
index fcb768f..b4d4efa 100644
--- a/framework/source/uiconfiguration/imagemanager.cxx
+++ b/framework/source/uiconfiguration/imagemanager.cxx
@@ -91,8 +91,6 @@ const sal_Int16 MAX_IMAGETYPE_VALUE       = ::com::sun::star::ui::ImageType::COL
 namespace framework
 {
 
-typedef GraphicNameAccess CmdToXGraphicNameAccess;
-
 //*****************************************************************************************************************
 //  XInterface, XTypeProvider, XServiceInfo
 //*****************************************************************************************************************
diff --git a/oox/source/export/chartexport.cxx b/oox/source/export/chartexport.cxx
index 046c611..92f9e75 100644
--- a/oox/source/export/chartexport.cxx
+++ b/oox/source/export/chartexport.cxx
@@ -341,8 +341,6 @@ bool lcl_isSeriesAttachedToFirstAxis(
     return bResult;
 }
 
-typedef ::std::pair< OUString, OUString > tLabelAndValueRange;
-
 OUString lcl_flattenStringSequence( const Sequence< OUString > & rSequence )
 {
     OUStringBuffer aResult;
diff --git a/sc/source/filter/excel/xename.cxx b/sc/source/filter/excel/xename.cxx
index cf2f795..82eed91 100644
--- a/sc/source/filter/excel/xename.cxx
+++ b/sc/source/filter/excel/xename.cxx
@@ -162,7 +162,6 @@ public:
 private:
     typedef XclExpRecordList< XclExpName >      XclExpNameList;
     typedef XclExpNameList::RecordRefType       XclExpNameRef;
-    typedef ::std::map< sal_uInt16, sal_uInt16 >    XclExpIndexMap;
 
     typedef ::std::map< ::std::pair<SCTAB, sal_uInt16>, sal_uInt16> NamedExpIndexMap;
 
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx
index b298670..5f12c13 100644
--- a/sd/source/ui/view/sdview2.cxx
+++ b/sd/source/ui/view/sdview2.cxx
@@ -970,7 +970,6 @@ bool View::GetExchangeList (std::vector<rtl::OUString> &rExchangeList,
     return bNameOK;
 }
 
-typedef std::vector< std::pair< sal_uInt32, sal_uInt32 > > PathSurrogateVector;
 typedef std::vector< SdrObject* > SdrObjectVector;
 
 void ImplProcessObjectList(SdrObject* pObj, SdrObjectVector& rVector )
diff --git a/sdext/source/pdfimport/test/tests.cxx b/sdext/source/pdfimport/test/tests.cxx
index ab4e5fc..11af7d3 100644
--- a/sdext/source/pdfimport/test/tests.cxx
+++ b/sdext/source/pdfimport/test/tests.cxx
@@ -467,9 +467,6 @@ namespace
         typedef boost::unordered_map<sal_Int32,FontAttributes> IdToFontMap;
         typedef boost::unordered_map<FontAttributes,sal_Int32,FontAttrHash> FontToIdMap;
 
-        typedef boost::unordered_map<sal_Int32,GraphicsContext> IdToGCMap;
-        typedef boost::unordered_map<GraphicsContext,sal_Int32,GraphicsContextHash> GCToIdMap;
-
         typedef std::vector<GraphicsContext> GraphicsContextStack;
 
         sal_Int32                 m_nNextFontId;
diff --git a/sfx2/source/menu/virtmenu.cxx b/sfx2/source/menu/virtmenu.cxx
index d7eb851..1fa371f 100644
--- a/sfx2/source/menu/virtmenu.cxx
+++ b/sfx2/source/menu/virtmenu.cxx
@@ -68,8 +68,6 @@ using namespace ::com::sun::star::uno;
 
 DBG_NAME(SfxVirtualMenu)
 
-typedef SfxMenuControl* SfxMenuControlPtr;
-
 class SfxMenuImageControl_Impl : public SfxControllerItem
 {
     SfxVirtualMenu*     pMenu;
diff --git a/shell/source/win32/simplemail/smplmailclient.cxx b/shell/source/win32/simplemail/smplmailclient.cxx
index 14cac42..722abd8 100644
--- a/shell/source/win32/simplemail/smplmailclient.cxx
+++ b/shell/source/win32/simplemail/smplmailclient.cxx
@@ -59,7 +59,6 @@ using css::system::SimpleMailClientFlags::NO_USER_INTERFACE;
 using css::system::SimpleMailClientFlags::NO_LOGON_DIALOG;
 
 typedef std::vector<rtl::OUString> StringList_t;
-typedef StringList_t::const_iterator StringListIterator_t;
 
 const rtl::OUString TO(RTL_CONSTASCII_USTRINGPARAM("--to"));
 const rtl::OUString CC(RTL_CONSTASCII_USTRINGPARAM("--cc"));
diff --git a/svtools/source/control/roadmap.cxx b/svtools/source/control/roadmap.cxx
index b2e06dd..a008910 100644
--- a/svtools/source/control/roadmap.cxx
+++ b/svtools/source/control/roadmap.cxx
@@ -49,7 +49,6 @@ namespace svt
 {
 //.........................................................................
 
-    typedef std::vector< ::rtl::OUString > S_Vector;
     typedef std::vector< RoadmapItem* > HL_Vector;
 
     //=====================================================================
diff --git a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
index c586bf7..007c079 100644
--- a/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
+++ b/svx/source/customshapes/EnhancedCustomShapeFontWork.cxx
@@ -65,8 +65,6 @@
 using namespace com::sun::star;
 using namespace com::sun::star::uno;
 
-typedef std::vector< std::vector< double > > PolyPolygonDistances;
-
 struct FWCharacterData                  // representing a single character
 {
     std::vector< PolyPolygon >          vOutlines;
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx
index ac70be0..08f3cf8 100644
--- a/svx/source/form/datanavi.cxx
+++ b/svx/source/form/datanavi.cxx
@@ -188,7 +188,6 @@ namespace svxform
             return;
 
         using namespace ::com::sun::star::uno;
-        typedef com::sun::star::form::binding::XValueBinding XValueBinding_t;
 
         ItemNode *pItemNode = static_cast<ItemNode*>(pSelected->GetUserData());
 
diff --git a/xmloff/source/style/XMLFontAutoStylePool.cxx b/xmloff/source/style/XMLFontAutoStylePool.cxx
index e5e3323..a242375 100644
--- a/xmloff/source/style/XMLFontAutoStylePool.cxx
+++ b/xmloff/source/style/XMLFontAutoStylePool.cxx
@@ -140,7 +140,6 @@ int XMLFontAutoStylePoolEntryCmp_Impl(
     }
 }
 
-typedef XMLFontAutoStylePoolEntry_Impl *XMLFontAutoStylePoolEntryPtr;
 DECLARE_CONTAINER_SORT_DEL( XMLFontAutoStylePool_Impl,
                             XMLFontAutoStylePoolEntry_Impl )
 IMPL_CONTAINER_SORT( XMLFontAutoStylePool_Impl,
diff --git a/xmlscript/source/xml_helper/xml_impctx.cxx b/xmlscript/source/xml_helper/xml_impctx.cxx
index ebe47ef..2aa2c0e 100644
--- a/xmlscript/source/xml_helper/xml_impctx.cxx
+++ b/xmlscript/source/xml_helper/xml_impctx.cxx
@@ -70,7 +70,6 @@ OUString getImplementationName_DocumentHandlerImpl()
 }
 
 typedef ::boost::unordered_map< OUString, sal_Int32, OUStringHash > t_OUString2LongMap;
-typedef ::boost::unordered_map< sal_Int32, OUString > t_Long2OUStringMap;
 
 struct PrefixEntry
 {


More information about the Libreoffice-commits mailing list