[Libreoffice-commits] .: accessibility/source pyuno/source sw/source vcl/aqua vcl/source vcl/win

Takeshi Abe tabe at kemper.freedesktop.org
Tue May 29 07:47:24 PDT 2012


 accessibility/source/extended/AccessibleToolPanelDeck.cxx       |    3 ---
 accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx |    2 --
 pyuno/source/module/pyuno_module.cxx                            |    1 -
 sw/source/ui/dbui/dbinsdlg.cxx                                  |    1 -
 sw/source/ui/dbui/maildispatcher.cxx                            |    1 -
 sw/source/ui/vba/vbastyles.cxx                                  |    1 -
 vcl/aqua/source/dtrans/DataFlavorMapping.cxx                    |    3 ---
 vcl/source/window/window.cxx                                    |    4 ----
 vcl/win/source/gdi/winlayout.cxx                                |    2 --
 9 files changed, 18 deletions(-)

New commits:
commit 6b915b210aeebeed104ab3e266c4ebc67c1c9d46
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Tue May 29 23:39:23 2012 +0900

    nuke unused typedef
    
    Change-Id: I12a55e08a83b88221d992790c97c830761755582

diff --git a/accessibility/source/extended/AccessibleToolPanelDeck.cxx b/accessibility/source/extended/AccessibleToolPanelDeck.cxx
index a57c7d6..b0a7ff8 100644
--- a/accessibility/source/extended/AccessibleToolPanelDeck.cxx
+++ b/accessibility/source/extended/AccessibleToolPanelDeck.cxx
@@ -44,7 +44,6 @@
 #include <tools/diagnose_ex.h>
 
 #include <boost/noncopyable.hpp>
-#include <vector>
 
 //......................................................................................................................
 namespace accessibility
@@ -77,7 +76,6 @@ namespace accessibility
     namespace AccessibleEventId = ::com::sun::star::accessibility::AccessibleEventId;
     namespace AccessibleStateType = ::com::sun::star::accessibility::AccessibleStateType;
 
-    typedef ::com::sun::star::awt::Rectangle    UnoRectangle;
     typedef ::com::sun::star::awt::Point        UnoPoint;
 
     //==================================================================================================================
@@ -115,7 +113,6 @@ namespace accessibility
         Reference< XAccessible >    m_xAccessibleParent;
         ::svt::ToolPanelDeck*       m_pPanelDeck;
 
-        typedef ::std::vector< Reference< XAccessible > > AccessibleChildren;
         Reference< XAccessible >        m_xActivePanelAccessible;
     };
 
diff --git a/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx b/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx
index bcfa82e..8ede78c 100644
--- a/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx
+++ b/accessibility/source/extended/AccessibleToolPanelDeckTabBar.cxx
@@ -78,8 +78,6 @@ namespace accessibility
     namespace AccessibleStateType = ::com::sun::star::accessibility::AccessibleStateType;
 
     typedef ::com::sun::star::awt::Point        UnoPoint;
-    typedef ::com::sun::star::awt::Size         UnoSize;
-    typedef ::com::sun::star::awt::Rectangle    UnoRectangle;
 
     //==================================================================================================================
     //= AccessibleWrapper
diff --git a/pyuno/source/module/pyuno_module.cxx b/pyuno/source/module/pyuno_module.cxx
index 31c330e..432a61e 100644
--- a/pyuno/source/module/pyuno_module.cxx
+++ b/pyuno/source/module/pyuno_module.cxx
@@ -91,7 +91,6 @@ namespace {
 
 class fillStructState
 {
-    typedef boost::unordered_map <const OUString, bool, OUStringHash> initialised_t;
     // Keyword arguments used
     PyObject *used;
     // Which structure members are initialised
diff --git a/sw/source/ui/dbui/dbinsdlg.cxx b/sw/source/ui/dbui/dbinsdlg.cxx
index 6a64058..d4e547b 100644
--- a/sw/source/ui/dbui/dbinsdlg.cxx
+++ b/sw/source/ui/dbui/dbinsdlg.cxx
@@ -172,7 +172,6 @@ struct _DB_Column
     }
 };
 
-typedef _DB_Column* _DB_ColumnPtr;
 SV_IMPL_OP_PTRARR_SORT( SwInsDBColumns, SwInsDBColumnPtr )
 
 
diff --git a/sw/source/ui/dbui/maildispatcher.cxx b/sw/source/ui/dbui/maildispatcher.cxx
index 3eb6632..33ea0ac 100644
--- a/sw/source/ui/dbui/maildispatcher.cxx
+++ b/sw/source/ui/dbui/maildispatcher.cxx
@@ -34,7 +34,6 @@
 using namespace ::com::sun::star;
 using ::rtl::OUString;
 
-typedef std::list< uno::Reference<mail::XMailMessage> > MailMessageContainer_t;
 typedef std::list< ::rtl::Reference<IMailDispatcherListener> > MailDispatcherListenerContainer_t;
 
 namespace /* private */
diff --git a/sw/source/ui/vba/vbastyles.cxx b/sw/source/ui/vba/vbastyles.cxx
index 595f5a3..af34899 100644
--- a/sw/source/ui/vba/vbastyles.cxx
+++ b/sw/source/ui/vba/vbastyles.cxx
@@ -166,7 +166,6 @@ static const MSOStyleNameTable aMSOStyleNameTable[] =
     { 0, 0, 0 }
 };
 
-typedef ::cppu::WeakImplHelper1< container::XEnumeration > StyleEnumeration_BASE;
 typedef ::cppu::WeakImplHelper3< container::XNameAccess, container::XIndexAccess, container::XEnumerationAccess > StyleCollectionHelper_BASE;
 
 class StyleCollectionHelper : public StyleCollectionHelper_BASE
diff --git a/vcl/aqua/source/dtrans/DataFlavorMapping.cxx b/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
index e0db688..4bc25e9 100644
--- a/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
+++ b/vcl/aqua/source/dtrans/DataFlavorMapping.cxx
@@ -39,7 +39,6 @@
 #include <rtl/memory.h>
 #include <osl/endian.h>
 
-#include <vector>
 #include <stdio.h>
 
 #include <premac.h>
@@ -70,8 +69,6 @@ namespace // private
     return ((len > 0) && ((dtype == CPPUTYPE_SEQINT8) || (dtype == CPPUTYPE_OUSTRING)));
   }
 
-  typedef vector<sal_Unicode> UnicodeBuffer;
-
   NSString* PBTYPE_SODX = @"application/x-openoffice-objectdescriptor-xml;windows_formatname=\"Star Object Descriptor (XML)\"";
   NSString* PBTYPE_SESX = @"application/x-openoffice-embed-source-xml;windows_formatname=\"Star Embed Source (XML)\"";
   NSString* PBTYPE_SLSDX = @"application/x-openoffice-linksrcdescriptor-xml;windows_formatname=\"Star Link Source Descriptor (XML)\"";
diff --git a/vcl/source/window/window.cxx b/vcl/source/window/window.cxx
index ee6c4a5..a88be64 100644
--- a/vcl/source/window/window.cxx
+++ b/vcl/source/window/window.cxx
@@ -126,10 +126,6 @@ DBG_NAME( Window )
 
 // -----------------------------------------------------------------------
 
-typedef Window* PWINDOW;
-
-// -----------------------------------------------------------------------
-
 struct ImplCalcToTopData
 {
     ImplCalcToTopData*  mpNext;
diff --git a/vcl/win/source/gdi/winlayout.cxx b/vcl/win/source/gdi/winlayout.cxx
index b2a24a7..1df1a75 100644
--- a/vcl/win/source/gdi/winlayout.cxx
+++ b/vcl/win/source/gdi/winlayout.cxx
@@ -55,10 +55,8 @@
 #include <winver.h>
 
 #include <boost/unordered_map.hpp>
-#include <set>
 
 typedef boost::unordered_map<int,int> IntMap;
-typedef std::set<int> IntSet;
 
 // Graphite headers
 #ifdef ENABLE_GRAPHITE


More information about the Libreoffice-commits mailing list