[Libreoffice-commits] core.git: 37 commits - accessibility/inc accessibility/source basegfx/source chart2/source cui/source drawinglayer/source editeng/source formula/source include/basegfx include/drawinglayer include/editeng include/formula include/oox include/sfx2 include/sot include/svl include/svtools include/svx include/vcl oox/source sc/inc sc/source sfx2/source sot/source starmath/inc starmath/source svl/source svtools/source svx/source sw/inc sw/source unusedcode.easy vcl/source

Noel Grandin noel at peralex.com
Tue Mar 4 23:19:41 PST 2014


 accessibility/inc/accessibility/extended/textwindowaccessibility.hxx |    3 
 accessibility/source/extended/textwindowaccessibility.cxx            |   38 ------
 basegfx/source/polygon/b2dpolygontools.cxx                           |   43 ------
 basegfx/source/polygon/b2dpolypolygontools.cxx                       |   18 --
 basegfx/source/polygon/b3dpolypolygontools.cxx                       |    7 -
 chart2/source/inc/ChartModelHelper.hxx                               |    4 
 chart2/source/inc/ModifyListenerCallBack.hxx                         |    1 
 chart2/source/tools/ChartModelHelper.cxx                             |    8 -
 chart2/source/tools/ModifyListenerCallBack.cxx                       |   15 --
 cui/source/customize/acccfg.cxx                                      |    6 
 cui/source/inc/acccfg.hxx                                            |    1 
 cui/source/inc/dstribut.hxx                                          |    1 
 cui/source/tabpages/dstribut.cxx                                     |   12 -
 drawinglayer/source/attribute/sdrfillgraphicattribute.cxx            |    5 
 editeng/source/accessibility/AccessibleParaManager.cxx               |   14 --
 editeng/source/editeng/misspellrange.cxx                             |    1 
 editeng/source/editeng/section.cxx                                   |    2 
 editeng/source/items/numitem.cxx                                     |   10 -
 formula/source/core/api/token.cxx                                    |    5 
 formula/source/core/api/vectortoken.cxx                              |   48 -------
 formula/source/ui/dlg/formula.cxx                                    |    5 
 include/basegfx/polygon/b2dpolypolygontools.hxx                      |    5 
 include/drawinglayer/attribute/sdrfillgraphicattribute.hxx           |    1 
 include/editeng/AccessibleParaManager.hxx                            |    2 
 include/editeng/misspellrange.hxx                                    |    1 
 include/editeng/numitem.hxx                                          |    2 
 include/editeng/section.hxx                                          |    1 
 include/formula/formula.hxx                                          |    1 
 include/formula/tokenarray.hxx                                       |    1 
 include/formula/vectortoken.hxx                                      |   17 +-
 include/oox/core/relations.hxx                                       |    1 
 include/oox/core/xmlfilterbase.hxx                                   |    4 
 include/sfx2/bindings.hxx                                            |    2 
 include/sfx2/dispatch.hxx                                            |    3 
 include/sfx2/templatelocalview.hxx                                   |    2 
 include/sfx2/thumbnailview.hxx                                       |    8 -
 include/sot/factory.hxx                                              |    2 
 include/svl/grabbagitem.hxx                                          |    1 
 include/svl/itempool.hxx                                             |    2 
 include/svtools/accessibilityoptions.hxx                             |   22 ---
 include/svtools/ivctrl.hxx                                           |    2 
 include/svx/AccessibleShape.hxx                                      |    2 
 include/svx/svdetc.hxx                                               |    1 
 include/vcl/texteng.hxx                                              |   43 +++---
 include/vcl/toolbox.hxx                                              |    1 
 include/vcl/vclmedit.hxx                                             |    2 
 oox/source/core/relations.cxx                                        |    9 -
 oox/source/core/xmlfilterbase.cxx                                    |    6 
 sc/inc/table.hxx                                                     |    1 
 sc/source/core/data/table3.cxx                                       |    5 
 sc/source/ui/inc/simpref.hxx                                         |    1 
 sc/source/ui/miscdlgs/simpref.cxx                                    |    5 
 sfx2/source/control/bindings.cxx                                     |   26 ----
 sfx2/source/control/dispatch.cxx                                     |   14 --
 sfx2/source/control/templatelocalview.cxx                            |   16 --
 sfx2/source/control/thumbnailview.cxx                                |   38 ------
 sot/source/base/factory.cxx                                          |    2 
 starmath/inc/parse.hxx                                               |    1 
 starmath/inc/utility.hxx                                             |    1 
 starmath/source/parse.cxx                                            |   10 -
 starmath/source/utility.cxx                                          |    8 -
 svl/source/items/grabbagitem.cxx                                     |    5 
 svl/source/items/itempool.cxx                                        |    2 
 svtools/source/config/accessibilityoptions.cxx                       |   32 -----
 svtools/source/contnr/ivctrl.cxx                                     |    2 
 svx/source/accessibility/AccessibleShape.cxx                         |   19 ---
 svx/source/accessibility/svxrectctaccessiblecontext.cxx              |    7 -
 svx/source/inc/svxrectctaccessiblecontext.hxx                        |    2 
 svx/source/svdraw/svdetc.cxx                                         |    6 
 sw/inc/docary.hxx                                                    |    2 
 sw/inc/docufld.hxx                                                   |    3 
 sw/source/core/access/accpara.cxx                                    |   15 --
 sw/source/core/access/accpara.hxx                                    |    1 
 sw/source/core/access/accportions.cxx                                |   15 --
 sw/source/core/access/accportions.hxx                                |    1 
 sw/source/core/access/acctable.cxx                                   |    5 
 sw/source/core/access/acctable.hxx                                   |    1 
 sw/source/core/doc/docredln.cxx                                      |   13 --
 sw/source/core/fields/docufld.cxx                                    |   22 ---
 sw/source/core/inc/cntfrm.hxx                                        |    1 
 sw/source/core/inc/viewimp.hxx                                       |    4 
 sw/source/core/layout/ssfrm.cxx                                      |   52 --------
 sw/source/core/view/viewimp.cxx                                      |   18 --
 unusedcode.easy                                                      |   62 ----------
 vcl/source/edit/texteng.cxx                                          |    5 
 vcl/source/edit/vclmedit.cxx                                         |   15 --
 vcl/source/window/toolbox2.cxx                                       |    8 -
 87 files changed, 41 insertions(+), 796 deletions(-)

New commits:
commit 77c45eb25eb462bacdf7d658d6cb485f755beaa5
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 15:49:03 2014 +0200

    remove unused code oox::core::Relations::getRelationsFromType
    
    Change-Id: I242ddcc1e352fbf92206a21d93e16c42a0e5ef8e

diff --git a/include/oox/core/relations.hxx b/include/oox/core/relations.hxx
index 4254b99..bbe2968 100644
--- a/include/oox/core/relations.hxx
+++ b/include/oox/core/relations.hxx
@@ -82,7 +82,6 @@ public:
     /** Returns the first relation with the passed type. */
     const Relation*     getRelationFromFirstTypeFromOfficeDoc( const OUString& rType ) const;
     /** Finds all relations associated with the passed type. */
-    RelationsRef        getRelationsFromType( const OUString& rType ) const;
     RelationsRef        getRelationsFromTypeFromOfficeDoc( const OUString& rType ) const;
 
     /** Returns the external target of the relation with the passed relation identifier. */
diff --git a/oox/source/core/relations.cxx b/oox/source/core/relations.cxx
index d2e1b28..4122678 100644
--- a/oox/source/core/relations.cxx
+++ b/oox/source/core/relations.cxx
@@ -71,15 +71,6 @@ const Relation* Relations::getRelationFromFirstType( const OUString& rType ) con
     return 0;
 }
 
-RelationsRef Relations::getRelationsFromType( const OUString& rType ) const
-{
-    RelationsRef xRelations( new Relations( maFragmentPath ) );
-    for( const_iterator aIt = begin(), aEnd = end(); aIt != aEnd; ++aIt )
-        if( aIt->second.maType.equalsIgnoreAsciiCase( rType ) )
-            (*xRelations)[ aIt->first ] = aIt->second;
-    return xRelations;
-}
-
 RelationsRef Relations::getRelationsFromTypeFromOfficeDoc( const OUString& rType ) const
 {
     RelationsRef xRelations( new Relations( maFragmentPath ) );
diff --git a/unusedcode.easy b/unusedcode.easy
index 8949a73..28cf374 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -174,7 +174,6 @@ connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
 connectivity::sdbcx::OGroup::OGroup(unsigned char)
 oglcanvas::CanvasHelper::flush() const
 oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
-oox::core::Relations::getRelationsFromType(rtl::OUString const&) const
 oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&)
 rtl_OUString::convertFromString::test()
 sc::CLBuildKernelThread::consume()
commit 26f145549e19658a7f76770cfd5c8a4ad5942fad
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 15:46:47 2014 +0200

    remove unused code oox::core::XmlFilterBase::getFragmentPathFromFirstType
    
    Change-Id: I75094f95001dab18436100375a8ec6564e8d0f8f

diff --git a/include/oox/core/xmlfilterbase.hxx b/include/oox/core/xmlfilterbase.hxx
index d39397b..5aed3d3 100644
--- a/include/oox/core/xmlfilterbase.hxx
+++ b/include/oox/core/xmlfilterbase.hxx
@@ -97,10 +97,6 @@ public:
 
 
 
-    /** Returns the fragment path from the first relation of the passed type,
-        used for fragments referred by the root relations. */
-    OUString     getFragmentPathFromFirstType( const OUString& rType );
-
     OUString     getFragmentPathFromFirstTypeFromOfficeDoc( const OUString& rPart );
 
     /** Imports a fragment using the passed fragment handler, which contains
diff --git a/oox/source/core/xmlfilterbase.cxx b/oox/source/core/xmlfilterbase.cxx
index ecf902e..5b054f8 100644
--- a/oox/source/core/xmlfilterbase.cxx
+++ b/oox/source/core/xmlfilterbase.cxx
@@ -227,12 +227,6 @@ FastParser* XmlFilterBase::createParser() const
     return pParser;
 }
 
-OUString XmlFilterBase::getFragmentPathFromFirstType( const OUString& rType )
-{
-    // importRelations() caches the relations map for subsequence calls
-    return importRelations( OUString() )->getFragmentPathFromFirstType( rType );
-}
-
 namespace {
 
 OUString getTransitionalRelationshipOfficeDocType(const OUString& rPart)
diff --git a/unusedcode.easy b/unusedcode.easy
index 6c5e24f..8949a73 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -175,7 +175,6 @@ connectivity::sdbcx::OGroup::OGroup(unsigned char)
 oglcanvas::CanvasHelper::flush() const
 oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
 oox::core::Relations::getRelationsFromType(rtl::OUString const&) const
-oox::core::XmlFilterBase::getFragmentPathFromFirstType(rtl::OUString const&)
 oox::xls::BiffDrawingObjectBase::BiffDrawingObjectBase(oox::xls::WorksheetHelper const&)
 rtl_OUString::convertFromString::test()
 sc::CLBuildKernelThread::consume()
commit 794f5c68743b68183f842a308eb0e67db4c051af
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 10:46:18 2014 +0200

    remove unused code ScSimpleRefDlg::GetRefString()
    
    Change-Id: I1d5660560844e6e05be7ac20af3a420cae7de2b5

diff --git a/sc/source/ui/inc/simpref.hxx b/sc/source/ui/inc/simpref.hxx
index 1ce8204..f156316 100644
--- a/sc/source/ui/inc/simpref.hxx
+++ b/sc/source/ui/inc/simpref.hxx
@@ -83,7 +83,6 @@ public:
 
     void            StartRefInput();
 
-    OUString       GetRefString() const;
     void           SetRefString(const OUString &rStr);
     virtual void   FillInfo(SfxChildWinInfo&) const;
 
diff --git a/sc/source/ui/miscdlgs/simpref.cxx b/sc/source/ui/miscdlgs/simpref.cxx
index 07023e9..384d22e 100644
--- a/sc/source/ui/miscdlgs/simpref.cxx
+++ b/sc/source/ui/miscdlgs/simpref.cxx
@@ -150,11 +150,6 @@ bool ScSimpleRefDlg::IsRefInputMode() const
     return true;
 }
 
-OUString ScSimpleRefDlg::GetRefString() const
-{
-    return m_pEdAssign->GetText();
-}
-
 void ScSimpleRefDlg::SetCloseHdl( const Link& rLink )
 {
     aCloseHdl=rLink;
diff --git a/unusedcode.easy b/unusedcode.easy
index 718f102..6c5e24f 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -31,7 +31,6 @@ OutputDevice::PixelToLogic(Region const&, MapMode const&) const
 SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*)
 ScDocument::CreateFormatTable() const
 ScExtIButton::GetSelected() const
-ScSimpleRefDlg::GetRefString() const
 ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
 ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
 SdrItemBrowser::ForceParent()
commit 01e5d5fe2e4034b23ff40df7c4a64fae28058906
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 10:43:53 2014 +0200

    remove unused code ScTable::GetCellCount(short)
    
    Change-Id: I8ef300c77053d540aa68e3e3463286d56e82c50f

diff --git a/sc/inc/table.hxx b/sc/inc/table.hxx
index 9a621ab..fd8fbdd 100644
--- a/sc/inc/table.hxx
+++ b/sc/inc/table.hxx
@@ -227,7 +227,6 @@ public:
 
     ScOutlineTable* GetOutlineTable()               { return pOutlineTable; }
 
-    SCSIZE      GetCellCount(SCCOL nCol) const;
     sal_uLong       GetCellCount() const;
     sal_uLong       GetWeightedCount() const;
     sal_uLong       GetCodeCount() const;       // RPN code in formula
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 5b51ac2..f6fd9d3 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -2253,11 +2253,6 @@ const ScDocument& ScTable::GetDoc() const
     return *pDocument;
 }
 
-SCSIZE ScTable::GetCellCount(SCCOL nCol) const
-{
-    return aCol[nCol].GetCellCount();
-}
-
 sal_uLong ScTable::GetCellCount() const
 {
     sal_uLong nCellCount = 0;
diff --git a/unusedcode.easy b/unusedcode.easy
index 23f5449..718f102 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -32,7 +32,6 @@ SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint c
 ScDocument::CreateFormatTable() const
 ScExtIButton::GetSelected() const
 ScSimpleRefDlg::GetRefString() const
-ScTable::GetCellCount(short) const
 ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
 ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
 SdrItemBrowser::ForceParent()
commit 94e0f1a0b351018d2ec012d57639fa155b6d7575
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:59:36 2014 +0200

    remove unused code SfxAcceleratorConfigPage::Create
    
    Change-Id: I0fa740b8eec80aff999627ba5a095248f69dab81

diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx
index b25ec7b..29d409e 100644
--- a/cui/source/customize/acccfg.cxx
+++ b/cui/source/customize/acccfg.cxx
@@ -1517,12 +1517,6 @@ OUString SfxAcceleratorConfigPage::GetLabel4Command(const OUString& sCommand)
     return sCommand;
 }
 
-SfxTabPage* SfxAcceleratorConfigPage::Create( Window* pParent, const SfxItemSet& rAttrSet )
-{
-    return new SfxAcceleratorConfigPage( pParent, rAttrSet );
-}
-
-
 css::uno::Reference< css::frame::XModel > SfxAcceleratorConfigPage::SearchForAlreadyLoadedDoc(const OUString& /*sName*/)
 {
     return css::uno::Reference< css::frame::XModel >();
diff --git a/cui/source/inc/acccfg.hxx b/cui/source/inc/acccfg.hxx
index 3ee8898..ae83b9d 100644
--- a/cui/source/inc/acccfg.hxx
+++ b/cui/source/inc/acccfg.hxx
@@ -179,7 +179,6 @@ public:
     virtual void                Reset( const SfxItemSet& );
 
     void                        Apply(const css::uno::Reference< css::ui::XAcceleratorConfiguration >& pAccMgr);
-    static SfxTabPage*          Create( Window* pParent, const SfxItemSet& rAttrSet );
 };
 
 #endif
diff --git a/unusedcode.easy b/unusedcode.easy
index 4609d6a..23f5449 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -37,7 +37,6 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
 ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
 SdrItemBrowser::ForceParent()
 SdrItemBrowser::SdrItemBrowser(SdrView&)
-SfxAcceleratorConfigPage::Create(Window*, SfxItemSet const&)
 SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
 SfxInt64Item::SetValue(long)
 SimpleErrorHandler::SimpleErrorHandler()
commit 42a6e74fc36862c4115fee07fe6be4a233adb30d
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:56:39 2014 +0200

    remove unused code in SfxBindings
    
    SfxBindings::GetSlot(unsigned short)
    SfxBindings::GetSystemWindow() const
    
    Change-Id: Icc024abcde1394ade86d3f4e623e4030382d2b63

diff --git a/include/sfx2/bindings.hxx b/include/sfx2/bindings.hxx
index 38a8154..b68c484 100644
--- a/include/sfx2/bindings.hxx
+++ b/include/sfx2/bindings.hxx
@@ -148,7 +148,6 @@ public:
 
     sal_Bool         IsBound( sal_uInt16 nMsgId, sal_uInt16 nStartSearchAt = 0 );
 
-    const SfxSlot*   GetSlot( sal_uInt16 nMsgId );
     SfxStateCache*   GetStateCache( sal_uInt16 nId);
     SAL_DLLPRIVATE SfxStateCache* GetAnyStateCache_Impl( sal_uInt16 nId );
     /**
@@ -175,7 +174,6 @@ public:
     void             LeaveRegistrations( sal_uInt16 nLevel = USHRT_MAX, const char *pFile = 0, int nLine = 0 );
     void             Register( SfxControllerItem& rBinding );
     void             Release( SfxControllerItem& rBinding );
-    SystemWindow*    GetSystemWindow() const;
     SfxDispatcher*   GetDispatcher() const
                      { return pDispatcher; }
     com::sun::star::uno::Reference< com::sun::star::frame::XDispatchRecorder > GetRecorder() const;
diff --git a/sfx2/source/control/bindings.cxx b/sfx2/source/control/bindings.cxx
index 67dcb3f..5f0ac2f 100644
--- a/sfx2/source/control/bindings.cxx
+++ b/sfx2/source/control/bindings.cxx
@@ -1829,23 +1829,6 @@ void SfxBindings::LeaveRegistrations( sal_uInt16 nLevel, const char *pFile, int
 
 
 
-const SfxSlot* SfxBindings::GetSlot(sal_uInt16 nSlotId)
-{
-    DBG_ASSERT( pImp->pCaches != 0, "SfxBindings not initialized" );
-
-    // synchronizing
-    pDispatcher->Flush();
-    if ( pImp->bMsgDirty )
-        UpdateSlotServer_Impl();
-
-    // get the cache for the specified function; return if not bound
-    SfxStateCache* pCache = GetStateCache(nSlotId);
-    return pCache && pCache->GetSlotServer(*pDispatcher, pImp->xProv)?
-            pCache->GetSlotServer(*pDispatcher, pImp->xProv)->GetSlot(): 0;
-}
-
-
-
 void SfxBindings::SetDispatcher( SfxDispatcher *pDisp )
 {
     SfxDispatcher *pOldDispat = pDispatcher;
@@ -2180,15 +2163,6 @@ void SfxBindings::SetDispatchProvider_Impl( const ::com::sun::star::uno::Referen
         pImp->pSubBindings->SetDispatchProvider_Impl( pImp->xProv );
 }
 
-SystemWindow* SfxBindings::GetSystemWindow() const
-{
-    SfxViewFrame *pFrame = pDispatcher->GetFrame();
-    while ( pFrame->GetParentViewFrame_Impl() )
-        pFrame = pFrame->GetParentViewFrame_Impl();
-    SfxViewFrame* pTop = pFrame->GetTopViewFrame();
-    return pTop->GetFrame().GetTopWindow_Impl();
-}
-
 sal_Bool SfxBindings::ExecuteCommand_Impl( const OUString& rCommand )
 {
     ::com::sun::star::util::URL aURL;
diff --git a/unusedcode.easy b/unusedcode.easy
index e08c2ce..4609d6a 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -39,8 +39,6 @@ SdrItemBrowser::ForceParent()
 SdrItemBrowser::SdrItemBrowser(SdrView&)
 SfxAcceleratorConfigPage::Create(Window*, SfxItemSet const&)
 SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
-SfxBindings::GetSlot(unsigned short)
-SfxBindings::GetSystemWindow() const
 SfxInt64Item::SetValue(long)
 SimpleErrorHandler::SimpleErrorHandler()
 StyleSettings::SetActiveColor2(Color const&)
commit 2e7807cb8673dd6ca6703d0554117fd9666ffd6a
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:53:47 2014 +0200

    remove unused code SfxDispatcher::IsOnTop(SfxShell const&)
    
    Change-Id: I107f732cb0f26bf0546e6cf6181b4236a6ad7b49

diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx
index 6c7e175..0f1f908 100644
--- a/include/sfx2/dispatch.hxx
+++ b/include/sfx2/dispatch.hxx
@@ -136,8 +136,7 @@ public:
     const SfxSlot*      GetSlot( const OUString& rCommand );
 
     sal_Bool                IsActive( const SfxShell& rShell );
-    sal_Bool                IsOnTop( const SfxShell& rShell );
-    sal_uInt16              GetShellLevel( const SfxShell &rShell );
+    sal_uInt16          GetShellLevel( const SfxShell &rShell );
     SfxBindings*        GetBindings() const;
 
     void                Push( SfxShell& rShell );
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index f9642fb..042b4d2 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -205,20 +205,6 @@ sal_Bool SfxDispatcher::IsActive(const SfxShell& rShell)
     return CheckVirtualStack(rShell, sal_True);
 }
 
-/*  This method checks whether a particular <SfxShell> instance is on
-    top of the SfxDispatcher.
-
-    @returns sal_True   The SfxShell instance is on the top of
-                        the SfxDispatcher.
-             sal_False  The SfxShell instance is not on the top of
-                        the SfxDispatcher.
-*/
-sal_Bool SfxDispatcher::IsOnTop(const SfxShell& rShell)
-{
-    return CheckVirtualStack(rShell, sal_False);
-}
-
-
 sal_Bool SfxDispatcher::IsLocked( sal_uInt16 ) const
 
 /*  [Description]
diff --git a/unusedcode.easy b/unusedcode.easy
index b4483df..e08c2ce 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -41,7 +41,6 @@ SfxAcceleratorConfigPage::Create(Window*, SfxItemSet const&)
 SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
 SfxBindings::GetSlot(unsigned short)
 SfxBindings::GetSystemWindow() const
-SfxDispatcher::IsOnTop(SfxShell const&)
 SfxInt64Item::SetValue(long)
 SimpleErrorHandler::SimpleErrorHandler()
 StyleSettings::SetActiveColor2(Color const&)
commit bdc9ea5f65027e051269a84eb09189347a8787d6
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:50:50 2014 +0200

    remove unused code SfxGrabBagItem::SetGrabBag
    
    Change-Id: If41ef729da5799ebaa4ea238c6d2c4f1087ac487

diff --git a/include/svl/grabbagitem.hxx b/include/svl/grabbagitem.hxx
index 0f3f763..fa02321 100644
--- a/include/svl/grabbagitem.hxx
+++ b/include/svl/grabbagitem.hxx
@@ -30,7 +30,6 @@ public:
     SfxGrabBagItem(const SfxGrabBagItem& rItem);
     ~SfxGrabBagItem();
 
-    void SetGrabBag(const std::map<OUString, com::sun::star::uno::Any>& rMap);
     const std::map<OUString, com::sun::star::uno::Any>& GetGrabBag() const;
 
     virtual bool operator==(const SfxPoolItem&) const;
diff --git a/svl/source/items/grabbagitem.cxx b/svl/source/items/grabbagitem.cxx
index d9415ab..cf4c13a 100644
--- a/svl/source/items/grabbagitem.cxx
+++ b/svl/source/items/grabbagitem.cxx
@@ -42,11 +42,6 @@ SfxGrabBagItem::~SfxGrabBagItem()
 {
 }
 
-void SfxGrabBagItem::SetGrabBag(const std::map<OUString, uno::Any>& rMap)
-{
-    m_aMap = rMap;
-}
-
 const std::map<OUString, uno::Any>& SfxGrabBagItem::GetGrabBag() const
 {
     return m_aMap;
diff --git a/unusedcode.easy b/unusedcode.easy
index b538e242..b4483df 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -42,7 +42,6 @@ SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
 SfxBindings::GetSlot(unsigned short)
 SfxBindings::GetSystemWindow() const
 SfxDispatcher::IsOnTop(SfxShell const&)
-SfxGrabBagItem::SetGrabBag(std::map<rtl::OUString, com::sun::star::uno::Any, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Any> > > const&)
 SfxInt64Item::SetValue(long)
 SimpleErrorHandler::SimpleErrorHandler()
 StyleSettings::SetActiveColor2(Color const&)
commit e327fd0c5dcb927990bdf1a34d6f99f11edb22a9
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:49:52 2014 +0200

    debug only code SfxItemPool::GetMasterPool() const
    
    Change-Id: Ia3c53e64f6e39618b4cc85fae5f213e67041a725

diff --git a/include/svl/itempool.hxx b/include/svl/itempool.hxx
index 4b8e421..9a44d5a 100644
--- a/include/svl/itempool.hxx
+++ b/include/svl/itempool.hxx
@@ -194,7 +194,9 @@ public:
     void                            SetStoringRange( sal_uInt16 nFrom, sal_uInt16 nTo );
     void                            SetSecondaryPool( SfxItemPool *pPool );
     SfxItemPool*                    GetSecondaryPool() const;
+#ifdef DBG_UTIL
     SfxItemPool*                    GetMasterPool() const;
+#endif
     void                            FreezeIdRanges();
 
     void                            Delete();
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index c293c38..861a3fa 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -918,10 +918,12 @@ SfxItemPool* SfxItemPool::GetSecondaryPool() const
     return pImp->mpSecondary;
 }
 
+#ifdef DBG_UTIL
 SfxItemPool* SfxItemPool::GetMasterPool() const
 {
     return pImp->mpMaster;
 }
+#endif
 
 void SfxItemPool::FreezeIdRanges()
 
diff --git a/unusedcode.easy b/unusedcode.easy
index 344be2e..b538e242 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -44,7 +44,6 @@ SfxBindings::GetSystemWindow() const
 SfxDispatcher::IsOnTop(SfxShell const&)
 SfxGrabBagItem::SetGrabBag(std::map<rtl::OUString, com::sun::star::uno::Any, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, com::sun::star::uno::Any> > > const&)
 SfxInt64Item::SetValue(long)
-SfxItemPool::GetMasterPool() const
 SimpleErrorHandler::SimpleErrorHandler()
 StyleSettings::SetActiveColor2(Color const&)
 StyleSettings::SetCursorSize(long)
commit 639110d0ccb5af48104cd4a6e64c26bf682ed3f3
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:47:04 2014 +0200

    remove unused code SmFontPickList::Contains(Font const&) const
    
    Change-Id: I07e6642bdf0db3b0f297e8ec01b614f880231aa7

diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx
index 9ede3a5..f1ecd57 100644
--- a/starmath/inc/utility.hxx
+++ b/starmath/inc/utility.hxx
@@ -137,7 +137,6 @@ public:
     virtual void    Remove(const Font &rFont);
 
     void     Clear();
-    bool     Contains(const Font &rFont) const;
     Font     Get(sal_uInt16 nPos = 0) const;
 
     SmFontPickList&  operator = (const SmFontPickList& rList);
diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx
index d1525fa..d831569 100644
--- a/starmath/source/utility.cxx
+++ b/starmath/source/utility.cxx
@@ -75,14 +75,6 @@ Font SmFontPickList::Get(sal_uInt16 nPos) const
     return nPos < aFontVec.size() ? aFontVec[nPos] : Font();
 }
 
-bool SmFontPickList::Contains(const Font &rFont) const
-{
-    return std::find( aFontVec.begin(), aFontVec.end(), rFont ) != aFontVec.end();
-}
-
-
-
-
 bool SmFontPickList::CompareItem(const Font & rFirstFont, const Font & rSecondFont) const
 {
   return rFirstFont.GetName() == rSecondFont.GetName() &&
diff --git a/unusedcode.easy b/unusedcode.easy
index 907362d..344be2e 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -46,7 +46,6 @@ SfxGrabBagItem::SetGrabBag(std::map<rtl::OUString, com::sun::star::uno::Any, std
 SfxInt64Item::SetValue(long)
 SfxItemPool::GetMasterPool() const
 SimpleErrorHandler::SimpleErrorHandler()
-SmFontPickList::Contains(Font const&) const
 StyleSettings::SetActiveColor2(Color const&)
 StyleSettings::SetCursorSize(long)
 StyleSettings::SetDeactiveColor2(Color const&)
commit ca0e8696ea0cd038d55d8101ff6f7303bb67a07e
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:45:34 2014 +0200

    remove unused code SmParser::Insert(rtl::OUString const&, int)
    
    Change-Id: Id14c393700135b511e520f75d19561667a7f5a51

diff --git a/starmath/inc/parse.hxx b/starmath/inc/parse.hxx
index f348c8e..41071f2 100644
--- a/starmath/inc/parse.hxx
+++ b/starmath/inc/parse.hxx
@@ -199,7 +199,6 @@ protected:
 #endif
     void            NextToken();
     sal_Int32       GetTokenIndex() const   { return m_nTokenIndex; }
-    void            Insert(const OUString &rText, sal_Int32 nPos);
     void            Replace( sal_Int32 nPos, sal_Int32 nLen, const OUString &rText );
 
     inline bool     TokenInGroup( sal_uLong nGroup );
diff --git a/starmath/source/parse.cxx b/starmath/source/parse.cxx
index e1b9f67..d4c94f4 100644
--- a/starmath/source/parse.cxx
+++ b/starmath/source/parse.cxx
@@ -353,16 +353,6 @@ bool SmParser::IsDelimiter( const OUString &rTxt, sal_Int32 nPos )
 
 #endif
 
-void SmParser::Insert(const OUString &rText, sal_Int32 nPos)
-{
-    m_aBufferString = m_aBufferString.replaceAt(nPos, 0, rText);
-
-    sal_Int32 nLen = rText.getLength();
-    m_nBufferIndex = m_nBufferIndex + nLen;
-    m_nTokenIndex  = m_nTokenIndex + nLen;
-}
-
-
 void SmParser::Replace( sal_Int32 nPos, sal_Int32 nLen, const OUString &rText )
 {
     OSL_ENSURE( nPos + nLen <= m_aBufferString.getLength(), "argument mismatch" );
diff --git a/unusedcode.easy b/unusedcode.easy
index 5262ce086..907362d 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -47,7 +47,6 @@ SfxInt64Item::SetValue(long)
 SfxItemPool::GetMasterPool() const
 SimpleErrorHandler::SimpleErrorHandler()
 SmFontPickList::Contains(Font const&) const
-SmParser::Insert(rtl::OUString const&, int)
 StyleSettings::SetActiveColor2(Color const&)
 StyleSettings::SetCursorSize(long)
 StyleSettings::SetDeactiveColor2(Color const&)
commit 0654c95af100989c64b530daf852e089f7c2bda3
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:43:44 2014 +0200

    debug only code SotFactory::Find(SvGlobalName const&)
    
    Change-Id: Ia7e94a0580a26dad874b2f53b4bc17d5c4b6d115

diff --git a/include/sot/factory.hxx b/include/sot/factory.hxx
index b49c56e..60094b4 100644
--- a/include/sot/factory.hxx
+++ b/include/sot/factory.hxx
@@ -50,7 +50,9 @@ public:
     static  void        IncSvObjectCount( SotObject * = NULL );
     static  void        DecSvObjectCount( SotObject * = NULL );
 
+#ifdef DBG_UTIL
     static  const SotFactory *      Find( const SvGlobalName & );
+#endif
 
             SotFactory( const SvGlobalName &,
                         const OUString & rClassName, CreateInstanceType );
diff --git a/sot/source/base/factory.cxx b/sot/source/base/factory.cxx
index 1b28f70..ec2aa26 100644
--- a/sot/source/base/factory.cxx
+++ b/sot/source/base/factory.cxx
@@ -113,6 +113,7 @@ SotFactory::~SotFactory()
 |*
 |*    Beschreibung
 *************************************************************************/
+#ifdef DBG_UTIL
 const SotFactory* SotFactory::Find( const SvGlobalName & rFactName )
 {
     SvGlobalName aEmpty;
@@ -128,6 +129,7 @@ const SotFactory* SotFactory::Find( const SvGlobalName & rFactName )
 
     return 0;
 }
+#endif
 
 /*************************************************************************
 |*    SotFactory::PutSuperClass()
diff --git a/unusedcode.easy b/unusedcode.easy
index 1ff022c..5262ce086 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -48,7 +48,6 @@ SfxItemPool::GetMasterPool() const
 SimpleErrorHandler::SimpleErrorHandler()
 SmFontPickList::Contains(Font const&) const
 SmParser::Insert(rtl::OUString const&, int)
-SotFactory::Find(SvGlobalName const&)
 StyleSettings::SetActiveColor2(Color const&)
 StyleSettings::SetCursorSize(long)
 StyleSettings::SetDeactiveColor2(Color const&)
commit 31c4dfb2b5fbbed58a37c4c924041629c68ebb95
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:40:46 2014 +0200

    remove unused code SvdProgressInfo::ReportError()
    
    Change-Id: I4f58a14d388cb138eb2c23c296148237f33e9fef

diff --git a/include/svx/svdetc.hxx b/include/svx/svdetc.hxx
index a2da4f3..54e4346 100644
--- a/include/svx/svdetc.hxx
+++ b/include/svx/svdetc.hxx
@@ -167,7 +167,6 @@ public:
     sal_uIntPtr GetInsertCount() const { return nInsertCount; };
     sal_uIntPtr GetCurInsert() const { return nCurInsert; };
 
-    void ReportError();
     sal_Bool ReportRescales( sal_uIntPtr nAnzRescales );
 };
 
diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx
index cacf6d8..6826c06 100644
--- a/svx/source/svdraw/svdetc.cxx
+++ b/svx/source/svdraw/svdetc.cxx
@@ -618,12 +618,6 @@ sal_Bool SvdProgressInfo::SetNextObject()
     return ReportActions(0);
 }
 
-void SvdProgressInfo::ReportError()
-{
-    pLink->Call((void *)1L);
-}
-
-
 // #i101872# isolate GetTextEditBackgroundColor to tooling; it will anyways only be used as long
 // as text edit is not running on overlay
 
diff --git a/unusedcode.easy b/unusedcode.easy
index 7475642..1ff022c 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -58,7 +58,6 @@ StyleSettings::SetSpinSize(long)
 StyleSettings::SetTitleHeight(long)
 StyleSettings::SetUseFlatBorders(bool)
 StyleSettings::SetUseFlatMenus(bool)
-SvdProgressInfo::ReportError()
 SvpSalInstance::PostedEventsInQueue()
 SvtListener::IsListening(SvtBroadcaster&) const
 SvxNumberFormatShell::IsAdded_Impl(unsigned long)
commit f68e276c798bc1b00b38108fc4d0f2d99bff485b
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:37:00 2014 +0200

    remove unused code in svtools/SvtAccessibilityOptions
    
    SvtAccessibilityOptions::GetColorValueSetColumnCount() const
    SvtAccessibilityOptions::GetEdgeBlending() const
    SvtAccessibilityOptions::GetListBoxMaximumLineCount() const
    SvtAccessibilityOptions::GetPreviewUsesCheckeredBackground() const
    SvtAccessibilityOptions::SetColorValueSetColumnCount(short)
    SvtAccessibilityOptions::SetEdgeBlending(short)
    SvtAccessibilityOptions::SetListBoxMaximumLineCount(short)
    SvtAccessibilityOptions::SetPreviewUsesCheckeredBackground(unsigned char)
    
    Change-Id: I1efe1da923a7c26030655ca8baa299325f416478

diff --git a/include/svtools/accessibilityoptions.hxx b/include/svtools/accessibilityoptions.hxx
index 09dd382..12110a6 100644
--- a/include/svtools/accessibilityoptions.hxx
+++ b/include/svtools/accessibilityoptions.hxx
@@ -49,23 +49,6 @@ public:
     sal_Bool    IsSelectionInReadonly() const;
     sal_Bool    GetAutoDetectSystemHC() const;
 
-    // option to activate EdgeBlending for previews in the UI (ColorValueSet, ColorDropDown,
-    // FillStyle/LineStyle previews, etc...). 0 == off, 100% == full paint, in-between == alpha
-    sal_Int16   GetEdgeBlending() const;
-
-    // option to set a maximum line count for ListBoxes; when less or equal than this count
-    // is in a ListBox, all will be shown, else a ScrollBar will be used
-    sal_Int16   GetListBoxMaximumLineCount() const;
-
-    // option to set the width of ColorValueSets in columns; this allows
-    // adaption to own colr set layouts. The default layout is 12 columns and should
-    // only be changed when the color palette is changed from the default
-    sal_Int16   GetColorValueSetColumnCount() const;
-
-    // option to make previews show the content with a checkeded background to allow
-    // simple identification and better preview of transparent content
-    sal_Bool    GetPreviewUsesCheckeredBackground() const;
-
     void        SetIsForPagePreviews(sal_Bool bSet);
     void        SetIsHelpTipsDisappear(sal_Bool bSet);
     void        SetIsAllowAnimatedGraphics(sal_Bool bSet);
@@ -76,11 +59,6 @@ public:
     void        SetSelectionInReadonly(sal_Bool bSet);
     void        SetAutoDetectSystemHC(sal_Bool bSet);
 
-    void        SetEdgeBlending(sal_Int16 nSet);
-    void        SetListBoxMaximumLineCount(sal_Int16 nSet);
-    void        SetColorValueSetColumnCount(sal_Int16 nSet);
-    void        SetPreviewUsesCheckeredBackground(sal_Bool bSet);
-
     sal_Bool                IsModified() const;
     void                    Commit();
 
diff --git a/svtools/source/config/accessibilityoptions.cxx b/svtools/source/config/accessibilityoptions.cxx
index e7389e4..6831623 100644
--- a/svtools/source/config/accessibilityoptions.cxx
+++ b/svtools/source/config/accessibilityoptions.cxx
@@ -793,22 +793,6 @@ sal_Bool SvtAccessibilityOptions::IsSelectionInReadonly() const
 {
     return sm_pSingleImplConfig->IsSelectionInReadonly();
 }
-sal_Int16 SvtAccessibilityOptions::GetEdgeBlending() const
-{
-    return sm_pSingleImplConfig->GetEdgeBlending();
-}
-sal_Int16 SvtAccessibilityOptions::GetListBoxMaximumLineCount() const
-{
-    return sm_pSingleImplConfig->GetListBoxMaximumLineCount();
-}
-sal_Int16 SvtAccessibilityOptions::GetColorValueSetColumnCount() const
-{
-    return sm_pSingleImplConfig->GetColorValueSetColumnCount();
-}
-sal_Bool SvtAccessibilityOptions::GetPreviewUsesCheckeredBackground() const
-{
-    return sm_pSingleImplConfig->GetPreviewUsesCheckeredBackground();
-}
 
 
 void SvtAccessibilityOptions::SetAutoDetectSystemHC(sal_Bool bSet)
@@ -851,22 +835,6 @@ void SvtAccessibilityOptions::SetVCLSettings()
 {
     sm_pSingleImplConfig->SetVCLSettings();
 }
-void SvtAccessibilityOptions::SetEdgeBlending(sal_Int16 nSet)
-{
-    sm_pSingleImplConfig->SetEdgeBlending(nSet);
-}
-void SvtAccessibilityOptions::SetListBoxMaximumLineCount(sal_Int16 nSet)
-{
-    sm_pSingleImplConfig->SetListBoxMaximumLineCount(nSet);
-}
-void SvtAccessibilityOptions::SetColorValueSetColumnCount(sal_Int16 nSet)
-{
-    sm_pSingleImplConfig->SetColorValueSetColumnCount(nSet);
-}
-void SvtAccessibilityOptions::SetPreviewUsesCheckeredBackground(sal_Bool bSet)
-{
-    sm_pSingleImplConfig->SetPreviewUsesCheckeredBackground(bSet);
-}
 
 
 
diff --git a/unusedcode.easy b/unusedcode.easy
index 82a0b6a..7475642 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -60,14 +60,6 @@ StyleSettings::SetUseFlatBorders(bool)
 StyleSettings::SetUseFlatMenus(bool)
 SvdProgressInfo::ReportError()
 SvpSalInstance::PostedEventsInQueue()
-SvtAccessibilityOptions::GetColorValueSetColumnCount() const
-SvtAccessibilityOptions::GetEdgeBlending() const
-SvtAccessibilityOptions::GetListBoxMaximumLineCount() const
-SvtAccessibilityOptions::GetPreviewUsesCheckeredBackground() const
-SvtAccessibilityOptions::SetColorValueSetColumnCount(short)
-SvtAccessibilityOptions::SetEdgeBlending(short)
-SvtAccessibilityOptions::SetListBoxMaximumLineCount(short)
-SvtAccessibilityOptions::SetPreviewUsesCheckeredBackground(unsigned char)
 SvtListener::IsListening(SvtBroadcaster&) const
 SvxNumberFormatShell::IsAdded_Impl(unsigned long)
 SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
commit 8f4aaed8552e27161b007308741e7ed2276a0c6b
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:33:21 2014 +0200

    debug only code SvtIconChoiceCtrl::SetEntryTextMode
    
    Change-Id: I840294fd8ae03ecfef614fea7c6f3a552596446e

diff --git a/include/svtools/ivctrl.hxx b/include/svtools/ivctrl.hxx
index a51693e..37df1b0 100644
--- a/include/svtools/ivctrl.hxx
+++ b/include/svtools/ivctrl.hxx
@@ -322,7 +322,9 @@ public:
     // in dem sal_uLong wird die Position in der Liste des gefunden Eintrags zurueckgegeben
     SvxIconChoiceCtrlEntry* GetSelectedEntry( sal_uLong& rPos ) const;
 
+#ifdef DBG_UTIL
     void                        SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry = 0 );
+#endif
 
     virtual sal_Bool        HasBackground() const;
     virtual sal_Bool        HasFont() const;
diff --git a/svtools/source/contnr/ivctrl.cxx b/svtools/source/contnr/ivctrl.cxx
index 4cf3272..e7992a5 100644
--- a/svtools/source/contnr/ivctrl.cxx
+++ b/svtools/source/contnr/ivctrl.cxx
@@ -278,10 +278,12 @@ void SvtIconChoiceCtrl::Command( const CommandEvent& rCEvt )
     _pImp->Command( rCEvt );
 }
 
+#ifdef DBG_UTIL
 void SvtIconChoiceCtrl::SetEntryTextMode( SvxIconChoiceCtrlTextMode eMode, SvxIconChoiceCtrlEntry* pEntry )
 {
     _pImp->SetEntryTextMode( eMode, pEntry );
 }
+#endif
 
 sal_uLong SvtIconChoiceCtrl::GetEntryCount() const
 {
diff --git a/unusedcode.easy b/unusedcode.easy
index 88ace10..82a0b6a 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -68,7 +68,6 @@ SvtAccessibilityOptions::SetColorValueSetColumnCount(short)
 SvtAccessibilityOptions::SetEdgeBlending(short)
 SvtAccessibilityOptions::SetListBoxMaximumLineCount(short)
 SvtAccessibilityOptions::SetPreviewUsesCheckeredBackground(unsigned char)
-SvtIconChoiceCtrl::SetEntryTextMode(SvxIconChoiceCtrlTextMode, SvxIconChoiceCtrlEntry*)
 SvtListener::IsListening(SvtBroadcaster&) const
 SvxNumberFormatShell::IsAdded_Impl(unsigned long)
 SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
commit 6c8f8b0283345ab74b28e99bad3ea0028406e88f
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:27:57 2014 +0200

    remove unused code SvxDistributePage::GetRanges()
    
    Change-Id: I5f53ad2cac374463991ad0e576297a07ca30ea5f

diff --git a/cui/source/inc/dstribut.hxx b/cui/source/inc/dstribut.hxx
index 1222841..d8288eb 100644
--- a/cui/source/inc/dstribut.hxx
+++ b/cui/source/inc/dstribut.hxx
@@ -47,7 +47,6 @@ public:
 
     static SfxTabPage* Create(Window*, const SfxItemSet&,
         SvxDistributeHorizontal eHor, SvxDistributeVertical eVer);
-    static sal_uInt16* GetRanges();
     virtual sal_Bool FillItemSet(SfxItemSet&);
     virtual void Reset(const SfxItemSet&);
     virtual void PointChanged(Window* pWindow, RECT_POINT eRP);
diff --git a/cui/source/tabpages/dstribut.cxx b/cui/source/tabpages/dstribut.cxx
index 44b3921..11a546e 100644
--- a/cui/source/tabpages/dstribut.cxx
+++ b/cui/source/tabpages/dstribut.cxx
@@ -25,13 +25,6 @@
 #include <dialmgr.hxx>
 #include <tools/shl.hxx>
 
-static sal_uInt16 pRanges[] =
-{
-    SDRATTR_MEASURE_FIRST,
-    SDRATTR_MEASURE_LAST,
-    0
-};
-
 /*************************************************************************
 |*
 |* Dialog
@@ -88,11 +81,6 @@ SfxTabPage* SvxDistributePage::Create(Window* pWindow, const SfxItemSet& rAttrs,
     return new SvxDistributePage(pWindow, rAttrs, eHor, eVer);
 }
 
-sal_uInt16* SvxDistributePage::GetRanges()
-{
-    return pRanges;
-}
-
 void SvxDistributePage::PointChanged(Window* /*pWindow*/, RECT_POINT /*eRP*/)
 {
 }
diff --git a/unusedcode.easy b/unusedcode.easy
index bd30d0e..88ace10 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -70,7 +70,6 @@ SvtAccessibilityOptions::SetListBoxMaximumLineCount(short)
 SvtAccessibilityOptions::SetPreviewUsesCheckeredBackground(unsigned char)
 SvtIconChoiceCtrl::SetEntryTextMode(SvxIconChoiceCtrlTextMode, SvxIconChoiceCtrlEntry*)
 SvtListener::IsListening(SvtBroadcaster&) const
-SvxDistributePage::GetRanges()
 SvxNumberFormatShell::IsAdded_Impl(unsigned long)
 SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
 TextDoc::IsValidPaM(TextPaM const&)
commit fd6a568ada08d0be7ce3881beb9bd664f6843cd7
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:25:28 2014 +0200

    remove unused code SvxNumRule::Create(SvStream&)
    
    Change-Id: I82205010e613a07df24f22071eec74f53578671d

diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index b2580e6..2a1a348 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -699,11 +699,6 @@ SvxNumRule::SvxNumRule( SvStream &rStream )
     rStream.ReadUInt16( nTmp16 ); nFeatureFlags = nTmp16;
 }
 
-SvxNumRule* SvxNumRule::Create( SvStream & rStream )
-{
-    return new SvxNumRule( rStream );
-}
-
 SvStream& SvxNumRule::Store( SvStream &rStream )
 {
     rStream.WriteUInt16( (sal_uInt16)NUMITEM_VERSION_03 );
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx
index 68dfbd3..a4709c3 100644
--- a/include/editeng/numitem.hxx
+++ b/include/editeng/numitem.hxx
@@ -262,7 +262,6 @@ public:
     SvxNumRule&             operator=( const SvxNumRule&  );
 
     SvStream&               Store(SvStream &rStream);
-    SvxNumRule*             Create(SvStream &rStream);
     const SvxNumberFormat*  Get(sal_uInt16 nLevel)const;
     const SvxNumberFormat&  GetLevel(sal_uInt16 nLevel)const;
     void                    SetLevel(sal_uInt16 nLevel, const SvxNumberFormat& rFmt, bool bIsValid = true);
diff --git a/unusedcode.easy b/unusedcode.easy
index 8ae7f83..bd30d0e 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -71,7 +71,6 @@ SvtAccessibilityOptions::SetPreviewUsesCheckeredBackground(unsigned char)
 SvtIconChoiceCtrl::SetEntryTextMode(SvxIconChoiceCtrlTextMode, SvxIconChoiceCtrlEntry*)
 SvtListener::IsListening(SvtBroadcaster&) const
 SvxDistributePage::GetRanges()
-SvxNumRule::Create(SvStream&)
 SvxNumberFormatShell::IsAdded_Impl(unsigned long)
 SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
 TextDoc::IsValidPaM(TextPaM const&)
commit e964e2c56b62eeef77b4287544dccab1c964070e
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:24:07 2014 +0200

    remove unused code SvxNumberFormat::Create(SvStream&)
    
    Change-Id: If8cfea11552bf008ab4381ecec50aadf58a98a45

diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index e0255f9..b2580e6 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -306,11 +306,6 @@ SvStream&   SvxNumberFormat::Store(SvStream &rStream, FontToSubsFontConverter pC
     return rStream;
 }
 
-SvxNumberFormat* SvxNumberFormat::Create( SvStream &rStream )
-{
-    return new SvxNumberFormat( rStream );
-}
-
 SvxNumberFormat& SvxNumberFormat::operator=( const SvxNumberFormat& rFormat )
 {
     if (& rFormat == this) { return *this; }
diff --git a/include/editeng/numitem.hxx b/include/editeng/numitem.hxx
index 3511d3d..68dfbd3 100644
--- a/include/editeng/numitem.hxx
+++ b/include/editeng/numitem.hxx
@@ -162,7 +162,6 @@ public:
     virtual ~SvxNumberFormat();
 
     SvStream&       Store(SvStream &rStream, FontToSubsFontConverter pConverter);
-    SvxNumberFormat* Create(SvStream& rStream );
 
     SvxNumberFormat& operator=( const SvxNumberFormat&  );
     bool            operator==( const SvxNumberFormat&  ) const;
diff --git a/unusedcode.easy b/unusedcode.easy
index c9d8dcb..8ae7f83 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -72,7 +72,6 @@ SvtIconChoiceCtrl::SetEntryTextMode(SvxIconChoiceCtrlTextMode, SvxIconChoiceCtrl
 SvtListener::IsListening(SvtBroadcaster&) const
 SvxDistributePage::GetRanges()
 SvxNumRule::Create(SvStream&)
-SvxNumberFormat::Create(SvStream&)
 SvxNumberFormatShell::IsAdded_Impl(unsigned long)
 SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
 TextDoc::IsValidPaM(TextPaM const&)
commit 36654b1823b2f349602b308ef368cfd4e5f6f4f6
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:22:05 2014 +0200

    remove unused code SvxRectCtlAccessibleContext::FireAccessibleEvent
    
    Change-Id: I866614ceac9c6a4ea3e2ba6e682e357a1f96a370

diff --git a/svx/source/accessibility/svxrectctaccessiblecontext.cxx b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
index 225dc1c..f783ac6 100644
--- a/svx/source/accessibility/svxrectctaccessiblecontext.cxx
+++ b/svx/source/accessibility/svxrectctaccessiblecontext.cxx
@@ -386,13 +386,6 @@ Reference< XAccessibleRelationSet > SAL_CALL SvxRectCtlAccessibleContext::getAcc
     return xSet;
 }
 
-//Add the event handling method
-void SvxRectCtlAccessibleContext::FireAccessibleEvent (short nEventId, const ::com::sun::star::uno::Any& rOld, const ::com::sun::star::uno::Any& rNew)
-{
-    const Reference< XInterface >   xSource( *this );
-    CommitChange( AccessibleEventObject( xSource, nEventId, rNew,rOld ) );
-}
-
 Reference< XAccessibleStateSet > SAL_CALL SvxRectCtlAccessibleContext::getAccessibleStateSet( void ) throw( RuntimeException, std::exception )
 {
     ::osl::MutexGuard                       aGuard( m_aMutex );
diff --git a/svx/source/inc/svxrectctaccessiblecontext.hxx b/svx/source/inc/svxrectctaccessiblecontext.hxx
index 340c3bf..7834b8d 100644
--- a/svx/source/inc/svxrectctaccessiblecontext.hxx
+++ b/svx/source/inc/svxrectctaccessiblecontext.hxx
@@ -254,8 +254,6 @@ public:
     */
     void selectChild( RECT_POINT ePoint, sal_Bool bFireFocus = sal_True );
     void FireChildFocus( RECT_POINT eButton );
-    //Add the event handling method
-    void FireAccessibleEvent (short nEventId, const ::com::sun::star::uno::Any& rOld, const ::com::sun::star::uno::Any& rNew);
 
 private:
     static ::com::sun::star::uno::Sequence< sal_Int8 > getUniqueId( void );
diff --git a/unusedcode.easy b/unusedcode.easy
index 6383a04..c9d8dcb 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -74,7 +74,6 @@ SvxDistributePage::GetRanges()
 SvxNumRule::Create(SvStream&)
 SvxNumberFormat::Create(SvStream&)
 SvxNumberFormatShell::IsAdded_Impl(unsigned long)
-SvxRectCtlAccessibleContext::FireAccessibleEvent(short, com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)
 SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
 TextDoc::IsValidPaM(TextPaM const&)
 UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>)
commit 0e887093a55431dad251d224a00228035e8442dd
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 09:16:44 2014 +0200

    remove unused code in SW module
    
    SwAccessibleParagraph::GetTOCLevel()
    SwAccessiblePortionData::GetAttrFldType(int)
    SwAccessibleTable::SetTableData(SwAccessibleTableData_Impl*)
    SwCntntFrm::DelFrms(SwCntntNode const&)
    SwExtraRedlineTbl::Contains(SwExtraRedline const*) const
    SwExtraRedlineTbl::Remove(SwExtraRedline const*)
    SwPostItField::GetByName(SwDoc*, rtl::OUString const&)
    SwViewImp::FireColumnChangeEvent(unsigned short, unsigned short)
    SwViewImp::FirePageChangeEvent(unsigned short, unsigned short)
    SwViewImp::FireSectionChangeEvent(unsigned short, unsigned short)
    
    Change-Id: Id385122a54970ed944e6dfc4c2b264da4f936255

diff --git a/sw/inc/docary.hxx b/sw/inc/docary.hxx
index 33fa525..4c51c57 100644
--- a/sw/inc/docary.hxx
+++ b/sw/inc/docary.hxx
@@ -190,13 +190,11 @@ private:
     std::vector<SwExtraRedline*>    m_aExtraRedlines;
 
 public:
-    bool Contains(const SwExtraRedline* p) const;
     sal_uInt16 GetPos(const SwExtraRedline* p) const;
 
     bool Insert( SwExtraRedline* p );
 
     void Remove( sal_uInt16 nPos );
-    bool Remove( const SwExtraRedline* p );
     void DeleteAndDestroy( sal_uInt16 nPos, sal_uInt16 nLen = 1 );
     void DeleteAndDestroyAll();
 
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx
index 017d4bc..c1c1c7c 100644
--- a/sw/inc/docufld.hxx
+++ b/sw/inc/docufld.hxx
@@ -532,9 +532,6 @@ public:
                    const DateTime& rDate);
     ~SwPostItField();
 
-    /// Looks up a field identified by its unique name (used to get the postit field of a comment fieldmark)
-    static const SwFmtFld* GetByName(SwDoc* pDoc, const OUString& rName);
-
     virtual OUString        Expand() const;
     virtual SwField*        Copy() const;
 
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx
index 54e9c9f..04c3b3f 100644
--- a/sw/source/core/access/accpara.cxx
+++ b/sw/source/core/access/accpara.cxx
@@ -708,21 +708,6 @@ SwTOXSortTabBase* SwAccessibleParagraph::GetTOXSortTabBase()
     return NULL;
 }
 
-short SwAccessibleParagraph::GetTOCLevel()
-{
-    SwTOXSortTabBase* pToxBase = GetTOXSortTabBase();
-    if( pToxBase )
-    {
-        const SwCntntNode*  pNd = pToxBase->aTOXSources[0].pNd;
-        if( pNd )
-            return pToxBase->GetLevel();
-        else
-            return -1;
-    }
-    else
-        return -1;
-}
-
 //the function is to check whether the position is in a redline range.
 const SwRangeRedline* SwAccessibleParagraph::GetRedlineAtIndex( sal_Int32 )
 {
diff --git a/sw/source/core/access/accpara.hxx b/sw/source/core/access/accpara.hxx
index abc9ca2..0c7b3dc 100644
--- a/sw/source/core/access/accpara.hxx
+++ b/sw/source/core/access/accpara.hxx
@@ -162,7 +162,6 @@ class SwAccessibleParagraph :
 
 public:
     SwTOXSortTabBase* GetTOXSortTabBase();
-    short GetTOCLevel();
 
     sal_Bool IsHeading() const;
 
diff --git a/sw/source/core/access/accportions.cxx b/sw/source/core/access/accportions.cxx
index 996bc1b..8d75759 100644
--- a/sw/source/core/access/accportions.cxx
+++ b/sw/source/core/access/accportions.cxx
@@ -674,21 +674,6 @@ sal_uInt16 SwAccessiblePortionData::FillSpecialPos(
     return static_cast<sal_uInt16>( nModelPos );
 }
 
-sal_uInt16 SwAccessiblePortionData::GetAttrFldType( sal_Int32 nPos )
-{
-    if( aFieldPosition.size() < 2 ) return sal_False;
-    sal_Int32 nFieldIndex = 0;
-    for( size_t i = 0; i < aFieldPosition.size() - 1; i += 2 )
-    {
-        if( nPos < aFieldPosition[ i + 1 ]  &&  nPos >= aFieldPosition[ i ] )
-        {
-            return aAttrFieldType[nFieldIndex];
-        }
-        nFieldIndex++ ;
-    }
-    return 0;
-}
-
 sal_Bool SwAccessiblePortionData::FillBoundaryIFDateField( com::sun::star::i18n::Boundary& rBound, const sal_Int32 nPos )
 {
     if( aFieldPosition.size() < 2 ) return sal_False;
diff --git a/sw/source/core/access/accportions.hxx b/sw/source/core/access/accportions.hxx
index ad09e8f..c550ff1 100644
--- a/sw/source/core/access/accportions.hxx
+++ b/sw/source/core/access/accportions.hxx
@@ -162,7 +162,6 @@ public:
     void GetAttributeBoundary( com::sun::star::i18n::Boundary& rBound,
                                sal_Int32 nPos ) const;
 
-    sal_uInt16 GetAttrFldType( sal_Int32 nPos );
     /// Convert start and end positions into core positions.
     /// @returns true if 'special' portions are included either completely
     ///          or not at all. This can be used to test whether editing
diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx
index aada56c..cada4c7 100644
--- a/sw/source/core/access/acctable.cxx
+++ b/sw/source/core/access/acctable.cxx
@@ -1708,11 +1708,6 @@ void SAL_CALL SwAccessibleTable::deselectAccessibleChild(
     pCrsrShell->EndAction();
 }
 
-void  SwAccessibleTable::SetTableData(SwAccessibleTableData_Impl* mpNewTableData)
-{
-    mpTableData = mpNewTableData;
-}
-
 sal_Int32 SAL_CALL SwAccessibleTable::getBackground()
         throw (::com::sun::star::uno::RuntimeException, std::exception)
 {
diff --git a/sw/source/core/access/acctable.hxx b/sw/source/core/access/acctable.hxx
index 76b7023..7033633 100644
--- a/sw/source/core/access/acctable.hxx
+++ b/sw/source/core/access/acctable.hxx
@@ -83,7 +83,6 @@ protected:
     // Is table data evailable?
     sal_Bool HasTableData() const { return (mpTableData != 0); }
 
-    void SetTableData(SwAccessibleTableData_Impl* mpNewTableData)  ;
     virtual void Modify( const SfxPoolItem* pOld, const SfxPoolItem *pNew);
 
 public:
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index 8b93c4f..9af892d 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -3913,11 +3913,6 @@ bool SwDoc::IsInRedlines(const SwNode & rNode) const
     return aPam.ContainsPosition(aPos);
 }
 
-bool SwExtraRedlineTbl::Contains(const SwExtraRedline* p) const
-{
-    return GetPos(p) != USHRT_MAX;
-}
-
 sal_uInt16 SwExtraRedlineTbl::GetPos(const SwExtraRedline* p) const
 {
     std::vector<SwExtraRedline*>::const_iterator it = std::find(m_aExtraRedlines.begin(), m_aExtraRedlines.end(), p);
@@ -3951,14 +3946,6 @@ void SwExtraRedlineTbl::Remove( sal_uInt16 nPos )
     */
 }
 
-bool SwExtraRedlineTbl::Remove( const SwExtraRedline* p )
-{
-    sal_uInt16 nPos = GetPos(p);
-    if (nPos != USHRT_MAX)
-        Remove(nPos);
-    return nPos != USHRT_MAX;
-}
-
 void SwExtraRedlineTbl::DeleteAndDestroy( sal_uInt16 nPos, sal_uInt16 nLen )
 {
     /*
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx
index 8a3bb55..8188473 100644
--- a/sw/source/core/fields/docufld.cxx
+++ b/sw/source/core/fields/docufld.cxx
@@ -1693,28 +1693,6 @@ SwPostItField::~SwPostItField()
     delete mpText;
 }
 
-const SwFmtFld* SwPostItField::GetByName(SwDoc* pDoc, const OUString& rName)
-{
-    const SwFldTypes* pFldTypes = pDoc->GetFldTypes();
-    sal_uInt16 nCount = pFldTypes->size();
-    for (sal_uInt16 nType = 0; nType < nCount; ++nType)
-    {
-        const SwFieldType *pCurType = (*pFldTypes)[nType];
-        SwIterator<SwFmtFld, SwFieldType> aIter(*pCurType);
-        for (const SwFmtFld* pCurFldFmt = aIter.First(); pCurFldFmt; pCurFldFmt = aIter.Next())
-        {
-            // Ignore the field if it's not an annotation or it doesn't have an anchor.
-            if (pCurFldFmt->GetField()->GetTyp()->Which() != RES_POSTITFLD || !pCurFldFmt->GetTxtFld())
-                continue;
-
-            const SwPostItField* pField = dynamic_cast<const SwPostItField*>(pCurFldFmt->GetField());
-            if (pField->GetName() == rName)
-                return pCurFldFmt;
-        }
-    }
-    return 0;
-}
-
 OUString SwPostItField::Expand() const
 {
     return OUString();
diff --git a/sw/source/core/inc/cntfrm.hxx b/sw/source/core/inc/cntfrm.hxx
index b1b4ca9..e9ddcd6 100644
--- a/sw/source/core/inc/cntfrm.hxx
+++ b/sw/source/core/inc/cntfrm.hxx
@@ -105,7 +105,6 @@ public:
     inline  SwCntntFrm* GetPrevCntntFrm() const;
     static bool CalcLowers( SwLayoutFrm* pLay, const SwLayoutFrm* pDontLeave, long nBottom, bool bSkipRowSpanCells );
     void RegisterToNode( SwCntntNode& );
-    static void DelFrms( const SwCntntNode& );
 };
 
 inline SwCntntFrm* SwCntntFrm::GetNextCntntFrm() const
diff --git a/sw/source/core/inc/viewimp.hxx b/sw/source/core/inc/viewimp.hxx
index 564248d..f6f8684 100644
--- a/sw/source/core/inc/viewimp.hxx
+++ b/sw/source/core/inc/viewimp.hxx
@@ -239,10 +239,6 @@ public:
 
     inline void AddAccessibleObj( const SdrObject *pObj );
 
-    void FirePageChangeEvent(sal_uInt16 nOldPage, sal_uInt16 nNewPage);
-    void FireSectionChangeEvent(sal_uInt16 nOldSection, sal_uInt16 nNewSection);
-    void FireColumnChangeEvent(sal_uInt16 nOldColumn, sal_uInt16 nNewColumn);
-
     // Invalidate accessible frame's frame's content
     void InvalidateAccessibleFrmContent( const SwFrm *pFrm );
 
diff --git a/sw/source/core/layout/ssfrm.cxx b/sw/source/core/layout/ssfrm.cxx
index ee41215..87c037e 100644
--- a/sw/source/core/layout/ssfrm.cxx
+++ b/sw/source/core/layout/ssfrm.cxx
@@ -465,58 +465,6 @@ void SwCntntFrm::RegisterToNode( SwCntntNode& rNode )
     rNode.Add( this );
 }
 
-void SwCntntFrm::DelFrms( const SwCntntNode& rNode )
-{
-    SwIterator<SwCntntFrm,SwCntntNode> aIter( rNode );
-    for( SwCntntFrm* pFrm = aIter.First(); pFrm; pFrm = aIter.Next() )
-    {
-        // #i27138#
-        // notify accessibility paragraphs objects about changed
-        // CONTENT_FLOWS_FROM/_TO relation.
-        // Relation CONTENT_FLOWS_FROM for current next paragraph will change
-        // and relation CONTENT_FLOWS_TO for current previous paragraph will change.
-        if ( pFrm->IsTxtFrm() )
-        {
-            SwViewShell* pViewShell( pFrm->getRootFrm()->GetCurrShell() );
-            if ( pViewShell && pViewShell->GetLayout() &&
-                 pViewShell->GetLayout()->IsAnyShellAccessible() )
-            {
-                pViewShell->InvalidateAccessibleParaFlowRelation(
-                            dynamic_cast<SwTxtFrm*>(pFrm->FindNextCnt( true )),
-                            dynamic_cast<SwTxtFrm*>(pFrm->FindPrevCnt( true )) );
-            }
-        }
-        if( pFrm->IsFollow() )
-        {
-            SwCntntFrm* pMaster = (SwTxtFrm*)pFrm->FindMaster();
-            pMaster->SetFollow( pFrm->GetFollow() );
-        }
-        pFrm->SetFollow( 0 );//So it doesn't get funny ideas.
-                                //Otherwise it could be possible that a follow
-                                //gets destroyed before its master. Following
-                                //the now invalid pointer will then lead to an
-                                //illegal memory access. The chain can be
-                                //crushed here because we'll destroy all of it
-                                //anyway.
-
-        if( pFrm->GetUpper() && pFrm->IsInFtn() && !pFrm->GetIndNext() &&
-            !pFrm->GetIndPrev() )
-        {
-            SwFtnFrm *pFtn = pFrm->FindFtnFrm();
-            OSL_ENSURE( pFtn, "You promised a FtnFrm?" );
-            SwCntntFrm* pCFrm;
-            if( !pFtn->GetFollow() && !pFtn->GetMaster() &&
-                0 != ( pCFrm = pFtn->GetRefFromAttr()) && pCFrm->IsFollow() )
-            {
-                OSL_ENSURE( pCFrm->IsTxtFrm(), "NoTxtFrm has Footnote?" );
-                ((SwTxtFrm*)pCFrm->FindMaster())->Prepare( PREP_FTN_GONE );
-            }
-        }
-        pFrm->Cut();
-        delete pFrm;
-    }
-}
-
 void SwLayoutFrm::Destroy()
 {
     while (!aVertPosOrientFrmsFor.empty())
diff --git a/sw/source/core/view/viewimp.cxx b/sw/source/core/view/viewimp.cxx
index 511b2c4..5948312 100644
--- a/sw/source/core/view/viewimp.cxx
+++ b/sw/source/core/view/viewimp.cxx
@@ -315,24 +315,6 @@ void SwViewImp::MoveAccessible( const SwFrm *pFrm, const SdrObject *pObj,
     } while ( pTmp != pVSh );
 }
 
-void SwViewImp::FirePageChangeEvent(sal_uInt16 nOldPage, sal_uInt16 nNewPage)
-{
-    if( IsAccessible() )
-        GetAccessibleMap().FirePageChangeEvent( nOldPage, nNewPage);
-}
-
-void SwViewImp::FireSectionChangeEvent(sal_uInt16 nOldSection, sal_uInt16 nNewSection)
-{
-    if( IsAccessible() )
-        GetAccessibleMap().FireSectionChangeEvent(nOldSection, nNewSection);
-}
-
-void SwViewImp::FireColumnChangeEvent(sal_uInt16 nOldColumn, sal_uInt16 nNewColumn)
-{
-    if( IsAccessible() )
-        GetAccessibleMap().FireColumnChangeEvent(nOldColumn,  nNewColumn);
-}
-
 void SwViewImp::InvalidateAccessibleFrmContent( const SwFrm *pFrm )
 {
     OSL_ENSURE( pFrm->IsAccessibleFrm(), "frame is not accessible" );
diff --git a/unusedcode.easy b/unusedcode.easy
index e75d0ae..6383a04 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -76,16 +76,6 @@ SvxNumberFormat::Create(SvStream&)
 SvxNumberFormatShell::IsAdded_Impl(unsigned long)
 SvxRectCtlAccessibleContext::FireAccessibleEvent(short, com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)
 SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
-SwAccessibleParagraph::GetTOCLevel()
-SwAccessiblePortionData::GetAttrFldType(int)
-SwAccessibleTable::SetTableData(SwAccessibleTableData_Impl*)
-SwCntntFrm::DelFrms(SwCntntNode const&)
-SwExtraRedlineTbl::Contains(SwExtraRedline const*) const
-SwExtraRedlineTbl::Remove(SwExtraRedline const*)
-SwPostItField::GetByName(SwDoc*, rtl::OUString const&)
-SwViewImp::FireColumnChangeEvent(unsigned short, unsigned short)
-SwViewImp::FirePageChangeEvent(unsigned short, unsigned short)
-SwViewImp::FireSectionChangeEvent(unsigned short, unsigned short)
 TextDoc::IsValidPaM(TextPaM const&)
 UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>)
 apitest::CellProperties::testRotateReference()
commit 967c694cfe2d9bf0a362f954858fc96691e23903
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 08:31:17 2014 +0200

    remove unused code TemplateLocalView::HasUnfilteredItems(FILTER_APPLICATION)
    
    Change-Id: Ia4e8c6139b20f2370219d9e7b72e6b3083301ba0

diff --git a/include/sfx2/templatelocalview.hxx b/include/sfx2/templatelocalview.hxx
index 6234c29..b78604d 100644
--- a/include/sfx2/templatelocalview.hxx
+++ b/include/sfx2/templatelocalview.hxx
@@ -36,8 +36,6 @@ public:
     // Fill view with template folders thumbnails
     virtual void Populate ();
 
-    bool HasUnfilteredItems(FILTER_APPLICATION App);
-
     virtual void reload ();
 
     virtual void showRootRegion ();
diff --git a/sfx2/source/control/templatelocalview.cxx b/sfx2/source/control/templatelocalview.cxx
index 9a916e9..a0d5189 100644
--- a/sfx2/source/control/templatelocalview.cxx
+++ b/sfx2/source/control/templatelocalview.cxx
@@ -53,22 +53,6 @@ TemplateLocalView::~TemplateLocalView()
     delete mpDocTemplates;
 }
 
-bool TemplateLocalView::HasUnfilteredItems(FILTER_APPLICATION App)
-{
-    ViewFilter_Application aFilter(App);
-    bool bFound = false;
-    for (size_t i = 0; !bFound && i < maRegions.size(); ++i)
-    {
-        TemplateContainerItem *pFolderItem = maRegions[i];
-
-        for (size_t j = 0; !bFound && j < pFolderItem->maTemplates.size(); ++j)
-        {
-            bFound = aFilter.isValid(pFolderItem->maTemplates[j].aPath);
-        }
-    }
-    return bFound;
-}
-
 void TemplateLocalView::Populate ()
 {
     for (size_t i = 0; i < maRegions.size(); ++i)
diff --git a/unusedcode.easy b/unusedcode.easy
index d48f7f1..e75d0ae 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -86,7 +86,6 @@ SwPostItField::GetByName(SwDoc*, rtl::OUString const&)
 SwViewImp::FireColumnChangeEvent(unsigned short, unsigned short)
 SwViewImp::FirePageChangeEvent(unsigned short, unsigned short)
 SwViewImp::FireSectionChangeEvent(unsigned short, unsigned short)
-TemplateLocalView::HasUnfilteredItems(FILTER_APPLICATION)
 TextDoc::IsValidPaM(TextPaM const&)
 UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>)
 apitest::CellProperties::testRotateReference()
commit 6b27104ac5d8473d2a453bcd64c25e590aaec7e4
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 08:27:47 2014 +0200

    remove unused code TextEngine::GetLeftMargin()
    
    Change-Id: I1b702a4371154ebc10c0caa7697fdbe763337b6f

diff --git a/include/vcl/texteng.hxx b/include/vcl/texteng.hxx
index 04416ea..377a556 100644
--- a/include/vcl/texteng.hxx
+++ b/include/vcl/texteng.hxx
@@ -196,20 +196,20 @@ protected:
 
     bool                IsFormatted() const { return mbFormatted; }
 
-    sal_uInt16              GetCharPos( sal_uLong nPara, sal_uInt16 nLine, long nDocPosX, bool bSmart = false );
+    sal_uInt16          GetCharPos( sal_uLong nPara, sal_uInt16 nLine, long nDocPosX, bool bSmart = false );
     Rectangle           GetEditCursor( const TextPaM& rPaM, bool bSpecial, bool bPreferPortionStart = false );
-    sal_uInt16              ImpFindIndex( sal_uLong nPortion, const Point& rPosInPara, bool bSmart );
+    sal_uInt16          ImpFindIndex( sal_uLong nPortion, const Point& rPosInPara, bool bSmart );
     long                ImpGetPortionXOffset( sal_uLong nPara, TextLine* pLine, sal_uInt16 nTextPortion );
     long                ImpGetXPos( sal_uLong nPara, TextLine* pLine, sal_uInt16 nIndex, bool bPreferPortionStart = false );
     long                ImpGetOutputOffset( sal_uLong nPara, TextLine* pLine, sal_uInt16 nIndex, sal_uInt16 nIndex2 );
-    sal_uInt8                ImpGetRightToLeft( sal_uLong nPara, sal_uInt16 nPos, sal_uInt16* pStart = NULL, sal_uInt16* pEnd = NULL );
+    sal_uInt8           ImpGetRightToLeft( sal_uLong nPara, sal_uInt16 nPos, sal_uInt16* pStart = NULL, sal_uInt16* pEnd = NULL );
     void                ImpInitLayoutMode( OutputDevice* pOutDev, bool bDrawingR2LPortion = false );
     TxtAlign            ImpGetAlign() const;
 
-    sal_uLong               CalcTextHeight();
-    sal_uLong               CalcParaHeight( sal_uLong nParagraph ) const;
-    sal_uLong               CalcTextWidth( sal_uLong nPara );
-    sal_uLong               CalcTextWidth( sal_uLong nPara, sal_uInt16 nPortionStart, sal_uInt16 nPortionLen, const Font* pFont = 0 );
+    sal_uLong           CalcTextHeight();
+    sal_uLong           CalcParaHeight( sal_uLong nParagraph ) const;
+    sal_uLong           CalcTextWidth( sal_uLong nPara );
+    sal_uLong           CalcTextWidth( sal_uLong nPara, sal_uInt16 nPortionStart, sal_uInt16 nPortionLen, const Font* pFont = 0 );
     Range               GetInvalidYOffsets( sal_uLong nPortion );
 
     // for Undo/Redo
@@ -231,19 +231,18 @@ public:
     OUString            GetTextLines( LineEnd aSeparator = LINEEND_LF ) const;
     void                ReplaceText(const TextSelection& rSel, const OUString& rText);
 
-    sal_uLong               GetTextLen( LineEnd aSeparator = LINEEND_LF ) const;
-    sal_uLong               GetTextLen( const TextSelection& rSel, LineEnd aSeparator = LINEEND_LF ) const;
+    sal_uLong           GetTextLen( LineEnd aSeparator = LINEEND_LF ) const;
+    sal_uLong           GetTextLen( const TextSelection& rSel, LineEnd aSeparator = LINEEND_LF ) const;
 
     void                SetFont( const Font& rFont );
     const Font&         GetFont() const { return maFont; }
 
-    sal_uInt16              GetDefTab() const;
+    sal_uInt16          GetDefTab() const;
 
     void                SetLeftMargin( sal_uInt16 n );
-    sal_uInt16          GetLeftMargin() const;
 
     void                SetUpdateMode( bool bUpdate );
-    bool            GetUpdateMode() const { return mbUpdate; }
+    bool                GetUpdateMode() const { return mbUpdate; }
 
     sal_uInt16          GetViewCount() const;
     TextView*           GetView( sal_uInt16 nView ) const;
@@ -271,33 +270,33 @@ public:
     sal_uInt16          GetLineLen( sal_uLong nParagraph, sal_uInt16 nLine ) const;
 
     void                SetRightToLeft( bool bR2L );
-    bool            IsRightToLeft() const { return mbRightToLeft; }
+    bool                IsRightToLeft() const { return mbRightToLeft; }
 
-    bool            HasUndoManager() const { return mpUndoManager ? true : false; }
+    bool                HasUndoManager() const { return mpUndoManager ? true : false; }
     ::svl::IUndoManager&
                         GetUndoManager();
     void                UndoActionStart( sal_uInt16 nId = 0 );
     void                UndoActionEnd();
     void                InsertUndo( TextUndo* pUndo, bool bTryMerge = false );
-    bool            IsInUndo()                  { return mbIsInUndo; }
+    bool                IsInUndo()                  { return mbIsInUndo; }
     void                SetIsInUndo( bool bInUndo ) { mbIsInUndo = bInUndo; }
     void                ResetUndo();
 
     void                EnableUndo( bool bEnable );
-    bool            IsUndoEnabled()             { return mbUndoEnabled; }
+    bool                IsUndoEnabled()             { return mbUndoEnabled; }
 
     void                SetModified( bool bModified )   { mbModified = bModified; }
-    bool            IsModified() const              { return mbModified; }
+    bool                IsModified() const              { return mbModified; }
 
-    bool            Read( SvStream& rInput, const TextSelection* pSel = NULL );
+    bool                Read( SvStream& rInput, const TextSelection* pSel = NULL );
 
-    bool            Write( SvStream& rOutput, const TextSelection* pSel = NULL, bool bHTML = false );
+    bool                Write( SvStream& rOutput, const TextSelection* pSel = NULL, bool bHTML = false );
 
     TextPaM             GetPaM( const Point& rDocPos, bool bSmart = true );
     Rectangle           PaMtoEditCursor( const TextPaM& rPaM, bool bSpecial = false );
     OUString            GetWord( const TextPaM& rCursorPos, TextPaM* pStartOfWord = 0 );
 
-    bool            HasAttrib( sal_uInt16 nWhich ) const;
+    bool                HasAttrib( sal_uInt16 nWhich ) const;
     const TextAttrib*       FindAttrib( const TextPaM& rPaM, sal_uInt16 nWhich ) const;
     const TextCharAttrib*   FindCharAttrib( const TextPaM& rPaM, sal_uInt16 nWhich ) const;
 
@@ -315,8 +314,8 @@ public:
     ::com::sun::star::lang::Locale  GetLocale();
     ::com::sun::star::uno::Reference< ::com::sun::star::i18n::XBreakIterator > GetBreakIterator();
 
-    static bool     DoesKeyChangeText( const KeyEvent& rKeyEvent );
-    static bool     IsSimpleCharInput( const KeyEvent& rKeyEvent );
+    static bool         DoesKeyChangeText( const KeyEvent& rKeyEvent );
+    static bool         IsSimpleCharInput( const KeyEvent& rKeyEvent );
 
     Color               GetTextColor() const { return maTextColor; }
 };
diff --git a/unusedcode.easy b/unusedcode.easy
index 6871f55..d48f7f1 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -88,7 +88,6 @@ SwViewImp::FirePageChangeEvent(unsigned short, unsigned short)
 SwViewImp::FireSectionChangeEvent(unsigned short, unsigned short)
 TemplateLocalView::HasUnfilteredItems(FILTER_APPLICATION)
 TextDoc::IsValidPaM(TextPaM const&)
-TextEngine::GetLeftMargin() const
 UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>)
 apitest::CellProperties::testRotateReference()
 apitest::CellProperties::testVertJustify()
diff --git a/vcl/source/edit/texteng.cxx b/vcl/source/edit/texteng.cxx
index b6edd64..0fdaa68 100644
--- a/vcl/source/edit/texteng.cxx
+++ b/vcl/source/edit/texteng.cxx
@@ -2895,11 +2895,6 @@ void TextEngine::SetLeftMargin( sal_uInt16 n )
     mpDoc->SetLeftMargin( n );
 }
 
-sal_uInt16 TextEngine::GetLeftMargin() const
-{
-    return mpDoc->GetLeftMargin();
-}
-
 uno::Reference< i18n::XBreakIterator > TextEngine::GetBreakIterator()
 {
     if ( !mxBreakIterator.is() )
commit 49d85c15362a8f91a0f1528c25a3927ba04bdb7c
Author: Noel Grandin <noel at peralex.com>
Date:   Tue Mar 4 08:23:50 2014 +0200

    remove unused code in ThumbnailView
    
    ThumbnailView::DeselectItem(unsigned short)
    ThumbnailView::GetItemText(unsigned short) const
    ThumbnailView::SetColor(Color const&)
    
    Change-Id: Ifed909b3c6b32e7e553bee29fbf989963c733e69

diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index 761b45b..5d12f46 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -216,8 +216,6 @@ public:
 
     void SelectItem( sal_uInt16 nItemId );
 
-    void DeselectItem( sal_uInt16 nItemId );
-
     bool IsItemSelected( sal_uInt16 nItemId ) const;
 
     /**
@@ -228,14 +226,8 @@ public:
 
     void deselectItems ();
 
-    OUString GetItemText( sal_uInt16 nItemId ) const;
-
     void ShowTooltips( bool bShowTooltips );
 
-    void SetColor( const Color& rColor );
-
-    void SetColor() { SetColor( Color( COL_TRANSPARENT ) ); }
-
     Color GetColor() const { return maColor; }
 
     bool IsColor() const { return maColor.GetTransparency() == 0; }
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index 2b71d7a..af0b0ee 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -1157,25 +1157,6 @@ void ThumbnailView::SelectItem( sal_uInt16 nItemId )
     }
 }
 
-void ThumbnailView::DeselectItem( sal_uInt16 nItemId )
-{
-    size_t nItemPos = GetItemPos( nItemId );
-    if ( nItemPos == THUMBNAILVIEW_ITEM_NOTFOUND )
-        return;
-
-    ThumbnailViewItem* pItem = mFilteredItemList[nItemPos];
-    if (pItem->isSelected())
-    {
-        pItem->setSelection(false);
-        maItemStateHdl.Call(pItem);
-
-        if (IsReallyVisible() && IsUpdateMode())
-            Invalidate();
-
-        // TODO Trigger event in accessible object?
-    }
-}
-
 bool ThumbnailView::IsItemSelected( sal_uInt16 nItemId ) const
 {
     size_t nItemPos = GetItemPos( nItemId );
@@ -1203,30 +1184,11 @@ void ThumbnailView::deselectItems()
         Invalidate();
 }
 
-OUString ThumbnailView::GetItemText( sal_uInt16 nItemId ) const
-{
-    size_t nPos = GetItemPos( nItemId );
-
-    if ( nPos != THUMBNAILVIEW_ITEM_NOTFOUND )
-        return mFilteredItemList[nPos]->maTitle;
-
-    return OUString();
-}
-
 void ThumbnailView::ShowTooltips( bool bShowTooltips )
 {
     mbShowTooltips = bShowTooltips;
 }
 
-void ThumbnailView::SetColor( const Color& rColor )
-{
-    maColor = rColor;
-    mpItemAttrs->aFillColor = rColor.getBColor();
-
-    if ( IsReallyVisible() && IsUpdateMode() )
-        Invalidate();
-}
-
 void ThumbnailView::filterItems (const boost::function<bool (const ThumbnailViewItem*) > &func)
 {
     mnFirstLine = 0;        // start at the top of the list instead of the current position
diff --git a/unusedcode.easy b/unusedcode.easy
index 7debc1b..6871f55 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -89,9 +89,6 @@ SwViewImp::FireSectionChangeEvent(unsigned short, unsigned short)
 TemplateLocalView::HasUnfilteredItems(FILTER_APPLICATION)
 TextDoc::IsValidPaM(TextPaM const&)
 TextEngine::GetLeftMargin() const
-ThumbnailView::DeselectItem(unsigned short)
-ThumbnailView::GetItemText(unsigned short) const
-ThumbnailView::SetColor(Color const&)
 UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>)
 apitest::CellProperties::testRotateReference()
 apitest::CellProperties::testVertJustify()
commit 56b24765f24222d3d1a2fe488b89c56a331ffce0
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Mar 3 15:15:32 2014 +0200

    remove unused code ToolBox::GetItemExpand(unsigned short)
    
    Change-Id: If28d796a72ca7f375a82fbb0a42e9810db6f34c0

diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 35f4674..3013f4a 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -403,7 +403,6 @@ public:
     ToolBoxItemBits     GetItemBits( sal_uInt16 nItemId ) const;
 
     void                SetItemExpand( sal_uInt16 nItemId, bool bExpand );
-    bool                GetItemExpand( sal_uInt16 nItemId ) const;
 
     void                SetItemData( sal_uInt16 nItemId, void* pNewData );
     void*               GetItemData( sal_uInt16 nItemId ) const;
diff --git a/unusedcode.easy b/unusedcode.easy
index 2dbbe8e..7debc1b 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -92,7 +92,6 @@ TextEngine::GetLeftMargin() const
 ThumbnailView::DeselectItem(unsigned short)
 ThumbnailView::GetItemText(unsigned short) const
 ThumbnailView::SetColor(Color const&)
-ToolBox::GetItemExpand(unsigned short) const
 UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>)
 apitest::CellProperties::testRotateReference()
 apitest::CellProperties::testVertJustify()
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx
index 6008cfe..af2f167 100644
--- a/vcl/source/window/toolbox2.cxx
+++ b/vcl/source/window/toolbox2.cxx
@@ -1207,14 +1207,6 @@ void ToolBox::SetItemExpand( sal_uInt16 nItemId, bool bExpand )
     }
 }
 
-bool ToolBox::GetItemExpand( sal_uInt16 nItemId ) const
-{
-    ImplToolItem* pItem = ImplGetItem( nItemId );
-    if (!pItem)
-        return false;
-    return pItem->mbExpand;
-}
-
 void ToolBox::SetItemData( sal_uInt16 nItemId, void* pNewData )
 {
     sal_uInt16 nPos = GetItemPos( nItemId );
commit e9b2ee303789c290b392c524e7afcd2ee870de07
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Mar 3 15:13:24 2014 +0200

    remove unused code vcl/VclMultiLineEdit
    
    VclMultiLineEdit::IsRightToLeft() const
    VclMultiLineEdit::SetTextSelectable(bool)
    
    Change-Id: I430ffd0bac59baf49bac05123f22fa004a90ec40

diff --git a/include/vcl/vclmedit.hxx b/include/vcl/vclmedit.hxx
index c95258a..97c77c9 100644
--- a/include/vcl/vclmedit.hxx
+++ b/include/vcl/vclmedit.hxx
@@ -105,7 +105,6 @@ public:
     OUString        GetTextLines( LineEnd aSeparator ) const;
 
     void            SetRightToLeft( bool bRightToLeft );
-    bool            IsRightToLeft() const;
 
     void            SaveValue()                         { aSaveValue = GetText(); }
     const OUString&    GetSavedValue() const            { return aSaveValue; }
@@ -129,7 +128,6 @@ public:
 
     void            DisableSelectionOnFocus();
 
-    void            SetTextSelectable( bool bTextSelectable );
     void            EnableCursor( bool bEnable );
 
     virtual bool set_property(const OString &rKey, const OString &rValue);
diff --git a/unusedcode.easy b/unusedcode.easy
index 57171a9..2dbbe8e 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -94,8 +94,6 @@ ThumbnailView::GetItemText(unsigned short) const
 ThumbnailView::SetColor(Color const&)
 ToolBox::GetItemExpand(unsigned short) const
 UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>)
-VclMultiLineEdit::IsRightToLeft() const
-VclMultiLineEdit::SetTextSelectable(bool)
 apitest::CellProperties::testRotateReference()
 apitest::CellProperties::testVertJustify()
 apitest::DataPilotField::testAutoShowInfo()
diff --git a/vcl/source/edit/vclmedit.cxx b/vcl/source/edit/vclmedit.cxx
index 3ab4618..29c432a 100644
--- a/vcl/source/edit/vclmedit.cxx
+++ b/vcl/source/edit/vclmedit.cxx
@@ -1560,26 +1560,11 @@ void VclMultiLineEdit::SetRightToLeft( bool bRightToLeft )
     }
 }
 
-bool VclMultiLineEdit::IsRightToLeft() const
-{
-    bool bRightToLeft = false;
-
-    if ( GetTextEngine() )
-        bRightToLeft = GetTextEngine()->IsRightToLeft();
-
-    return bRightToLeft;
-}
-
 void VclMultiLineEdit::DisableSelectionOnFocus()
 {
     pImpVclMEdit->GetTextWindow()->DisableSelectionOnFocus();
 }
 
-void VclMultiLineEdit::SetTextSelectable( bool bTextSelectable )
-{
-    pImpVclMEdit->GetTextWindow()->SetTextSelectable( bTextSelectable );
-}
-
 void VclMultiLineEdit::EnableCursor( bool bEnable )
 {
     GetTextView()->EnableCursor( bEnable );
commit 4464ea472c5e4af48a95fa55235bfc4f06880790
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Mar 3 15:06:23 2014 +0200

    remove unused code accessibility::AccessibleParaManager::Release(int)
    
    Change-Id: I1f3bbd1baf16c27fb5c01055295ccabb3d6eb3d7

diff --git a/editeng/source/accessibility/AccessibleParaManager.cxx b/editeng/source/accessibility/AccessibleParaManager.cxx
index 85dd45b..ed36be0 100644
--- a/editeng/source/accessibility/AccessibleParaManager.cxx
+++ b/editeng/source/accessibility/AccessibleParaManager.cxx
@@ -109,20 +109,6 @@ namespace accessibility
         return maChildren.end();
     }
 
-    void AccessibleParaManager::Release( sal_Int32 nPara )
-    {
-        DBG_ASSERT( 0 <= nPara && maChildren.size() > static_cast<size_t>(nPara),
-                "AccessibleParaManager::Release: invalid index" );
-
-        if( 0 <= nPara && maChildren.size() > static_cast<size_t>(nPara) )
-        {
-            ShutdownPara( GetChild( nPara ) );
-
-            // clear reference and rect
-            maChildren[ nPara ] = WeakChild();
-        }
-    }
-
     void AccessibleParaManager::FireEvent( sal_Int32 nPara,
                                            const sal_Int16 nEventId,
                                            const uno::Any& rNewValue,
diff --git a/include/editeng/AccessibleParaManager.hxx b/include/editeng/AccessibleParaManager.hxx
index 701f3b8..081e36c 100644
--- a/include/editeng/AccessibleParaManager.hxx
+++ b/include/editeng/AccessibleParaManager.hxx
@@ -172,8 +172,6 @@ namespace accessibility
         VectorOfChildren::const_iterator begin() const;
         VectorOfChildren::const_iterator end() const;
 
-        // dealing with single paragraphs (release reference, return reference etc)
-        void Release( sal_Int32 nPara );
         /// Set focus to given child
         void SetFocus( sal_Int32 nChild );
 
diff --git a/unusedcode.easy b/unusedcode.easy
index 2a8a189..57171a9 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -96,7 +96,6 @@ ToolBox::GetItemExpand(unsigned short) const
 UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>)
 VclMultiLineEdit::IsRightToLeft() const
 VclMultiLineEdit::SetTextSelectable(bool)
-accessibility::AccessibleParaManager::Release(int)
 apitest::CellProperties::testRotateReference()
 apitest::CellProperties::testVertJustify()
 apitest::DataPilotField::testAutoShowInfo()
commit a04e9484d1632d3f8a1181bddd0d6f71e25fd76b
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Mar 3 15:04:54 2014 +0200

    remove unused code in accessibility::AccessibleShape::AccessibleShape
    
    Change-Id: Id17c8d2e2f366b666fd58317c2b8241753ae8a93

diff --git a/include/svx/AccessibleShape.hxx b/include/svx/AccessibleShape.hxx
index 51e497d..86d3ca2 100644
--- a/include/svx/AccessibleShape.hxx
+++ b/include/svx/AccessibleShape.hxx
@@ -105,8 +105,6 @@ public:
     AccessibleShape (
         const AccessibleShapeInfo& rShapeInfo,
         const AccessibleShapeTreeInfo& rShapeTreeInfo);
-    AccessibleShape (
-        const ::com::sun::star::uno::Reference< ::com::sun::star::drawing::XShape>& rxShape, const ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible>& rxParent, const AccessibleShapeTreeInfo& rShapeTreeInfo, sal_Int32 nIndex = -1);
      //Solution: Overwrite the object's current name.
     virtual OUString SAL_CALL    getAccessibleName (void) throw (::com::sun::star::uno::RuntimeException, std::exception);
     virtual OUString SAL_CALL    getAccessibleDescription() throw (::com::sun::star::uno::RuntimeException, std::exception);
diff --git a/svx/source/accessibility/AccessibleShape.cxx b/svx/source/accessibility/AccessibleShape.cxx
index 1c96c06..cd38590 100644
--- a/svx/source/accessibility/AccessibleShape.cxx
+++ b/svx/source/accessibility/AccessibleShape.cxx
@@ -115,25 +115,6 @@ AccessibleShape::AccessibleShape (
     UpdateNameAndDescription();
 }
 
-AccessibleShape::AccessibleShape (
-        const ::com::sun::star::uno::Reference<
-            ::com::sun::star::drawing::XShape>& rxShape,
-        const ::com::sun::star::uno::Reference<
-            ::com::sun::star::accessibility::XAccessible>& rxParent,
-        const AccessibleShapeTreeInfo& rShapeTreeInfo,
-        sal_Int32 nIndex)
-    : AccessibleContextBase (rxParent,AccessibleRole::SHAPE),
-      mpChildrenManager(NULL),
-      mxShape (rxShape),
-      maShapeTreeInfo (rShapeTreeInfo),
-      mnIndex (nIndex),
-      m_nIndexInParent(-1),
-      mpText (NULL),
-      mpParent (NULL)
-{
-    m_pShape = GetSdrObjectFromXShape(mxShape);
-}
-
 AccessibleShape::~AccessibleShape (void)
 {
     delete mpChildrenManager;
diff --git a/unusedcode.easy b/unusedcode.easy
index daa4acc..2a8a189 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -97,7 +97,6 @@ UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::X
 VclMultiLineEdit::IsRightToLeft() const
 VclMultiLineEdit::SetTextSelectable(bool)
 accessibility::AccessibleParaManager::Release(int)
-accessibility::AccessibleShape::AccessibleShape(com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&, com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessible> const&, accessibility::AccessibleShapeTreeInfo const&, int)
 apitest::CellProperties::testRotateReference()
 apitest::CellProperties::testVertJustify()
 apitest::DataPilotField::testAutoShowInfo()
commit 6f0dfc462e3bcb9368f93862457673ad0cd3dc45
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Mar 3 15:01:11 2014 +0200

    remove unused code in accessibility::Document
    
    accessibility::Document::justifySelection(TextPaM&, TextPaM&)
    accessibility::Document::notifySelectionChange(int, int)
    
    Change-Id: I3a5c79ada69c1530ebbbf386bf271f3a83843815

diff --git a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
index 0635e4f..cdb2b3b 100644
--- a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
+++ b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
@@ -623,12 +623,9 @@ private:
 
     void handleSelectionChangeNotification();
 
-    void notifySelectionChange( sal_Int32 nFirst, sal_Int32 nLast );
     ::sal_Int32 getSelectionType(::sal_Int32 nNewFirstPara, ::sal_Int32 nNewFirstPos, ::sal_Int32 nNewLastPara, ::sal_Int32 nNewLastPos);
     void sendEvent(::sal_Int32 start, ::sal_Int32 end, ::sal_Int16 nEventId);
 
-    void justifySelection( TextPaM& rTextStart, TextPaM& rTextEnd );
-
     void disposeParagraphs();
 
     static css::uno::Any mapFontColor(::Color const & rColor);
diff --git a/accessibility/source/extended/textwindowaccessibility.cxx b/accessibility/source/extended/textwindowaccessibility.cxx
index 235fa45..5ef179b 100644
--- a/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/accessibility/source/extended/textwindowaccessibility.cxx
@@ -2502,44 +2502,6 @@ void Document::handleSelectionChangeNotification()
     m_nSelectionLastPos = nNewLastPos;
 }
 
-void Document::notifySelectionChange( sal_Int32 nFirst, sal_Int32 nLast )
-{
-    nFirst = std::max( nFirst, sal_Int32( 0 ) );
-    nLast = std::min( nLast, sal_Int32( m_xParagraphs->size() ) );
-    Paragraphs::iterator iFirst(m_xParagraphs->begin() + nFirst);
-    Paragraphs::iterator iLast(m_xParagraphs->begin() + nLast);
-    if ( iFirst < m_aVisibleBegin )
-        iFirst = m_aVisibleBegin;
-    if ( iLast > m_aVisibleEnd )
-        iLast = m_aVisibleEnd;
-    if ( iFirst < iLast )
-    {
-        for ( Paragraphs::iterator i = iFirst; i != iLast; ++i )
-        {
-            ::rtl::Reference< ParagraphImpl > xParagraph( getParagraph( i ) );
-            if ( xParagraph.is() )
-            {
-                xParagraph->notifyEvent(
-                    css::accessibility::AccessibleEventId::SELECTION_CHANGED,
-                    css::uno::Any(), css::uno::Any() );
-                xParagraph->notifyEvent(
-                    css::accessibility::AccessibleEventId::TEXT_SELECTION_CHANGED,
-                    css::uno::Any(), css::uno::Any() );
-            }
-        }
-    }
-}
-
-void Document::justifySelection( TextPaM& rTextStart, TextPaM& rTextEnd )
-{
-    if ( rTextStart > rTextEnd )
-    {
-        TextPaM aTextPaM( rTextStart );
-        rTextStart = rTextEnd;
-        rTextEnd = aTextPaM;
-    }
-}
-
 void Document::disposeParagraphs()
 {
     for (Paragraphs::iterator aIt(m_xParagraphs->begin());
diff --git a/unusedcode.easy b/unusedcode.easy
index 1a29017..daa4acc 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -98,8 +98,6 @@ VclMultiLineEdit::IsRightToLeft() const
 VclMultiLineEdit::SetTextSelectable(bool)
 accessibility::AccessibleParaManager::Release(int)
 accessibility::AccessibleShape::AccessibleShape(com::sun::star::uno::Reference<com::sun::star::drawing::XShape> const&, com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessible> const&, accessibility::AccessibleShapeTreeInfo const&, int)
-accessibility::Document::justifySelection(TextPaM&, TextPaM&)
-accessibility::Document::notifySelectionChange(int, int)
 apitest::CellProperties::testRotateReference()
 apitest::CellProperties::testVertJustify()
 apitest::DataPilotField::testAutoShowInfo()
commit 4ec1f764ae662684cdcd394d2799bc09ade88c91
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Mar 3 14:52:09 2014 +0200

    remove unused code in basegfx
    
    basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon const&)
    basegfx::tools::equal(basegfx::B2DPolygon const&, basegfx::B2DPolygon const&, double const&)
    basegfx::tools::equal(basegfx::B3DPolyPolygon const&, basegfx::B3DPolyPolygon const&)
    
    Change-Id: Ia20358dca68e2240ca9eadd43a18fc6c1a3693a0

diff --git a/basegfx/source/polygon/b2dpolygontools.cxx b/basegfx/source/polygon/b2dpolygontools.cxx
index 5a3dfcd..dc511b9 100644
--- a/basegfx/source/polygon/b2dpolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolygontools.cxx
@@ -3134,49 +3134,6 @@ namespace basegfx
         }
 
 
-        // comparators with tolerance for 2D Polygons
-
-        bool equal(const B2DPolygon& rCandidateA, const B2DPolygon& rCandidateB, const double& rfSmallValue)
-        {
-            const sal_uInt32 nPointCount(rCandidateA.count());
-
-            if(nPointCount != rCandidateB.count())
-                return false;
-
-            const bool bClosed(rCandidateA.isClosed());
-
-            if(bClosed != rCandidateB.isClosed())
-                return false;
-
-            const bool bAreControlPointsUsed(rCandidateA.areControlPointsUsed());
-
-            if(bAreControlPointsUsed != rCandidateB.areControlPointsUsed())
-                return false;
-
-            for(sal_uInt32 a(0); a < nPointCount; a++)
-            {
-                const B2DPoint aPoint(rCandidateA.getB2DPoint(a));
-
-                if(!aPoint.equal(rCandidateB.getB2DPoint(a), rfSmallValue))
-                    return false;
-
-                if(bAreControlPointsUsed)
-                {
-                    const basegfx::B2DPoint aPrev(rCandidateA.getPrevControlPoint(a));
-
-                    if(!aPrev.equal(rCandidateB.getPrevControlPoint(a), rfSmallValue))
-                        return false;
-
-                    const basegfx::B2DPoint aNext(rCandidateA.getNextControlPoint(a));
-
-                    if(!aNext.equal(rCandidateB.getNextControlPoint(a), rfSmallValue))
-                        return false;
-                }
-            }
-
-            return true;
-        }
-
         // snap points of horizontal or vertical edges to discrete values
         B2DPolygon snapPointsOfHorizontalOrVerticalEdges(const B2DPolygon& rCandidate)
         {
diff --git a/basegfx/source/polygon/b2dpolypolygontools.cxx b/basegfx/source/polygon/b2dpolypolygontools.cxx
index d7b2b5f..91fb9bd 100644
--- a/basegfx/source/polygon/b2dpolypolygontools.cxx
+++ b/basegfx/source/polygon/b2dpolypolygontools.cxx
@@ -497,24 +497,6 @@ namespace basegfx
             return aRetval;
         }
 
-        bool containsOnlyHorizontalAndVerticalEdges(const B2DPolyPolygon& rCandidate)
-        {
-            if(rCandidate.areControlPointsUsed())
-            {
-                return false;
-            }
-
-            for(sal_uInt32 a(0); a < rCandidate.count(); a++)
-            {
-                if(!containsOnlyHorizontalAndVerticalEdges(rCandidate.getB2DPolygon(a)))
-                {
-                    return false;
-                }
-            }
-
-            return true;
-        }
-
         B2DPolyPolygon createSevenSegmentPolyPolygon(sal_Char nNumber, bool bLitSegments)
         {
             // config here
diff --git a/basegfx/source/polygon/b3dpolypolygontools.cxx b/basegfx/source/polygon/b3dpolypolygontools.cxx
index 33c0c67..45bcddc 100644
--- a/basegfx/source/polygon/b3dpolypolygontools.cxx
+++ b/basegfx/source/polygon/b3dpolypolygontools.cxx
@@ -505,13 +505,6 @@ namespace basegfx
             return true;
         }
 
-        bool equal(const B3DPolyPolygon& rCandidateA, const B3DPolyPolygon& rCandidateB)
-        {
-            const double fSmallValue(fTools::getSmallValue());
-
-            return equal(rCandidateA, rCandidateB, fSmallValue);
-        }
-
 /// converters for com::sun::star::drawing::PolyPolygonShape3D
         B3DPolyPolygon UnoPolyPolygonShape3DToB3DPolyPolygon(
             const com::sun::star::drawing::PolyPolygonShape3D& rPolyPolygonShape3DSource,
diff --git a/include/basegfx/polygon/b2dpolypolygontools.hxx b/include/basegfx/polygon/b2dpolypolygontools.hxx
index e92fe5a..c21489a 100644
--- a/include/basegfx/polygon/b2dpolypolygontools.hxx
+++ b/include/basegfx/polygon/b2dpolypolygontools.hxx
@@ -287,11 +287,6 @@ namespace basegfx
         */
         BASEGFX_DLLPUBLIC B2DPolyPolygon snapPointsOfHorizontalOrVerticalEdges(const B2DPolyPolygon& rCandidate);
 
-        /** returns true if the Polygon only contains horizontal or vertical edges
-            so that it could be represented by RegionBands
-        */
-        BASEGFX_DLLPUBLIC bool containsOnlyHorizontalAndVerticalEdges(const B2DPolyPolygon& rCandidate);
-
         /// converters for com::sun::star::drawing::PointSequence
         BASEGFX_DLLPUBLIC B2DPolyPolygon UnoPointSequenceSequenceToB2DPolyPolygon(
             const com::sun::star::drawing::PointSequenceSequence& rPointSequenceSequenceSource,
diff --git a/unusedcode.easy b/unusedcode.easy
index 5763e32..1a29017 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -210,9 +210,6 @@ apitest::XText::testInsertRemoveTextContent()
 apitest::XTextContent::testAttach()
 apitest::XTextContent::testGetAnchor()
 apitest::XTextField::testGetPresentation()
-basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon const&)
-basegfx::tools::equal(basegfx::B2DPolygon const&, basegfx::B2DPolygon const&, double const&)
-basegfx::tools::equal(basegfx::B3DPolyPolygon const&, basegfx::B3DPolyPolygon const&)
 canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
 comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
 comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
commit adbf974f828b23c4645e39267131428a2fa46792
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Mar 3 14:40:49 2014 +0200

    remove unused code chart::ChartModelHelper::setPageSize
    
    Change-Id: I9c6d6f8d9389070a41af2a289e97b6eeb2fc750c

diff --git a/chart2/source/inc/ChartModelHelper.hxx b/chart2/source/inc/ChartModelHelper.hxx
index 9b947cd..426bdaf 100644
--- a/chart2/source/inc/ChartModelHelper.hxx
+++ b/chart2/source/inc/ChartModelHelper.hxx
@@ -93,10 +93,6 @@ public:
         const ::com::sun::star::uno::Reference<
                 ::com::sun::star::frame::XModel >& xModel );
 
-    static void setPageSize( const ::com::sun::star::awt::Size& rSize
-                           , const ::com::sun::star::uno::Reference<
-                                ::com::sun::star::frame::XModel >& xModel );
-
     static void triggerRangeHighlighting( const ::com::sun::star::uno::Reference<
                                 ::com::sun::star::frame::XModel >& xModel );
 
diff --git a/chart2/source/tools/ChartModelHelper.cxx b/chart2/source/tools/ChartModelHelper.cxx
index 05bda30..976cd4f 100644
--- a/chart2/source/tools/ChartModelHelper.cxx
+++ b/chart2/source/tools/ChartModelHelper.cxx
@@ -182,14 +182,6 @@ awt::Size ChartModelHelper::getPageSize( const uno::Reference< frame::XModel >&
     return aPageSize;
 }
 
-void ChartModelHelper::setPageSize( const awt::Size& rSize, const uno::Reference< frame::XModel >& xModel )
-{
-    uno::Reference< embed::XVisualObject > xVisualObject(xModel,uno::UNO_QUERY);
-    OSL_ENSURE(xVisualObject.is(),"need xVisualObject for page size");
-    if( xVisualObject.is() )
-        xVisualObject->setVisualAreaSize( embed::Aspects::MSOLE_CONTENT, rSize );
-}
-
 void ChartModelHelper::triggerRangeHighlighting( const uno::Reference< frame::XModel >& xModel )
 {
     uno::Reference< chart2::data::XDataReceiver > xDataReceiver( xModel, uno::UNO_QUERY );
diff --git a/unusedcode.easy b/unusedcode.easy
index 3df7e26..5763e32 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -214,7 +214,6 @@ basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon c
 basegfx::tools::equal(basegfx::B2DPolygon const&, basegfx::B2DPolygon const&, double const&)
 basegfx::tools::equal(basegfx::B3DPolyPolygon const&, basegfx::B3DPolyPolygon const&)
 canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
-chart::ChartModelHelper::setPageSize(com::sun::star::awt::Size const&, com::sun::star::uno::Reference<com::sun::star::frame::XModel> const&)
 comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
 comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
 comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const
commit d61b787c84f80bb35b545cde069f0ca621dfc9fb
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Mar 3 14:36:38 2014 +0200

    remove unused code chart::ModifyListenerCallBack::startListening
    
    Change-Id: I43de71815d13bf359926dc6c6d63eb5a933ca712

diff --git a/chart2/source/inc/ModifyListenerCallBack.hxx b/chart2/source/inc/ModifyListenerCallBack.hxx
index 34f8d48..8e2b790 100644
--- a/chart2/source/inc/ModifyListenerCallBack.hxx
+++ b/chart2/source/inc/ModifyListenerCallBack.hxx
@@ -41,7 +41,6 @@ public:
 
     virtual ~ModifyListenerCallBack();
 
-    void startListening( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyBroadcaster >& xBroadcaster );
     SAL_DLLPRIVATE void stopListening();
 
 private: //methods
diff --git a/chart2/source/tools/ModifyListenerCallBack.cxx b/chart2/source/tools/ModifyListenerCallBack.cxx
index 3dcd37a..0b0aed64 100644
--- a/chart2/source/tools/ModifyListenerCallBack.cxx
+++ b/chart2/source/tools/ModifyListenerCallBack.cxx
@@ -38,7 +38,6 @@ public:
     explicit ModifyListenerCallBack_impl( const Link& rCallBack );
     virtual ~ModifyListenerCallBack_impl();
 
-    void startListening( const Reference< util::XModifyBroadcaster >& xBroadcaster );
     void stopListening();
 
     //XModifyListener
@@ -77,16 +76,6 @@ void SAL_CALL ModifyListenerCallBack_impl::disposing( const lang::EventObject& /
     m_xBroadcaster.clear();
 }
 
-void ModifyListenerCallBack_impl::startListening( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyBroadcaster >& xBroadcaster )
-{
-    if( m_xBroadcaster == xBroadcaster )
-        return;
-
-    stopListening();
-    m_xBroadcaster = xBroadcaster;
-    if( m_xBroadcaster.is() )
-        m_xBroadcaster->addModifyListener( this );
-}
 void ModifyListenerCallBack_impl::stopListening()
 {
     if( m_xBroadcaster.is() )
@@ -107,10 +96,6 @@ ModifyListenerCallBack::~ModifyListenerCallBack()
     stopListening();
 }
 
-void ModifyListenerCallBack::startListening( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XModifyBroadcaster >& xBroadcaster )
-{
-    pModifyListener_impl->startListening( xBroadcaster );
-}
 void ModifyListenerCallBack::stopListening()
 {
     pModifyListener_impl->stopListening();
diff --git a/unusedcode.easy b/unusedcode.easy
index bf40d10..3df7e26 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -215,7 +215,6 @@ basegfx::tools::equal(basegfx::B2DPolygon const&, basegfx::B2DPolygon const&, do
 basegfx::tools::equal(basegfx::B3DPolyPolygon const&, basegfx::B3DPolyPolygon const&)
 canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
 chart::ChartModelHelper::setPageSize(com::sun::star::awt::Size const&, com::sun::star::uno::Reference<com::sun::star::frame::XModel> const&)
-chart::ModifyListenerCallBack::startListening(com::sun::star::uno::Reference<com::sun::star::util::XModifyBroadcaster> const&)
 comphelper::detail::ConfigurationWrapper::getGroupReadWrite(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&) const
 comphelper::detail::ConfigurationWrapper::getLocalizedPropertyValue(rtl::OUString const&) const
 comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::shared_ptr<comphelper::ConfigurationChanges> const&, rtl::OUString const&, com::sun::star::uno::Any const&) const
commit 43c5a22e63bb30374f9d161c7bf8dac095733536
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Mar 3 14:12:14 2014 +0200

    remove unused code in drawinglayer
    
    drawinglayer::attribute::SdrFillGraphicAttribute::getLogSize()
    
    Change-Id: Ib1d958e57598dd3db392de98c4d2e2df1bfc98de

diff --git a/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx b/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx
index b4aa026..669ee49 100755
--- a/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx
+++ b/drawinglayer/source/attribute/sdrfillgraphicattribute.cxx
@@ -204,11 +204,6 @@ namespace drawinglayer
             return mpSdrFillGraphicAttribute->getStretch();
         }
 
-        bool SdrFillGraphicAttribute::getLogSize() const
-        {
-            return mpSdrFillGraphicAttribute->getLogSize();
-        }
-
         FillGraphicAttribute SdrFillGraphicAttribute::createFillGraphicAttribute(const basegfx::B2DRange& rRange) const
         {
             // get logical size of bitmap (before expanding eventually)
diff --git a/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx b/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx
index d57b710..a3ed6a8 100644
--- a/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx
+++ b/include/drawinglayer/attribute/sdrfillgraphicattribute.hxx
@@ -83,7 +83,6 @@ namespace drawinglayer
             const basegfx::B2DVector& getRectPoint() const;
             bool getTiling() const;
             bool getStretch() const;
-            bool getLogSize() const;
 
             // FillGraphicAttribute generator
             FillGraphicAttribute createFillGraphicAttribute(const basegfx::B2DRange& rRange) const;
diff --git a/unusedcode.easy b/unusedcode.easy
index e0feadc..bf40d10 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -224,7 +224,6 @@ connectivity::file::OStatement_Base::reset()
 connectivity::firebird::release(int&, cppu::OBroadcastHelperVar<cppu::OMultiTypeInterfaceContainerHelper, com::sun::star::uno::Type>&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface>&, com::sun::star::lang::XComponent*)
 connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
 connectivity::sdbcx::OGroup::OGroup(unsigned char)
-drawinglayer::attribute::SdrFillGraphicAttribute::getLogSize() const
 oglcanvas::CanvasHelper::flush() const
 oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const
 oox::core::Relations::getRelationsFromType(rtl::OUString const&) const
commit 8d36fd6576b6ebbdd4fe88810aa7d51f499a063d
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Mar 3 14:10:22 2014 +0200

    remove unused code editeng::MisspellRange::MisspellRange()
    
    Change-Id: Id137b4789652ca54290106a33d2c230723834a52

diff --git a/editeng/source/editeng/misspellrange.cxx b/editeng/source/editeng/misspellrange.cxx
index 1bb2c25..2e2d66d 100644
--- a/editeng/source/editeng/misspellrange.cxx
+++ b/editeng/source/editeng/misspellrange.cxx
@@ -11,7 +11,6 @@
 
 namespace editeng {
 
-MisspellRange::MisspellRange() : mnStart(0), mnEnd(0) {}
 MisspellRange::MisspellRange(size_t nStart, size_t nEnd) : mnStart(nStart), mnEnd(nEnd) {}
 
 MisspellRanges::MisspellRanges(sal_Int32 nParagraph, const std::vector<MisspellRange>& rRanges) :
diff --git a/include/editeng/misspellrange.hxx b/include/editeng/misspellrange.hxx
index ccb2c24..27791e4 100644
--- a/include/editeng/misspellrange.hxx
+++ b/include/editeng/misspellrange.hxx
@@ -21,7 +21,6 @@ struct EDITENG_DLLPUBLIC MisspellRange
     size_t mnStart;
     size_t mnEnd;
 
-    MisspellRange();
     MisspellRange(size_t nStart, size_t nEnd);
 };
 
diff --git a/unusedcode.easy b/unusedcode.easy
index fc3f31e..e0feadc 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy

... etc. - the rest is truncated


More information about the Libreoffice-commits mailing list