[PATCH] remove unused and commented out code

Thomas Arnhold (via Code Review) gerrit at gerrit.libreoffice.org
Sun Mar 3 02:11:19 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2524

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/24/2524/1

remove unused and commented out code

This code gets never called.

Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
---
M autodoc/inc/display/corframe.hxx
M autodoc/source/display/html/cfrstd.cxx
M autodoc/source/display/inc/cfrstd.hxx
M basctl/source/dlged/dlgedmod.cxx
M basctl/source/inc/dlgedmod.hxx
M basic/inc/basic/sbmod.hxx
M basic/source/classes/sbxmod.cxx
M connectivity/inc/connectivity/formattedcolumnvalue.hxx
M connectivity/source/commontools/formattedcolumnvalue.cxx
M cosv/inc/cosv/std_outp.hxx
M cosv/source/service/std_outp.cxx
M cppcanvas/inc/cppcanvas/canvasgraphic.hxx
M cppcanvas/source/inc/canvasgraphichelper.hxx
M cppcanvas/source/tools/canvasgraphichelper.cxx
M cui/source/tabpages/backgrnd.cxx
M editeng/inc/editeng/splwrap.hxx
M editeng/inc/editeng/unoedprx.hxx
M editeng/source/editeng/edtspell.cxx
M editeng/source/editeng/edtspell.hxx
M editeng/source/items/frmitems.cxx
M editeng/source/misc/splwrap.cxx
M editeng/source/uno/unoedprx.cxx
M extensions/source/ole/oleobjw.hxx
M filter/inc/filter/msfilter/escherex.hxx
M filter/source/msfilter/escherex.cxx
M forms/source/xforms/submission/submission.hxx
M sc/inc/dptabdat.hxx
M sc/inc/drwlayer.hxx
M sc/source/core/data/dptabdat.cxx
M sc/source/core/data/drwlayer.cxx
M sc/source/filter/xml/xmlstyli.hxx
M sc/source/ui/docshell/docsh2.cxx
M sd/inc/drawdoc.hxx
M sd/source/core/drawdoc3.cxx
M sdext/source/presenter/PresenterScrollBar.cxx
M sdext/source/presenter/PresenterScrollBar.hxx
M sfx2/inc/sfx2/dispatch.hxx
M sfx2/inc/sfx2/objsh.hxx
M sfx2/inc/sfx2/shell.hxx
M sfx2/source/control/dispatch.cxx
M sfx2/source/control/shell.cxx
M sfx2/source/doc/objcont.cxx
M slideshow/test/testshape.cxx
M store/workben/t_page.cxx
M svl/inc/svl/flagitem.hxx
M svl/source/items/flagitem.cxx
M svtools/Library_svt.mk
M svtools/Package_inc.mk
M svtools/inc/svtools/treelistbox.hxx
D svtools/inc/svtools/wallitem.hxx
M svtools/source/contnr/treelistbox.cxx
M svtools/source/dialogs/filedlg2.cxx
M svtools/source/dialogs/filedlg2.hxx
D svtools/source/misc/wallitem.cxx
M svx/inc/svx/svdotext.hxx
M svx/source/dialog/docrecovery.cxx
M svx/source/inc/docrecovery.hxx
M svx/source/svdraw/svdotext.cxx
M sw/inc/shellio.hxx
M sw/inc/swabstdlg.hxx
M sw/source/core/draw/dflyobj.cxx
M sw/source/core/inc/dflyobj.hxx
M sw/source/core/inc/swblocks.hxx
M sw/source/core/swg/swblocks.cxx
M sw/source/filter/basflt/fltini.cxx
M tools/inc/tools/shl.hxx
M vcl/inc/vcl/edit.hxx
M vcl/inc/vcl/fontmanager.hxx
M vcl/inc/vcl/svapp.hxx
M vcl/inc/vcl/vclmedit.hxx
M vcl/source/app/svapp.cxx
M xmloff/inc/xmloff/xmlnume.hxx
M xmloff/source/style/xmlnume.cxx
M xmloff/source/text/XMLAutoTextEventExport.cxx
M xmloff/source/text/XMLAutoTextEventExport.hxx
75 files changed, 2 insertions(+), 565 deletions(-)



diff --git a/autodoc/inc/display/corframe.hxx b/autodoc/inc/display/corframe.hxx
index 0b9d109..e362b6d 100644
--- a/autodoc/inc/display/corframe.hxx
+++ b/autodoc/inc/display/corframe.hxx
@@ -54,12 +54,10 @@
                         CssStylesExplanation() const = 0;
     virtual const char *
                         DevelopersGuideHtmlRoot() const = 0;
-    virtual bool        SimpleLinks() const = 0;
 
     // ACCESS
     virtual void        Set_DevelopersGuideHtmlRoot(
                             const String &      i_directory ) = 0;
-    virtual void        Set_SimpleLinks() = 0;
 };
 
 
diff --git a/autodoc/source/display/html/cfrstd.cxx b/autodoc/source/display/html/cfrstd.cxx
index a032ecd..566273a 100644
--- a/autodoc/source/display/html/cfrstd.cxx
+++ b/autodoc/source/display/html/cfrstd.cxx
@@ -233,8 +233,7 @@
 
 
 StdFrame::StdFrame()
-    :   sDevelopersGuideHtmlRoot(),
-        bSimpleLinks(false)
+    :   sDevelopersGuideHtmlRoot()
 {
 }
 
@@ -291,12 +290,6 @@
     return sDevelopersGuideHtmlRoot;
 }
 
-bool
-StdFrame::SimpleLinks() const
-{
-    return bSimpleLinks;
-}
-
 void
 StdFrame::Set_DevelopersGuideHtmlRoot( const String & i_directory )
 {
@@ -309,12 +302,6 @@
         }
     }
     sDevelopersGuideHtmlRoot = i_directory;
-}
-
-void
-StdFrame::Set_SimpleLinks()
-{
-    bSimpleLinks = true;
 }
 
 String
diff --git a/autodoc/source/display/inc/cfrstd.hxx b/autodoc/source/display/inc/cfrstd.hxx
index a539b04..cbedb10 100644
--- a/autodoc/source/display/inc/cfrstd.hxx
+++ b/autodoc/source/display/inc/cfrstd.hxx
@@ -49,16 +49,13 @@
                         CssStylesExplanation() const;
     virtual const char *
                         DevelopersGuideHtmlRoot() const;
-    virtual bool        SimpleLinks() const;
 
     // ACCESS
     virtual void        Set_DevelopersGuideHtmlRoot(
                             const String &      i_directory );
-    virtual void        Set_SimpleLinks();
 
   private:
     String              sDevelopersGuideHtmlRoot;
-    bool                bSimpleLinks;
 };
 
 
diff --git a/basctl/source/dlged/dlgedmod.cxx b/basctl/source/dlged/dlgedmod.cxx
index d786633..31767cc 100644
--- a/basctl/source/dlged/dlgedmod.cxx
+++ b/basctl/source/dlged/dlgedmod.cxx
@@ -53,13 +53,6 @@
 
 //----------------------------------------------------------------------------
 
-void DlgEdModel::DlgEdModelChanged(bool bChanged )
-{
-    SetChanged( bChanged );
-}
-
-//----------------------------------------------------------------------------
-
 Window* DlgEdModel::GetCurDocViewWin()
 {
     return 0;
diff --git a/basctl/source/inc/dlgedmod.hxx b/basctl/source/inc/dlgedmod.hxx
index 0dea946..62a2e53 100644
--- a/basctl/source/inc/dlgedmod.hxx
+++ b/basctl/source/inc/dlgedmod.hxx
@@ -43,8 +43,6 @@
     DlgEdModel();
     virtual ~DlgEdModel();
 
-    virtual void DlgEdModelChanged( bool bChanged = true );
-
     virtual SdrPage*  AllocPage(bool bMasterPage);
 
     virtual Window* GetCurDocViewWin();
diff --git a/basic/inc/basic/sbmod.hxx b/basic/inc/basic/sbmod.hxx
index 1ff5b11..f94e2c9 100644
--- a/basic/inc/basic/sbmod.hxx
+++ b/basic/inc/basic/sbmod.hxx
@@ -110,15 +110,10 @@
     const SbxObject* FindType( OUString aTypeName ) const;
 
     virtual sal_Bool IsBreakable( sal_uInt16 nLine ) const;
-    virtual size_t   GetBPCount() const;
-    virtual sal_uInt16 GetBP( size_t n ) const;
     virtual sal_Bool IsBP( sal_uInt16 nLine ) const;
     virtual sal_Bool SetBP( sal_uInt16 nLine );
     virtual sal_Bool ClearBP( sal_uInt16 nLine );
     virtual void     ClearAllBP();
-
-    // Lines of Subs
-    virtual SbMethod*   GetFunctionForLine( sal_uInt16 );
 
     // Store only image, no source (needed for new password protection)
     sal_Bool StoreBinaryData( SvStream& );
diff --git a/basic/source/classes/sbxmod.cxx b/basic/source/classes/sbxmod.cxx
index 820885d..c13d7e5 100644
--- a/basic/source/classes/sbxmod.cxx
+++ b/basic/source/classes/sbxmod.cxx
@@ -982,20 +982,6 @@
     EndDefinitions( sal_True );
 }
 
-SbMethod* SbModule::GetFunctionForLine( sal_uInt16 nLine )
-{
-    for( sal_uInt16 i = 0; i < pMethods->Count(); i++ )
-    {
-        SbMethod* p = (SbMethod*) pMethods->Get( i );
-        if( p->GetSbxId() == SBXID_BASICMETHOD )
-        {
-            if( nLine >= p->nLine1 && nLine <= p->nLine2 )
-                return p;
-        }
-    }
-    return NULL;
-}
-
 // Broadcast of a hint to all Basics
 
 static void _SendHint( SbxObject* pObj, sal_uIntPtr nId, SbMethod* p )
@@ -1587,19 +1573,6 @@
         if( nl == nLine )
             return sal_True;
     return sal_False;
-}
-
-size_t SbModule::GetBPCount() const
-{
-    return pBreaks ? pBreaks->size() : 0;
-}
-
-sal_uInt16 SbModule::GetBP( size_t n ) const
-{
-    if( pBreaks && n < pBreaks->size() )
-        return pBreaks->operator[]( n );
-    else
-        return 0;
 }
 
 sal_Bool SbModule::IsBP( sal_uInt16 nLine ) const
diff --git a/connectivity/inc/connectivity/formattedcolumnvalue.hxx b/connectivity/inc/connectivity/formattedcolumnvalue.hxx
index a56147a..11d121f 100644
--- a/connectivity/inc/connectivity/formattedcolumnvalue.hxx
+++ b/connectivity/inc/connectivity/formattedcolumnvalue.hxx
@@ -89,7 +89,6 @@
         virtual sal_Int32   getFormatKey() const;
         virtual sal_Int32   getFieldType() const;
         virtual sal_Int16   getKeyType() const;
-        virtual bool        isNumericField() const;
         virtual const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumn >&
                             getColumn() const;
         virtual const ::com::sun::star::uno::Reference< ::com::sun::star::sdb::XColumnUpdate >&
diff --git a/connectivity/source/commontools/formattedcolumnvalue.cxx b/connectivity/source/commontools/formattedcolumnvalue.cxx
index 756e55c..d897c9e 100644
--- a/connectivity/source/commontools/formattedcolumnvalue.cxx
+++ b/connectivity/source/commontools/formattedcolumnvalue.cxx
@@ -262,12 +262,6 @@
     }
 
     //--------------------------------------------------------------------
-    bool FormattedColumnValue::isNumericField() const
-    {
-        return m_pData->m_bNumericField;
-    }
-
-    //--------------------------------------------------------------------
     const Reference< XColumn >& FormattedColumnValue::getColumn() const
     {
         return m_pData->m_xColumn;
diff --git a/cosv/inc/cosv/std_outp.hxx b/cosv/inc/cosv/std_outp.hxx
index b660b35..08fe179 100644
--- a/cosv/inc/cosv/std_outp.hxx
+++ b/cosv/inc/cosv/std_outp.hxx
@@ -38,9 +38,6 @@
   public:
     virtual             ~redirect_out() {}
 
-    void                re_endl()               { do_re_endl(); }
-    void                re_flush()              { do_re_flush(); }
-
     static void         set_(
                             redirect_out &      o_rStdOut,
                             redirect_out &      o_rStdErr )
@@ -54,9 +51,6 @@
     static bool         useme_()                { return pStdOut_ != 0; }
 
   private:
-    virtual void        do_re_endl() = 0;
-    virtual void        do_re_flush() = 0;
-
     // DATA
     static redirect_out *
                         pStdOut_;
diff --git a/cosv/source/service/std_outp.cxx b/cosv/source/service/std_outp.cxx
index 7dc5e5f..69a9e78 100644
--- a/cosv/source/service/std_outp.cxx
+++ b/cosv/source/service/std_outp.cxx
@@ -47,7 +47,6 @@
         io_rStream << std::endl;
 //    else
 #endif
-//        static_cast< redirect_out& >(io_rStream).re_endl();
 }
 
 void
@@ -58,7 +57,6 @@
         io_rStream << std::flush;
 //    else
 #endif
-//        static_cast< redirect_out& >(io_rStream).re_flush();
 }
 
 void
diff --git a/cppcanvas/inc/cppcanvas/canvasgraphic.hxx b/cppcanvas/inc/cppcanvas/canvasgraphic.hxx
index d423023..e496df6 100644
--- a/cppcanvas/inc/cppcanvas/canvasgraphic.hxx
+++ b/cppcanvas/inc/cppcanvas/canvasgraphic.hxx
@@ -131,13 +131,6 @@
          */
         virtual ::basegfx::B2DPolyPolygon const* getClip() const = 0;
 
-        /** Set object color
-         */
-        virtual void                             setRGBAColor( Color::IntSRGBA ) = 0;
-        /** Get object color
-         */
-        virtual Color::IntSRGBA                  getRGBAColor() const = 0;
-
         /** Set object composite mode
          */
         virtual void                             setCompositeOp( CompositeOp aOp ) = 0;
diff --git a/cppcanvas/source/inc/canvasgraphichelper.hxx b/cppcanvas/source/inc/canvasgraphichelper.hxx
index 125b1c2..f0ab8bc 100644
--- a/cppcanvas/source/inc/canvasgraphichelper.hxx
+++ b/cppcanvas/source/inc/canvasgraphichelper.hxx
@@ -52,8 +52,6 @@
             virtual void                             setClip( const ::basegfx::B2DPolyPolygon& rClipPoly );
             virtual void                             setClip();
             virtual ::basegfx::B2DPolyPolygon const* getClip() const;
-            virtual void                             setRGBAColor( Color::IntSRGBA );
-            virtual Color::IntSRGBA                  getRGBAColor() const;
             virtual void                             setCompositeOp( CompositeOp aOp );
             virtual CompositeOp                      getCompositeOp() const;
 
diff --git a/cppcanvas/source/tools/canvasgraphichelper.cxx b/cppcanvas/source/tools/canvasgraphichelper.cxx
index 6854ff9..562be97 100644
--- a/cppcanvas/source/tools/canvasgraphichelper.cxx
+++ b/cppcanvas/source/tools/canvasgraphichelper.cxx
@@ -105,18 +105,6 @@
             return maRenderState;
         }
 
-        void CanvasGraphicHelper::setRGBAColor( Color::IntSRGBA aColor )
-        {
-            maRenderState.DeviceColor = tools::intSRGBAToDoubleSequence( mxGraphicDevice,
-                                                                         aColor );
-        }
-
-        Color::IntSRGBA CanvasGraphicHelper::getRGBAColor() const
-        {
-            return tools::doubleSequenceToIntSRGBA( mxGraphicDevice,
-                                                    maRenderState.DeviceColor );
-        }
-
         void CanvasGraphicHelper::setCompositeOp( CompositeOp aOp )
         {
             maRenderState.CompositeOperation = (sal_Int8)aOp;
diff --git a/cui/source/tabpages/backgrnd.cxx b/cui/source/tabpages/backgrnd.cxx
index 66934c4..d84cf85 100644
--- a/cui/source/tabpages/backgrnd.cxx
+++ b/cui/source/tabpages/backgrnd.cxx
@@ -23,7 +23,6 @@
 #include <tools/urlobj.hxx>
 #include <sfx2/objsh.hxx>
 #include <sfx2/docfile.hxx>
-#include <svtools/wallitem.hxx>
 #include <svl/cntwall.hxx>
 #include <sfx2/cntids.hrc>
 #include <svx/dialogs.hrc>
diff --git a/editeng/inc/editeng/splwrap.hxx b/editeng/inc/editeng/splwrap.hxx
index 9126cae..c3a559c 100644
--- a/editeng/inc/editeng/splwrap.hxx
+++ b/editeng/inc/editeng/splwrap.hxx
@@ -138,7 +138,6 @@
     virtual void ScrollArea();                      // Set ScrollArea
     // Replace word
     virtual void ChangeWord( const String& rNewWord, const sal_uInt16 nLang );
-    virtual String GetThesWord();
     // Wort via Thesaurus ersetzen
     virtual void ChangeThesWord( const String& rNewWord );
     virtual void SetLanguage( const sal_uInt16 nLang ); // Change Language
diff --git a/editeng/inc/editeng/unoedprx.hxx b/editeng/inc/editeng/unoedprx.hxx
index 83ed509..c6e067a 100644
--- a/editeng/inc/editeng/unoedprx.hxx
+++ b/editeng/inc/editeng/unoedprx.hxx
@@ -42,7 +42,6 @@
     virtual void            RemoveAttribs( const ESelection& rSelection, sal_Bool bRemoveParaAttribs, sal_uInt16 nWhich );
     virtual void            GetPortions( sal_uInt16 nPara, std::vector<sal_uInt16>& rList ) const;
 
-    virtual sal_Int32       CalcLogicalIndex( sal_uInt16 nPara, sal_uInt16 nEEIndex );
     virtual sal_uInt16          CalcEditEngineIndex( sal_uInt16 nPara, sal_Int32 nLogicalIndex );
 
      virtual sal_uInt16         GetItemState( const ESelection& rSel, sal_uInt16 nWhich ) const;
diff --git a/editeng/source/editeng/edtspell.cxx b/editeng/source/editeng/edtspell.cxx
index 4e44fe7..8856564 100644
--- a/editeng/source/editeng/edtspell.cxx
+++ b/editeng/source/editeng/edtspell.cxx
@@ -680,30 +680,6 @@
     return sal_True;
 }
 
-sal_Bool EdtAutoCorrDoc::HasSymbolChars( sal_uInt16 nStt, sal_uInt16 nEnd )
-{
-    sal_uInt16 nScriptType = mpEditEngine->GetScriptType( EditPaM( pCurNode, nStt ) );
-    sal_uInt16 nScriptFontInfoItemId = GetScriptItemId( EE_CHAR_FONTINFO, nScriptType );
-
-    const CharAttribList::AttribsType& rAttribs = pCurNode->GetCharAttribs().GetAttribs();
-    CharAttribList::AttribsType::const_iterator it = rAttribs.begin(), itEnd = rAttribs.end();
-    for (; it != itEnd; ++it)
-    {
-        const EditCharAttrib& rAttr = *it;
-        if (rAttr.GetStart() >= nEnd)
-            return false;
-
-        if (rAttr.Which() == nScriptFontInfoItemId &&
-            static_cast<const SvxFontItem*>(rAttr.GetItem())->GetCharSet() == RTL_TEXTENCODING_SYMBOL)
-        {
-            // check if the Attribtuteis within range...
-            if (rAttr.GetEnd() >= nStt)
-                return true;
-        }
-    }
-    return false;
-}
-
 const String* EdtAutoCorrDoc::GetPrevPara( sal_Bool )
 {
     // Return previous paragraph, so that it can be determined,
diff --git a/editeng/source/editeng/edtspell.hxx b/editeng/source/editeng/edtspell.hxx
index 63ffb80..699a6df 100644
--- a/editeng/source/editeng/edtspell.hxx
+++ b/editeng/source/editeng/edtspell.hxx
@@ -150,8 +150,6 @@
     virtual sal_Bool    SetAttr( sal_uInt16 nStt, sal_uInt16 nEnd, sal_uInt16 nSlotId, SfxPoolItem& );
     virtual sal_Bool    SetINetAttr( sal_uInt16 nStt, sal_uInt16 nEnd, const String& rURL );
 
-    virtual sal_Bool    HasSymbolChars( sal_uInt16 nStt, sal_uInt16 nEnd );
-
     virtual const String* GetPrevPara( sal_Bool bAtNormalPos );
 
     virtual sal_Bool    ChgAutoCorrWord( sal_uInt16& rSttPos, sal_uInt16 nEndPos,
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index e728d19..698a235 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -49,7 +49,6 @@
 #include <tools/urlobj.hxx>
 #include <comphelper/types.hxx>
 #include <svl/memberid.hrc>
-#include <svtools/wallitem.hxx>
 #include <svl/cntwall.hxx>
 #include <svtools/borderhelper.hxx>
 #include <rtl/ustring.hxx>
diff --git a/editeng/source/misc/splwrap.cxx b/editeng/source/misc/splwrap.cxx
index 26edd7e..aefd764 100644
--- a/editeng/source/misc/splwrap.cxx
+++ b/editeng/source/misc/splwrap.cxx
@@ -306,15 +306,6 @@
 // -----------------------------------------------------------------------
 
 
-String SvxSpellWrapper::GetThesWord()
-{
-    // What word should be looked up?
-    return String();
-}
-
-// -----------------------------------------------------------------------
-
-
 void SvxSpellWrapper::ChangeThesWord( const String& )
 {
     // replace word due to Thesaurus.
diff --git a/editeng/source/uno/unoedprx.cxx b/editeng/source/uno/unoedprx.cxx
index 1eb4788..a91b8f3 100644
--- a/editeng/source/uno/unoedprx.cxx
+++ b/editeng/source/uno/unoedprx.cxx
@@ -677,15 +677,6 @@
     mrTextForwarder->FieldClicked( rField, nPara, nPos );
 }
 
-sal_Int32 SvxAccessibleTextAdapter::CalcLogicalIndex( sal_uInt16 nPara, sal_uInt16 nEEIndex )
-{
-    DBG_ASSERT(mrTextForwarder, "SvxAccessibleTextAdapter: no forwarder");
-
-    SvxAccessibleTextIndex aIndex;
-    aIndex.SetEEIndex(nPara, nEEIndex, *mrTextForwarder);
-    return aIndex.GetIndex();
-}
-
 sal_uInt16 SvxAccessibleTextAdapter::CalcEditEngineIndex( sal_uInt16 nPara, sal_Int32 nLogicalIndex )
 {
     DBG_ASSERT(mrTextForwarder, "SvxAccessibleTextAdapter: no forwarder");
diff --git a/extensions/source/ole/oleobjw.hxx b/extensions/source/ole/oleobjw.hxx
index 4fd1768..00b0753 100644
--- a/extensions/source/ole/oleobjw.hxx
+++ b/extensions/source/ole/oleobjw.hxx
@@ -144,11 +144,6 @@
                                        Sequence< sal_Int16 >& OutParamIndex,
                                        Sequence< Any >& OutParam);
 
-//    virtual void setValueWithDispId(DISPID dispID, const Any& Value);
-
-//    virtual Any getValueWithDispId(const OUString& sName, DISPID dispID);
-
-
     // UnoConversionUtilities -------------------------------------------------------------------------------
     virtual Reference<XInterface> createUnoWrapperInstance();
     virtual Reference<XInterface> createComWrapperInstance();
diff --git a/filter/inc/filter/msfilter/escherex.hxx b/filter/inc/filter/msfilter/escherex.hxx
index f4fb939..33cde07 100644
--- a/filter/inc/filter/msfilter/escherex.hxx
+++ b/filter/inc/filter/msfilter/escherex.hxx
@@ -1623,8 +1623,6 @@
     SvStream&       GetStream() const   { return *mpOutStrm; }
     sal_uLong       GetStreamPos() const    { return mpOutStrm->Tell(); }
 
-    virtual sal_Bool SeekBehindRecHeader( sal_uInt16 nRecType );                // the stream has to be in front of a valid Record Headeror Atom
-
                 // features during the creation of the following Containers:
                 //
                 //      ESCHER_DggContainer:    a EscherDgg Atom is automatically being created and managed
diff --git a/filter/source/msfilter/escherex.cxx b/filter/source/msfilter/escherex.cxx
index 75adc97..81a12ed 100644
--- a/filter/source/msfilter/escherex.cxx
+++ b/filter/source/msfilter/escherex.cxx
@@ -4499,25 +4499,6 @@
     mpOutStrm->Seek( nCurPos );
 }
 
-sal_Bool EscherEx::SeekBehindRecHeader( sal_uInt16 nRecType )
-{
-    sal_uInt32  nOldPos, nStreamEnd, nType, nSize;
-
-    nOldPos = mpOutStrm->Tell();
-    nStreamEnd = mpOutStrm->Seek( STREAM_SEEK_TO_END );
-    mpOutStrm->Seek( nOldPos );
-    while ( mpOutStrm->Tell() < nStreamEnd )
-    {
-        *mpOutStrm >> nType >> nSize;
-        if ( ( nType >> 16 ) == nRecType )
-            return sal_True;
-        if ( ( nType & 0xf ) != 0xf )
-            mpOutStrm->SeekRel( nSize );
-    }
-    mpOutStrm->Seek( nOldPos );
-    return sal_False;
-}
-
 void EscherEx::InsertPersistOffset( sal_uInt32 nKey, sal_uInt32 nOffset )
 {
     PtInsert( ESCHER_Persist_PrivateEntry | nKey, nOffset );
diff --git a/forms/source/xforms/submission/submission.hxx b/forms/source/xforms/submission/submission.hxx
index 2c9edb4..0998b4c 100644
--- a/forms/source/xforms/submission/submission.hxx
+++ b/forms/source/xforms/submission/submission.hxx
@@ -138,7 +138,6 @@
 
     virtual ~CSubmission() {}
 
-    //    virtual CSS::uno::Sequence< rtl::OUString > getSupportedEncodings() = 0;
     virtual void setEncoding(const rtl::OUString& aEncoding)
     {
         m_aEncoding = aEncoding;
diff --git a/sc/inc/dptabdat.hxx b/sc/inc/dptabdat.hxx
index aba6060..8a6c617 100644
--- a/sc/inc/dptabdat.hxx
+++ b/sc/inc/dptabdat.hxx
@@ -141,7 +141,6 @@
     virtual long                            GetMembersCount( long nDim );
     virtual const ScDPItemData*   GetMemberByIndex( long nDim, long nIndex );
     virtual const ScDPItemData*   GetMemberById( long nDim, long nId);
-    virtual SCROW                        GetIdOfItemData( long  nDim, const ScDPItemData& rData );
     virtual long                GetSourceDim( long nDim );
     virtual long                Compare( long nDim, long nDataId1, long nDataId2);
 
diff --git a/sc/inc/drwlayer.hxx b/sc/inc/drwlayer.hxx
index 0329f6c..adb0c49 100644
--- a/sc/inc/drwlayer.hxx
+++ b/sc/inc/drwlayer.hxx
@@ -119,7 +119,6 @@
 
     ScDocument*     GetDocument() const { return pDoc; }
 
-    void            UpdateBasic();              // set DocShell Basic in DrawPages
     void            UseHyphenator();
 
     sal_Bool            GetPrintArea( ScRange& rRange, sal_Bool bSetHor, sal_Bool bSetVer ) const;
diff --git a/sc/source/core/data/dptabdat.cxx b/sc/source/core/data/dptabdat.cxx
index f848390..c92c23f 100644
--- a/sc/source/core/data/dptabdat.cxx
+++ b/sc/source/core/data/dptabdat.cxx
@@ -273,11 +273,6 @@
     return GetCacheTable().getCache()->GetItemDataById(nDim, static_cast<SCROW>(nId));
 }
 
-SCROW   ScDPTableData::GetIdOfItemData( long  nDim, const ScDPItemData& rData )
-{
-        return GetCacheTable().getCache()->GetIdByItemData((SCCOL) nDim, rData );
- }
-
 const std::vector< SCROW >& ScDPTableData::GetColumnEntries( long nColumn )
 {
     return GetCacheTable().getFieldEntries( nColumn );
diff --git a/sc/source/core/data/drwlayer.cxx b/sc/source/core/data/drwlayer.cxx
index 16b8e6c..aeb84e2 100644
--- a/sc/source/core/data/drwlayer.cxx
+++ b/sc/source/core/data/drwlayer.cxx
@@ -326,12 +326,6 @@
     return bFound;
 }
 
-void ScDrawLayer::UpdateBasic()
-{
-    //  don't create basic until it is needed
-    //! remove this method?
-}
-
 SdrModel* ScDrawLayer::AllocModel() const
 {
     //  Allocated model (for clipboard etc) must not have a pointer
diff --git a/sc/source/filter/xml/xmlstyli.hxx b/sc/source/filter/xml/xmlstyli.hxx
index 4ac9d54..09d61ba 100644
--- a/sc/source/filter/xml/xmlstyli.hxx
+++ b/sc/source/filter/xml/xmlstyli.hxx
@@ -46,22 +46,6 @@
             SvXMLImport& rImport);
     virtual ~ScXMLCellImportPropertyMapper();
 
-    /** this method is called for every item that has the MID_FLAG_SPECIAL_ITEM_IMPORT flag set */
-/*  virtual sal_Bool handleSpecialItem(
-            XMLPropertyState& rProperty,
-            ::std::vector< XMLPropertyState >& rProperties,
-            const ::rtl::OUString& rValue,
-            const SvXMLUnitConverter& rUnitConverter,
-            const SvXMLNamespaceMap& rNamespaceMap ) const;*/
-
-    /** this method is called for every item that has the MID_FLAG_NO_ITEM_IMPORT flag set */
-/*  virtual sal_Bool handleNoItem(
-            sal_Int32 nIndex,
-            ::std::vector< XMLPropertyState >& rProperties,
-               const ::rtl::OUString& rValue,
-               const SvXMLUnitConverter& rUnitConverter,
-               const SvXMLNamespaceMap& rNamespaceMap ) const;*/
-
     /** This method is called when all attributes have been processed. It may be used to remove items that are incomplete */
     virtual void finished(
             ::std::vector< XMLPropertyState >& rProperties, sal_Int32 nStartIndex, sal_Int32 nEndIndex ) const;
@@ -180,8 +164,6 @@
         const ::com::sun::star::uno::Reference<
             ::com::sun::star::xml::sax::XAttributeList > & xAttrList );
 
-//  virtual SvXMLImportPropertyMapper *GetImpPropMapper();
-
 public:
 
     XMLTableStylesContext( SvXMLImport& rImport, sal_uInt16 nPrfx ,
@@ -189,12 +171,6 @@
             const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttrList,
             const bool bAutoStyles );
     virtual ~XMLTableStylesContext();
-
-    // Create child element.
-/*  virtual SvXMLImportContext *CreateChildContext( sal_uInt16 nPrefix,
-        const ::rtl::OUString& rLocalName,
-        const ::com::sun::star::uno::Reference<
-            ::com::sun::star::xml::sax::XAttributeList > & xAttrList );*/
 
     virtual void EndElement();
 
diff --git a/sc/source/ui/docshell/docsh2.cxx b/sc/source/ui/docshell/docsh2.cxx
index 84b74e0..1039219 100644
--- a/sc/source/ui/docshell/docsh2.cxx
+++ b/sc/source/ui/docshell/docsh2.cxx
@@ -105,8 +105,6 @@
             //  andere Anpassungen nach dem Anlegen des DrawLayers
 
         pDrawLayer->SetNotifyUndoActionHdl( LINK( pDocFunc, ScDocFunc, NotifyDrawUndo ) );
-
-        pDrawLayer->UpdateBasic();          // DocShell-Basic in DrawPages setzen
     }
     else
     {
diff --git a/sd/inc/drawdoc.hxx b/sd/inc/drawdoc.hxx
index 56bab28..3d89978 100644
--- a/sd/inc/drawdoc.hxx
+++ b/sd/inc/drawdoc.hxx
@@ -203,8 +203,6 @@
 
     virtual SdrModel*   AllocModel() const;
     virtual SdrPage*    AllocPage(bool bMasterPage);
-    virtual const SdrModel* LoadModel(const String& rFileName);
-    virtual void        DisposeLoadedModels();
     virtual bool    IsReadOnly() const;
     virtual void        SetChanged(sal_Bool bFlag = sal_True);
 
diff --git a/sd/source/core/drawdoc3.cxx b/sd/source/core/drawdoc3.cxx
index ef6a28b..b811e32 100644
--- a/sd/source/core/drawdoc3.cxx
+++ b/sd/source/core/drawdoc3.cxx
@@ -1108,18 +1108,6 @@
     maBookmarkFile = String();
 }
 
-// Load document (for linked objects)
-const SdrModel* SdDrawDocument::LoadModel(const String& rFileName)
-{
-    return ( OpenBookmarkDoc(rFileName) );
-}
-
-// Close document (for linked objects)
-void SdDrawDocument::DisposeLoadedModels()
-{
-    CloseBookmarkDoc();
-}
-
 // Is this document read-only?
 bool SdDrawDocument::IsReadOnly() const
 {
diff --git a/sdext/source/presenter/PresenterScrollBar.cxx b/sdext/source/presenter/PresenterScrollBar.cxx
index bed4fcc..774d5df 100644
--- a/sdext/source/presenter/PresenterScrollBar.cxx
+++ b/sdext/source/presenter/PresenterScrollBar.cxx
@@ -693,12 +693,6 @@
     return geometry::RealPoint2D(nMinor, nMajor);
 }
 
-double PresenterVerticalScrollBar::GetMajor (const double nX, const double nY) const
-{
-    (void)nX;
-    return nY;
-}
-
 double PresenterVerticalScrollBar::GetMinor (const double nX, const double nY) const
 {
     (void)nY;
diff --git a/sdext/source/presenter/PresenterScrollBar.hxx b/sdext/source/presenter/PresenterScrollBar.hxx
index 5bac822..cc4ffc9 100644
--- a/sdext/source/presenter/PresenterScrollBar.hxx
+++ b/sdext/source/presenter/PresenterScrollBar.hxx
@@ -191,7 +191,6 @@
     virtual double GetDragDistance (const sal_Int32 nX, const sal_Int32 nY) const = 0;
     virtual void UpdateDragAnchor (const double nDragDistance) = 0;
     virtual css::geometry::RealPoint2D GetPoint (const double nMajor, const double nMinor) const = 0;
-    virtual double GetMajor (const double nX, const double nY) const = 0;
     virtual double GetMinor (const double nX, const double nY) const = 0;
     virtual void UpdateBorders (void) = 0;
     virtual void UpdateBitmaps (void) = 0;
@@ -260,7 +259,6 @@
     virtual void UpdateDragAnchor (const double nDragDistance);
     virtual css::geometry::RealPoint2D GetPoint (const double nMajor, const double nMinor) const;
     virtual double GetMinor (const double nX, const double nY) const;
-    virtual double GetMajor (const double nX, const double nY) const;
     virtual void UpdateBorders (void);
     virtual void UpdateBitmaps (void);
     virtual void PaintComposite(
diff --git a/sfx2/inc/sfx2/dispatch.hxx b/sfx2/inc/sfx2/dispatch.hxx
index 59e87fa..f871838 100644
--- a/sfx2/inc/sfx2/dispatch.hxx
+++ b/sfx2/inc/sfx2/dispatch.hxx
@@ -121,8 +121,6 @@
 
     virtual             ~SfxDispatcher();
 
-    virtual void        SetExecuteMode( sal_uInt16 );
-
     const SfxPoolItem*  Execute( sal_uInt16 nSlot,
                                  SfxCallMode nCall = SFX_CALLMODE_SLOT,
                                  const SfxPoolItem **pArgs = 0,
diff --git a/sfx2/inc/sfx2/objsh.hxx b/sfx2/inc/sfx2/objsh.hxx
index 6a7dfb5..5d597a8 100644
--- a/sfx2/inc/sfx2/objsh.hxx
+++ b/sfx2/inc/sfx2/objsh.hxx
@@ -500,8 +500,6 @@
     virtual void                SetOrganizerSearchMask(
                                     SfxStyleSheetBasePool* ) const;
 
-    virtual sal_uInt16          GetContentCount( sal_uInt16 nIdx1 = INDEX_IGNORE );
-
     virtual sal_Bool            CanHaveChildren(
                                         sal_uInt16 nIdx1,
                                         sal_uInt16 nIdx2 = INDEX_IGNORE
@@ -514,8 +512,6 @@
                                         sal_uInt16 nPos,
                                         sal_uInt16 nIdx1
                                 );
-
-    virtual void                TriggerHelpPI( sal_uInt16 nIdx1, sal_uInt16 nIdx2 );
 
     virtual Bitmap              GetStyleFamilyBitmap(SfxStyleFamily eFamily);
 
diff --git a/sfx2/inc/sfx2/shell.hxx b/sfx2/inc/sfx2/shell.hxx
index 880c83d..344294a 100644
--- a/sfx2/inc/sfx2/shell.hxx
+++ b/sfx2/inc/sfx2/shell.hxx
@@ -173,9 +173,6 @@
                                 TYPEINFO();
     virtual                     ~SfxShell();
 
-    // TODO/CLEANUP: still needed?!
-    virtual SvGlobalName        GetGlobalName() const;
-
     virtual SfxInterface*       GetInterface() const;
     static SfxInterface*        GetStaticInterface() { return 0; }
 
diff --git a/sfx2/source/control/dispatch.cxx b/sfx2/source/control/dispatch.cxx
index 6e81c0b..bc175d2 100644
--- a/sfx2/source/control/dispatch.cxx
+++ b/sfx2/source/control/dispatch.cxx
@@ -146,7 +146,6 @@
                                         // 2==ReadOnlyDoc overturned
     sal_uInt16           nFilterCount;  // Number of SIDs in pFilterSIDs
     const sal_uInt16*    pFilterSIDs;   // sorted Array of SIDs
-    sal_uInt16           nStandardMode; // ExecuteMode from PlugInDispatcher
     std::vector<sal_uInt16>* pDisableList;
     sal_uInt32           nDisableFlags;
 };
@@ -325,7 +324,6 @@
     pImp->bFilterEnabling = sal_False;
     pImp->nFilterCount = 0;
     pImp->pFilterSIDs = 0;
-    pImp->nStandardMode = 0;
     pImp->pDisableList = pSfxApp->GetDisabledSlotList_Impl();
     pImp->nDisableFlags = 0;
 
@@ -2221,11 +2219,6 @@
     SfxBindings* pBindings = GetBindings();
     if ( pBindings )
         pBindings->InvalidateAll(sal_True);
-}
-
-void SfxDispatcher::SetExecuteMode( sal_uInt16 nMode )
-{
-    pImp->nStandardMode = nMode;
 }
 
 SfxItemState SfxDispatcher::QueryState( sal_uInt16 nSlot, const SfxPoolItem* &rpState )
diff --git a/sfx2/source/control/shell.cxx b/sfx2/source/control/shell.cxx
index db940f0..8c1de06 100644
--- a/sfx2/source/control/shell.cxx
+++ b/sfx2/source/control/shell.cxx
@@ -195,21 +195,6 @@
 
 //--------------------------------------------------------------------
 
-SvGlobalName SfxShell::GetGlobalName() const
-
-/*  [Description]
-
-    Provides the Global Unique Identifier of the Shell object. With this name
-    can the SfxShell instance for example be expressed via OLE Automation, or
-    be found in the Registration Database.
-*/
-
-{
-    return SvGlobalName();
-}
-
-//--------------------------------------------------------------------
-
 SfxDispatcher* SfxShell::GetDispatcher() const
 
 /*  [Description]
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx
index cafd127..2d1eae7 100644
--- a/sfx2/source/doc/objcont.cxx
+++ b/sfx2/source/doc/objcont.cxx
@@ -313,38 +313,6 @@
 
 //--------------------------------------------------------------------
 
-sal_uInt16 SfxObjectShell::GetContentCount(sal_uInt16 nIdx)
-{
-    switch(nIdx)
-    {
-        case INDEX_IGNORE:
-            return DEF_CONTENT_COUNT;
-        case CONTENT_STYLE:
-        {
-            SfxStyleSheetBasePool *pStylePool = GetStyleSheetPool();
-            if(!pStylePool)
-                return 0;
-            SetOrganizerSearchMask(pStylePool);
-            return pStylePool->Count();
-        }
-        case CONTENT_MACRO:
-            break;
-    }
-    return 0;
-}
-
-
-//--------------------------------------------------------------------
-//TODO/CLEANUP: remove this method
-void  SfxObjectShell::TriggerHelpPI(sal_uInt16 nIdx1, sal_uInt16 nIdx2)
-{
-    if(nIdx1==CONTENT_STYLE && nIdx2 != INDEX_IGNORE) //StyleSheets
-    {
-        SfxStyleSheetBasePool *pStylePool = GetStyleSheetPool();
-        SetOrganizerSearchMask(pStylePool);
-    }
-}
-
 sal_Bool SfxObjectShell::CanHaveChildren(sal_uInt16 nIdx1, sal_uInt16 nIdx2)
 {
     switch(nIdx1)
diff --git a/slideshow/test/testshape.cxx b/slideshow/test/testshape.cxx
index 16ec235..b25ce12 100644
--- a/slideshow/test/testshape.cxx
+++ b/slideshow/test/testshape.cxx
@@ -81,11 +81,6 @@
     {
         return mnNumRenders;
     }
-    virtual sal_Int32 getAnimationCount() const
-    {
-        return mnAnimated;
-    }
-
 
     // XShape
     virtual ::rtl::OUString SAL_CALL getShapeType(  ) throw (uno::RuntimeException)
diff --git a/store/workben/t_page.cxx b/store/workben/t_page.cxx
index d36df00..95e248a 100644
--- a/store/workben/t_page.cxx
+++ b/store/workben/t_page.cxx
@@ -210,12 +210,6 @@
     }
 };
 
-class IPageAllocator
-{
-public:
-  virtual void deallocate (void * p) = 0;
-};
-
 class PageAllocator
 {
     rtl_cache_type * m_cache;
@@ -707,12 +701,10 @@
 
 /*======================================================================*/
 
-class IPageAllocator;
 class IPageAccess
 {
 public:
     virtual storeError initialize (storeAccessMode eAccessMode, sal_uInt16 nPageSize) = 0;
-    virtual IPageAllocator & getAllocator () = 0;
 
 public:
     storeError readPageAt (PageHolder & rPage, sal_uInt32 nOffset)
diff --git a/svl/inc/svl/flagitem.hxx b/svl/inc/svl/flagitem.hxx
index 3a84fea..6b0c88e 100644
--- a/svl/inc/svl/flagitem.hxx
+++ b/svl/inc/svl/flagitem.hxx
@@ -44,7 +44,6 @@
                                 DBG_DTOR(SfxFlagItem, 0); }
 
     virtual sal_uInt8            GetFlagCount() const;
-    virtual XubString        GetFlagText( sal_uInt8 nFlag ) const;
 
     virtual int              operator==( const SfxPoolItem& ) const;
     virtual SfxPoolItem*     Create(SvStream &, sal_uInt16 nVersion) const;
diff --git a/svl/source/items/flagitem.cxx b/svl/source/items/flagitem.cxx
index d2c5fbf..cf9c5a5 100644
--- a/svl/source/items/flagitem.cxx
+++ b/svl/source/items/flagitem.cxx
@@ -86,15 +86,6 @@
 
 // -----------------------------------------------------------------------
 
-XubString SfxFlagItem::GetFlagText( sal_uInt8 ) const
-{
-    DBG_CHKTHIS(SfxFlagItem, 0);
-    DBG_WARNING( "calling GetValueText(sal_uInt16) on SfxFlagItem -- overload!" );
-    return XubString();
-}
-
-// -----------------------------------------------------------------------
-
 sal_uInt8 SfxFlagItem::GetFlagCount() const
 {
     DBG_CHKTHIS(SfxFlagItem, 0);
diff --git a/svtools/Library_svt.mk b/svtools/Library_svt.mk
index dcabca0..bfd409b 100644
--- a/svtools/Library_svt.mk
+++ b/svtools/Library_svt.mk
@@ -182,7 +182,6 @@
     svtools/source/misc/transfer \
     svtools/source/misc/transfer2 \
     svtools/source/misc/unitconv \
-    svtools/source/misc/wallitem \
     svtools/source/misc/xwindowitem \
     svtools/source/svhtml/htmlkywd \
     svtools/source/svhtml/htmlout \
diff --git a/svtools/Package_inc.mk b/svtools/Package_inc.mk
index 47fdf39..1b91640 100644
--- a/svtools/Package_inc.mk
+++ b/svtools/Package_inc.mk
@@ -168,7 +168,6 @@
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/urlcontrol.hxx,svtools/urlcontrol.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/valueset.hxx,svtools/valueset.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/viewdataentry.hxx,svtools/viewdataentry.hxx))
-$(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/wallitem.hxx,svtools/wallitem.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/wizardmachine.hxx,svtools/wizardmachine.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/wizdlg.hxx,svtools/wizdlg.hxx))
 $(eval $(call gb_Package_add_file,svtools_inc,inc/svtools/xwindowitem.hxx,svtools/xwindowitem.hxx))
diff --git a/svtools/inc/svtools/treelistbox.hxx b/svtools/inc/svtools/treelistbox.hxx
index 14f97f4..30d05bd 100644
--- a/svtools/inc/svtools/treelistbox.hxx
+++ b/svtools/inc/svtools/treelistbox.hxx
@@ -560,8 +560,6 @@
     // This can be used to hide Elements which are painted from outside into the Control
     virtual void    NotifyInvalidating();
 
-    virtual sal_uLong   GetAscInsertionPos( SvTreeListEntry*, SvTreeListEntry* pParent );
-    virtual sal_uLong   GetDescInsertionPos( SvTreeListEntry*, SvTreeListEntry* pParent );
     virtual void    Command( const CommandEvent& rCEvt );
 
     virtual void    RequestHelp( const HelpEvent& rHEvt );
@@ -727,8 +725,6 @@
     virtual void    Invalidate( const Rectangle&, sal_uInt16 nFlags = 0 );
 
     void            SetHighlightRange(sal_uInt16 nFirstTab=0,sal_uInt16 nLastTab=0xffff);
-
-    virtual Region  GetDragRegion() const;
 
     // A Parent's Children are turned into Children of the Parent which comes next in hierarchy
     void            RemoveParentKeepChildren( SvTreeListEntry* pParent );
diff --git a/svtools/inc/svtools/wallitem.hxx b/svtools/inc/svtools/wallitem.hxx
deleted file mode 100644
index b84b532..0000000
--- a/svtools/inc/svtools/wallitem.hxx
+++ /dev/null
@@ -1,57 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-#ifndef _WALLITEM_HXX
-#define _WALLITEM_HXX
-
-#include <tools/shl.hxx>
-
-// -----------------------------------------------------------------------------------------
-// Hilfsklasse, um die Download-Funktionalitaet des SvxBrushItems unterhalb
-// des SVX zu benutzen. Der Link wird im Konstruktor von SvxDialogDll gesetzt.
-#ifndef _SFX_BRUSHITEMLINK_DECLARED
-#define _SFX_BRUSHITEMLINK_DECLARED
-#include <vcl/graph.hxx>
-
-#ifndef SHL_BRUSHITEM
-#define SHL_BRUSHITEM SHL_SHL1
-#endif
-
-class Window;
-class SfxItemSet;
-
-typedef void* (*CreateSvxBrushTabPage)(Window *pParent, const SfxItemSet &rAttrSet);
-typedef sal_uInt16* (*GetSvxBrushTabPageRanges)();
-
-class Graphic;
-class String;
-class SfxBrushItemLink
-{
-public:
-    virtual ~SfxBrushItemLink() = 0;
-    virtual Graphic GetGraphic( const String& rLink, const String& rFilter) = 0;
-    virtual CreateSvxBrushTabPage GetBackgroundTabpageCreateFunc() = 0;
-    virtual GetSvxBrushTabPageRanges GetBackgroundTabpageRanges() = 0;
-    static SfxBrushItemLink* Get() { return *(SfxBrushItemLink**)GetAppData(SHL_BRUSHITEM); }
-    //static void Set( SfxBrushItemLink* pLink );
-};
-#endif  // _SFX_BRUSHITEMLINK_DECLARED
-
-#endif // _WALLITEM_HXX
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx
index a8e3b14..381d0d8 100644
--- a/svtools/source/contnr/treelistbox.cxx
+++ b/svtools/source/contnr/treelistbox.cxx
@@ -3571,32 +3571,6 @@
     pImp->RecalcFocusRect();
 }
 
-sal_uLong SvTreeListBox::GetAscInsertionPos(SvTreeListEntry*,SvTreeListEntry*)
-{
-    return LIST_APPEND;
-}
-
-sal_uLong SvTreeListBox::GetDescInsertionPos(SvTreeListEntry*,SvTreeListEntry*)
-{
-    DBG_CHKTHIS(SvTreeListBox,0);
-    return LIST_APPEND;
-}
-
-Region SvTreeListBox::GetDragRegion() const
-{
-    DBG_CHKTHIS(SvTreeListBox,0);
-    Rectangle aRect;
-    SvTreeListEntry* pEntry = GetCurEntry();
-    if( pEntry )
-    {
-        Point aPos = GetEntryPosition( pEntry );
-        aRect = ((SvTreeListBox*)this)->GetFocusRect( pEntry, aPos.Y() );
-    }
-    Region aRegion( aRect );
-    return aRegion;
-}
-
-
 void SvTreeListBox::Command( const CommandEvent& rCEvt )
 {
     DBG_CHKTHIS(SvTreeListBox,0);
diff --git a/svtools/source/dialogs/filedlg2.cxx b/svtools/source/dialogs/filedlg2.cxx
index ebc9d35..210dfd4 100644
--- a/svtools/source/dialogs/filedlg2.cxx
+++ b/svtools/source/dialogs/filedlg2.cxx
@@ -616,10 +616,6 @@
     }
 }
 
-void ImpPathDialog::PostExecute()
-{
-}
-
 void ImpPathDialog::SetPath( OUString const & rPath )
 {
     aPath = DirEntry( rPath );
diff --git a/svtools/source/dialogs/filedlg2.hxx b/svtools/source/dialogs/filedlg2.hxx
index 8f6652d..07cea59 100644
--- a/svtools/source/dialogs/filedlg2.hxx
+++ b/svtools/source/dialogs/filedlg2.hxx
@@ -103,7 +103,6 @@
     virtual OUString    GetPath() const;
 
     virtual void        PreExecute();
-    virtual void        PostExecute();
 
     PathDialog*     GetPathDialog() const   { return pSvPathDialog; }
 
diff --git a/svtools/source/misc/wallitem.cxx b/svtools/source/misc/wallitem.cxx
deleted file mode 100644
index 24193e7..0000000
--- a/svtools/source/misc/wallitem.cxx
+++ /dev/null
@@ -1,43 +0,0 @@
-/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
-/*
- * This file is part of the LibreOffice project.
- *
- * This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- *
- * This file incorporates work covered by the following license notice:
- *
- *   Licensed to the Apache Software Foundation (ASF) under one or more
- *   contributor license agreements. See the NOTICE file distributed
- *   with this work for additional information regarding copyright
- *   ownership. The ASF licenses this file to you under the Apache
- *   License, Version 2.0 (the "License"); you may not use this file
- *   except in compliance with the License. You may obtain a copy of
- *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
- */
-
-#include <cppuhelper/weak.hxx>
-#include <com/sun/star/io/XOutputStream.hpp>
-#include <com/sun/star/io/XActiveDataSource.hpp>
-#include <com/sun/star/io/XActiveDataControl.hpp>
-#include <com/sun/star/lang/XMultiServiceFactory.hpp>
-
-#include <comphelper/processfactory.hxx>
-
-#include <tools/stream.hxx>
-
-#include <vcl/graph.hxx>
-#include <vcl/svapp.hxx>
-#include <vcl/wrkwin.hxx>
-#include <vcl/gradient.hxx>
-#include <vcl/cvtgrf.hxx>
-
-#include <svtools/wallitem.hxx>
-#include <svl/cntwall.hxx>
-
-SfxBrushItemLink::~SfxBrushItemLink()
-{
-}
-
-/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/svx/inc/svx/svdotext.hxx b/svx/inc/svx/svdotext.hxx
index 5f1eeac..30a923b 100644
--- a/svx/inc/svx/svdotext.hxx
+++ b/svx/inc/svx/svdotext.hxx
@@ -466,7 +466,6 @@
     void NbcSetOutlinerParaObjectForText( OutlinerParaObject* pTextObject, SdrText* pText );
     virtual OutlinerParaObject* GetOutlinerParaObject() const;
     virtual OutlinerParaObject* GetEditOutlinerParaObject() const;
-    virtual bool HasOutlinerParaObject() const;
 
     virtual void NbcReformatText();
     virtual void ReformatText();
diff --git a/svx/source/dialog/docrecovery.cxx b/svx/source/dialog/docrecovery.cxx
index 195033b..2d8d4b4 100644
--- a/svx/source/dialog/docrecovery.cxx
+++ b/svx/source/dialog/docrecovery.cxx
@@ -153,38 +153,6 @@
 }
 
 //===============================================
-sal_Bool RecoveryCore::existsBrokenTempEntries()
-{
-    TURLList::const_iterator pIt;
-    for (  pIt  = m_lURLs.begin();
-           pIt != m_lURLs.end()  ;
-         ++pIt                   )
-    {
-        const TURLInfo& rInfo = *pIt;
-        if (RecoveryCore::isBrokenTempEntry(rInfo))
-            return sal_True;
-    }
-
-    return sal_False;
-}
-
-//===============================================
-sal_Bool RecoveryCore::existsNonRecoveredEntries()
-{
-    TURLList::const_iterator pIt;
-    for (  pIt  = m_lURLs.begin();
-           pIt != m_lURLs.end()  ;
-         ++pIt                   )
-    {
-        const TURLInfo& rInfo = *pIt;
-        if (rInfo.RecoveryState == E_NOT_RECOVERED_YET)
-            return sal_True;
-    }
-
-    return sal_False;
-}
-
-//===============================================
 sal_Bool RecoveryCore::isBrokenTempEntry(const TURLInfo& rInfo)
 {
     if (rInfo.TempURL.isEmpty())
diff --git a/svx/source/inc/docrecovery.hxx b/svx/source/inc/docrecovery.hxx
index af39887..d4ba999 100644
--- a/svx/source/inc/docrecovery.hxx
+++ b/svx/source/inc/docrecovery.hxx
@@ -246,8 +246,6 @@
 
         //---------------------------------------
         /** @short  TODO */
-        virtual sal_Bool existsBrokenTempEntries();
-        virtual sal_Bool existsNonRecoveredEntries();
         static sal_Bool isBrokenTempEntry(const TURLInfo& rInfo);
         virtual void saveBrokenTempEntries(const ::rtl::OUString& sSaveDir);
         virtual void saveAllTempEntries(const ::rtl::OUString& sSaveDir);
diff --git a/svx/source/svdraw/svdotext.cxx b/svx/source/svdraw/svdotext.cxx
index 646e664..763465a 100644
--- a/svx/source/svdraw/svdotext.cxx
+++ b/svx/source/svdraw/svdotext.cxx
@@ -1343,14 +1343,6 @@
         return 0;
 }
 
-bool SdrTextObj::HasOutlinerParaObject() const
-{
-    SdrText* pText = getActiveText();
-    if( pText && pText->GetOutlinerParaObject() )
-        return true;
-    return false;
-}
-
 void SdrTextObj::NbcSetOutlinerParaObject(OutlinerParaObject* pTextObject)
 {
     NbcSetOutlinerParaObjectForText( pTextObject, getActiveText() );
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 3341eaf..5e4f4c7 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -431,7 +431,6 @@
     virtual sal_uLong Write( SwPaM&, const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >&, const String* = 0, SfxMedium* = 0 );
     virtual sal_uLong Write( SwPaM&, SotStorage&, const String* = 0 );
 
-    virtual void SetPasswd( const String& );
     virtual void SetVersion( const String&, long );
     virtual sal_Bool IsStgWriter() const;
 
diff --git a/sw/inc/swabstdlg.hxx b/sw/inc/swabstdlg.hxx
index 0551921..51d2890 100644
--- a/sw/inc/swabstdlg.hxx
+++ b/sw/inc/swabstdlg.hxx
@@ -119,14 +119,6 @@
     virtual void    SetText( const OUString& rStr ) = 0;
 };
 
-class AbstractInsertGrfRulerDlg : public VclAbstractDialog  //add for SwInsertGrfRulerDlg
-{
-public:
-    virtual String          GetGraphicName() = 0;
-    virtual sal_Bool            IsSimpleLine() = 0;
-    virtual sal_Bool            HasImages() const  = 0;
-};
-
 class AbstractInsTableDlg : public VclAbstractDialog  //add for SwInsTableDlg
 {
 public:
diff --git a/sw/source/core/draw/dflyobj.cxx b/sw/source/core/draw/dflyobj.cxx
index 016b1cd..7d8ad39 100644
--- a/sw/source/core/draw/dflyobj.cxx
+++ b/sw/source/core/draw/dflyobj.cxx
@@ -142,11 +142,6 @@
 }
 
 
-sal_uInt16 SwFlyDrawObj::GetObjVersion() const
-{
-    return SwDrawFirst;
-}
-
 // SwVirtFlyDrawObj::CToren, Dtor
 
 // AW: Need own primitive to get the FlyFrame paint working
diff --git a/sw/source/core/inc/dflyobj.hxx b/sw/source/core/inc/dflyobj.hxx
index 4022693..5dd9133 100644
--- a/sw/source/core/inc/dflyobj.hxx
+++ b/sw/source/core/inc/dflyobj.hxx
@@ -31,7 +31,6 @@
                                 sal_uInt32('G')*0x00010000;
 
 const sal_uInt16 SwFlyDrawObjIdentifier = 0x0001;
-const sal_uInt16 SwDrawFirst            = 0x0001;
 
 // DrawObjects for Flys
 class SwFlyDrawObj : public SdrObject
@@ -53,7 +52,6 @@
     // for instantiation of this class while loading (via factory)
     virtual sal_uInt32 GetObjInventor()     const;
     virtual sal_uInt16 GetObjIdentifier()   const;
-    virtual sal_uInt16 GetObjVersion()      const;
 };
 
 // virtual objects for Flys
diff --git a/sw/source/core/inc/swblocks.hxx b/sw/source/core/inc/swblocks.hxx
index af1af91..74f7f71 100644
--- a/sw/source/core/inc/swblocks.hxx
+++ b/sw/source/core/inc/swblocks.hxx
@@ -111,7 +111,6 @@
     virtual sal_uLong Rename( sal_uInt16, const String&, const String& ) = 0;
     virtual sal_uLong CopyBlock( SwImpBlocks& rImp, String& rShort, const String& rLong) = 0;
     virtual sal_uLong GetDoc( sal_uInt16 ) = 0;
-    virtual sal_uLong GetDocForConversion( sal_uInt16 );
     virtual sal_uLong BeginPutDoc( const String&, const String& ) = 0;
     virtual sal_uLong PutDoc() = 0;
     virtual sal_uLong GetText( sal_uInt16, String& ) = 0;
diff --git a/sw/source/core/swg/swblocks.cxx b/sw/source/core/swg/swblocks.cxx
index 6eed03b..e122e51 100644
--- a/sw/source/core/swg/swblocks.cxx
+++ b/sw/source/core/swg/swblocks.cxx
@@ -113,11 +113,6 @@
     pDoc->ClearDoc();
 }
 
-sal_uLong SwImpBlocks::GetDocForConversion( sal_uInt16 n )
-{
-    return GetDoc( n );
-}
-
 // Erzeugen eines PaMs, der das ganze Dokument umfasst
 SwPaM* SwImpBlocks::MakePaM()
 {
diff --git a/sw/source/filter/basflt/fltini.cxx b/sw/source/filter/basflt/fltini.cxx
index 2cf90c2..51bce34 100644
--- a/sw/source/filter/basflt/fltini.cxx
+++ b/sw/source/filter/basflt/fltini.cxx
@@ -200,9 +200,6 @@
 
 } // namespace SwReaderWriter
 
-void Writer::SetPasswd( const String& ) {}
-
-
 void Writer::SetVersion( const String&, long ) {}
 
 
diff --git a/tools/inc/tools/shl.hxx b/tools/inc/tools/shl.hxx
index 404298a..611d254 100644
--- a/tools/inc/tools/shl.hxx
+++ b/tools/inc/tools/shl.hxx
@@ -76,7 +76,7 @@
 //48 (SHL_MONEY) removed
 //49 (SHL_HBCI) removed
 //50 (SHL_BASE3D) removed
-#define SHL_BRUSHITEM   51
+//51 (SHL_BRUSHITEM) removed
 //52 (SHL_SFONTITEM) removed
 
 // #110743#
diff --git a/vcl/inc/vcl/edit.hxx b/vcl/inc/vcl/edit.hxx
index 178e3d8..4d5f039 100644
--- a/vcl/inc/vcl/edit.hxx
+++ b/vcl/inc/vcl/edit.hxx
@@ -219,7 +219,6 @@
     virtual void        SetModifyHdl( const Link& rLink ) { maModifyHdl = rLink; }
     virtual const Link& GetModifyHdl() const { return maModifyHdl; }
     virtual void        SetUpdateDataHdl( const Link& rLink ) { maUpdateDataHdl = rLink; }
-    virtual const Link& GetUpdateDataHdl() const { return maUpdateDataHdl; }
 
     void                SetSubEdit( Edit* pEdit );
     Edit*               GetSubEdit() const { return mpSubEdit; }
diff --git a/vcl/inc/vcl/fontmanager.hxx b/vcl/inc/vcl/fontmanager.hxx
index ea2473f..94f905d 100644
--- a/vcl/inc/vcl/fontmanager.hxx
+++ b/vcl/inc/vcl/fontmanager.hxx
@@ -530,21 +530,6 @@
 
     // font administration functions
 
-    // for importFonts to provide the user feedback
-    class ImportFontCallback
-    {
-    public:
-        enum FailCondition { NoWritableDirectory, NoAfmMetric, AfmCopyFailed, FontCopyFailed };
-        virtual void importFontsFailed( FailCondition eReason ) = 0;
-        virtual void progress( const rtl::OUString& rFile ) = 0;
-        virtual bool queryOverwriteFile( const rtl::OUString& rFile ) = 0;
-        virtual void importFontFailed( const rtl::OUString& rFile, FailCondition ) = 0;
-        virtual bool isCanceled() = 0;
-
-    protected:
-        ~ImportFontCallback() {}
-    };
-
     /*  system dependendent font matching
 
     <p>
diff --git a/vcl/inc/vcl/svapp.hxx b/vcl/inc/vcl/svapp.hxx
index a3eb6b7..b8a25b9 100644
--- a/vcl/inc/vcl/svapp.hxx
+++ b/vcl/inc/vcl/svapp.hxx
@@ -159,9 +159,6 @@
 
     virtual void                UserEvent( sal_uLong nEvent, void* pEventData );
 
-    virtual void                ActivateExtHelp();
-    virtual void                DeactivateExtHelp();
-
     virtual void                FocusChanged();
     virtual void                DataChanged( const DataChangedEvent& rDCEvt );
 
diff --git a/vcl/inc/vcl/vclmedit.hxx b/vcl/inc/vcl/vclmedit.hxx
index eddace7..353cc94 100644
--- a/vcl/inc/vcl/vclmedit.hxx
+++ b/vcl/inc/vcl/vclmedit.hxx
@@ -110,7 +110,6 @@
     const Link&     GetModifyHdl() const                { return aModifyHdlLink; }
 
     void            SetUpdateDataHdl( const Link& rLink ) { aUpdateDataHdlLink = rLink; }
-    const Link&     GetUpdateDataHdl() const { return aUpdateDataHdlLink; }
 
     virtual void    Resize();
     virtual void    GetFocus();
diff --git a/vcl/source/app/svapp.cxx b/vcl/source/app/svapp.cxx
index 9182b1c..c9a2b5d 100644
--- a/vcl/source/app/svapp.cxx
+++ b/vcl/source/app/svapp.cxx
@@ -247,18 +247,6 @@
 
 // -----------------------------------------------------------------------
 
-void Application::ActivateExtHelp()
-{
-}
-
-// -----------------------------------------------------------------------
-
-void Application::DeactivateExtHelp()
-{
-}
-
-// -----------------------------------------------------------------------
-
 void Application::FocusChanged()
 {
 }
diff --git a/xmloff/inc/xmloff/xmlnume.hxx b/xmloff/inc/xmloff/xmlnume.hxx
index dca651d..93a7260 100644
--- a/xmloff/inc/xmloff/xmlnume.hxx
+++ b/xmloff/inc/xmloff/xmlnume.hxx
@@ -75,8 +75,6 @@
 
     SvXMLExport& GetExport() { return rExport; }
 
-     virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexReplace >  GetUNONumRule() const;
-
 public:
 
     SvxXMLNumRuleExport( SvXMLExport& rExport );
diff --git a/xmloff/source/style/xmlnume.cxx b/xmloff/source/style/xmlnume.cxx
index 871c702..3648605 100644
--- a/xmloff/source/style/xmlnume.cxx
+++ b/xmloff/source/style/xmlnume.cxx
@@ -644,11 +644,6 @@
 }
 
 
-uno::Reference< ::com::sun::star::container::XIndexReplace >  SvxXMLNumRuleExport::GetUNONumRule() const
-{
-    return uno::Reference< ::com::sun::star::container::XIndexReplace > ();
-}
-
 void SvxXMLNumRuleExport::AddListStyleAttributes()
 {
 }
diff --git a/xmloff/source/text/XMLAutoTextEventExport.cxx b/xmloff/source/text/XMLAutoTextEventExport.cxx
index 48175de..945b815 100644
--- a/xmloff/source/text/XMLAutoTextEventExport.cxx
+++ b/xmloff/source/text/XMLAutoTextEventExport.cxx
@@ -211,7 +211,6 @@
 void XMLAutoTextEventExport::_ExportStyles( sal_Bool ) {}
 void XMLAutoTextEventExport::_ExportAutoStyles() {}
 void XMLAutoTextEventExport::_ExportMasterStyles() {}
-void XMLAutoTextEventExport::_ExportChangeTracking() {}
 void XMLAutoTextEventExport::_ExportContent() {}
 
 
diff --git a/xmloff/source/text/XMLAutoTextEventExport.hxx b/xmloff/source/text/XMLAutoTextEventExport.hxx
index ed0e50f..c90615b 100644
--- a/xmloff/source/text/XMLAutoTextEventExport.hxx
+++ b/xmloff/source/text/XMLAutoTextEventExport.hxx
@@ -95,7 +95,6 @@
     virtual void _ExportStyles( sal_Bool bUsed ) ;
     virtual void _ExportAutoStyles();
     virtual void _ExportMasterStyles();
-    virtual void _ExportChangeTracking();
     virtual void _ExportContent();
 };
 

-- 
To view, visit https://gerrit.libreoffice.org/2524
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I59228cba1444b7b09f74eb5cf8da9b755c7c32f7
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Thomas Arnhold <thomas at arnhold.org>



More information about the LibreOffice mailing list