summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-16 23:06:13 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-17 09:54:13 +0100
commit7acd9e2c28911003511de641cfd18b86bde7d808 (patch)
tree17d19f4778f0df9a9557d827ea0b6b43757750ec
parent9b845e5814ba8f251986494bed4ec3c64bddcfd3 (diff)
callcatcher: remove some methods
-rw-r--r--lotuswordpro/source/filter/lwplayout.cxx7
-rw-r--r--lotuswordpro/source/filter/lwplayout.hxx1
-rw-r--r--lotuswordpro/source/filter/lwplaypiece.hxx1
-rw-r--r--lotuswordpro/source/filter/lwpobjid.cxx36
-rw-r--r--lotuswordpro/source/filter/lwpobjid.hxx2
-rw-r--r--lotuswordpro/source/filter/lwpobjstrm.cxx11
-rw-r--r--lotuswordpro/source/filter/lwpobjstrm.hxx1
-rw-r--r--sfx2/inc/resmgr.hxx3
-rw-r--r--sfx2/inc/sfx2/app.hxx2
-rw-r--r--sfx2/inc/sfx2/docfile.hxx2
-rw-r--r--sfx2/inc/sfx2/doctdlg.hxx2
-rw-r--r--sfx2/inc/sfx2/mnuitem.hxx1
-rw-r--r--sfx2/inc/sfx2/mnumgr.hxx4
-rw-r--r--sfx2/source/appl/app.cxx14
-rw-r--r--sfx2/source/appl/appmisc.cxx1
-rw-r--r--sfx2/source/doc/docfile.cxx14
-rw-r--r--sfx2/source/doc/doctdlg.cxx19
-rw-r--r--sfx2/source/menu/mnuitem.cxx30
-rw-r--r--sfx2/source/menu/mnumgr.cxx78
-rw-r--r--sot/source/sdstor/stgelem.cxx13
-rw-r--r--sot/source/sdstor/stgelem.hxx2
-rw-r--r--svl/inc/svl/filerec.hxx28
-rw-r--r--svl/source/filerec/filerec.cxx39
-rw-r--r--unusedcode.easy33
24 files changed, 0 insertions, 344 deletions
diff --git a/lotuswordpro/source/filter/lwplayout.cxx b/lotuswordpro/source/filter/lwplayout.cxx
index 9bbad2fd756b..2bb90d7cccb2 100644
--- a/lotuswordpro/source/filter/lwplayout.cxx
+++ b/lotuswordpro/source/filter/lwplayout.cxx
@@ -944,13 +944,6 @@ sal_uInt16 LwpMiddleLayout::GetScaleMode(void)
return (LwpLayoutScale::FIT_IN_FRAME | LwpLayoutScale::MAINTAIN_ASPECT_RATIO);
}
-void LwpMiddleLayout::SetScaleMode(sal_uInt16 nVal)
-{
- m_nOverrideFlag |= OVER_SCALING;
-// nVal |= LwpLayoutScale::MAINTAIN_ASPECT_RATIO;
- GetLayoutScale()->SetScaleMode(nVal);
-}
-
sal_uInt16 LwpMiddleLayout::GetScaleTile(void)
{
if ((m_nOverrideFlag & OVER_SCALING) && m_LayScale.obj())
diff --git a/lotuswordpro/source/filter/lwplayout.hxx b/lotuswordpro/source/filter/lwplayout.hxx
index abe582dcf7e6..39f82e98d050 100644
--- a/lotuswordpro/source/filter/lwplayout.hxx
+++ b/lotuswordpro/source/filter/lwplayout.hxx
@@ -305,7 +305,6 @@ public:
LwpLayoutScale* GetLayoutScale(){return dynamic_cast<LwpLayoutScale*>(m_LayScale.obj());}
sal_uInt16 GetScaleMode(void);
- void SetScaleMode(sal_uInt16 nVal);
sal_uInt16 GetScaleTile(void);
void SetScaleTile(sal_uInt16 nVal);
sal_uInt16 GetScaleCenter(void);
diff --git a/lotuswordpro/source/filter/lwplaypiece.hxx b/lotuswordpro/source/filter/lwplaypiece.hxx
index ea1e386cd541..74a22474177e 100644
--- a/lotuswordpro/source/filter/lwplaypiece.hxx
+++ b/lotuswordpro/source/filter/lwplaypiece.hxx
@@ -113,7 +113,6 @@ public:
virtual ~LwpLayoutScale();
virtual void Parse(IXFStream* pOutputStream);
sal_uInt16 GetScaleMode(){return m_nScaleMode;}
- void SetScaleMode(sal_uInt16 nVal){m_nScaleMode = nVal;}
sal_uInt32 GetScalePercentage(){return m_nScalePercentage;}
void SetScalePercentage(sal_uInt32 nVal){m_nScalePercentage = nVal;}
sal_Int32 GetScaleWidth(){return m_nScaleWidth;}
diff --git a/lotuswordpro/source/filter/lwpobjid.cxx b/lotuswordpro/source/filter/lwpobjid.cxx
index a0c6605369de..78268669d740 100644
--- a/lotuswordpro/source/filter/lwpobjid.cxx
+++ b/lotuswordpro/source/filter/lwpobjid.cxx
@@ -156,29 +156,6 @@ sal_uInt32 LwpObjectID::ReadIndexed(LwpObjectStream *pStrm)
return DiskSizeIndexed();
}
/**
- * @descr Read object id with compressed format from stream
- * if diff == 255: 255+lowid+highid
- * else lowid equals to the lowid of previous low id
- * and high id = the high id of previous id + diff +1
-*/
-sal_uInt32 LwpObjectID::ReadCompressed( LwpSvStream* pStrm, LwpObjectID &prev )
-{
- sal_uInt32 len=0;
- sal_uInt8 diff;
-
- len = pStrm->Read( &diff, sizeof(diff));
- if (diff == 255)
- {
- len += Read(pStrm);
- }
- else
- {
- m_nLow = prev.GetLow();
- m_nHigh = prev.GetHigh() + diff +1;
- }
- return len;
-}
-/**
* @descr Read object id with compressed format from object stream
* if diff == 255: 255+lowid+highid
* else lowid equals to the lowid of previous low id
@@ -237,18 +214,5 @@ LwpObject* LwpObjectID::obj(VO_TYPE tag) const
}
return(pObj);
}
-/**
- * @descr returns a buffer that contains the highid + lowid
- */
-sal_Char* LwpObjectID::GetBuffer(sal_Char *buf)
-{
- buf[0] = m_nHigh && 0xFF00;
- buf[1] = m_nHigh && 0x00FF;
- buf[2] = m_nLow && 0xFF000000;
- buf[3] = m_nLow && 0x00FF0000;
- buf[4] = m_nLow && 0x0000FF00;
- buf[5] = m_nLow && 0x000000FF;
- return buf;
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lotuswordpro/source/filter/lwpobjid.hxx b/lotuswordpro/source/filter/lwpobjid.hxx
index 284e4a721428..0c54a2bd4d8c 100644
--- a/lotuswordpro/source/filter/lwpobjid.hxx
+++ b/lotuswordpro/source/filter/lwpobjid.hxx
@@ -88,7 +88,6 @@ public:
sal_uInt32 Read( LwpObjectStream *pStrm );
sal_uInt32 ReadIndexed( LwpSvStream* pStrm );
sal_uInt32 ReadIndexed( LwpObjectStream *pStrm );
- sal_uInt32 ReadCompressed( LwpSvStream* pStrm, LwpObjectID &prev );
sal_uInt32 ReadCompressed( LwpObjectStream* pObj, LwpObjectID& prev );
sal_uInt32 DiskSize() const;
@@ -103,7 +102,6 @@ public:
sal_Bool operator == (const LwpObjectID &Other) const;
sal_Bool operator != (const LwpObjectID &Other) const;
- sal_Char* GetBuffer(sal_Char* buf);
LwpObject* obj(VO_TYPE tag=VO_INVALID) const;
size_t HashCode() const;
};
diff --git a/lotuswordpro/source/filter/lwpobjstrm.cxx b/lotuswordpro/source/filter/lwpobjstrm.cxx
index d6c6fc8851dc..c7a31773ace8 100644
--- a/lotuswordpro/source/filter/lwpobjstrm.cxx
+++ b/lotuswordpro/source/filter/lwpobjstrm.cxx
@@ -258,17 +258,6 @@ sal_Int16 LwpObjectStream::QuickReadInt16(bool *pFailure)
return static_cast<sal_Int16>(SVBT16ToShort(aValue));
}
/**
- * @descr Quick read sal_Int8
- */
-sal_Int8 LwpObjectStream::QuickReadInt8(bool *pFailure)
-{
- SVBT8 aValue = {0};
- sal_uInt16 nRead = QuickRead(aValue, sizeof(aValue));
- if (pFailure)
- *pFailure = (nRead != sizeof(aValue));
- return static_cast<sal_Int8>(SVBT8ToByte(aValue));
-}
-/**
* @descr Quick read sal_uInt8
*/
sal_uInt8 LwpObjectStream::QuickReaduInt8(bool *pFailure)
diff --git a/lotuswordpro/source/filter/lwpobjstrm.hxx b/lotuswordpro/source/filter/lwpobjstrm.hxx
index 3c77bff05837..60f2ce3365dc 100644
--- a/lotuswordpro/source/filter/lwpobjstrm.hxx
+++ b/lotuswordpro/source/filter/lwpobjstrm.hxx
@@ -102,7 +102,6 @@ public:
sal_uInt8 QuickReaduInt8(bool *pFailure=NULL);
sal_Int32 QuickReadInt32(bool *pFailure=NULL);
sal_Int16 QuickReadInt16(bool *pFailure=NULL);
- sal_Int8 QuickReadInt8(bool *pFailure=NULL);
double QuickReadDouble(bool *pFailure=NULL);
OUString QuickReadStringPtr();
diff --git a/sfx2/inc/resmgr.hxx b/sfx2/inc/resmgr.hxx
index 3e0fc3cfc1c5..09bdca5dee1a 100644
--- a/sfx2/inc/resmgr.hxx
+++ b/sfx2/inc/resmgr.hxx
@@ -69,9 +69,6 @@ public:
SfxMessageDescription* CreateDescription( sal_uInt16 nId );
};
-
-#define SFX_RESMANAGER() SFX_APP()->GetResourceManager()
-
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/inc/sfx2/app.hxx b/sfx2/inc/sfx2/app.hxx
index 060af28b087f..ca78c56ad1b9 100644
--- a/sfx2/inc/sfx2/app.hxx
+++ b/sfx2/inc/sfx2/app.hxx
@@ -162,7 +162,6 @@ public:
static SfxApplication* GetOrCreate();
// Resource Manager
- SfxResourceManager& GetResourceManager() const;
ResMgr* GetSfxResManager();
static ResMgr* CreateResManager( const char *pPrefix );
@@ -182,7 +181,6 @@ public:
// "static" methods
sal_uIntPtr LoadTemplate( SfxObjectShellLock& xDoc, const String& rFileName, sal_Bool bCopy=sal_True, SfxItemSet* pArgs = 0 );
- ::com::sun::star::uno::Reference< ::com::sun::star::task::XStatusIndicator > GetStatusIndicator() const;
SfxTemplateDialog* GetTemplateDialog();
Window* GetTopWindow() const;
diff --git a/sfx2/inc/sfx2/docfile.hxx b/sfx2/inc/sfx2/docfile.hxx
index af6ba04bfc49..dba159d3d928 100644
--- a/sfx2/inc/sfx2/docfile.hxx
+++ b/sfx2/inc/sfx2/docfile.hxx
@@ -145,7 +145,6 @@ public:
void SetReferer( const String& rRefer );
const String& GetReferer( ) const;
- sal_Bool Exists( sal_Bool bForceSession = sal_True );
void SetFilter(const SfxFilter *pFlt, sal_Bool bResetOrig = sal_False);
const SfxFilter * GetFilter() const { return pFilter; }
const SfxFilter * GetOrigFilter( sal_Bool bNotCurrent = sal_False ) const;
@@ -167,7 +166,6 @@ public:
const String& GetPhysicalName() const;
sal_Bool IsRemote();
sal_Bool IsOpen() const; // { return aStorage.Is() || pInStream; }
- void StartDownload();
void DownLoad( const Link& aLink = Link());
void SetDoneLink( const Link& rLink );
Link GetDoneLink( ) const;
diff --git a/sfx2/inc/sfx2/doctdlg.hxx b/sfx2/inc/sfx2/doctdlg.hxx
index 8d8e7dfdd546..9d3261bb12d3 100644
--- a/sfx2/inc/sfx2/doctdlg.hxx
+++ b/sfx2/inc/sfx2/doctdlg.hxx
@@ -75,8 +75,6 @@ public:
String GetTemplateName() const
{ return aNameEd.GetText().EraseLeadingChars(); }
- String GetTemplatePath();
- void NewTemplate(const String &rPath);
sal_uInt16 GetRegion() const { return aRegionLb.GetSelectEntryPos(); }
String GetRegionName() const { return aRegionLb.GetSelectEntry(); }
};
diff --git a/sfx2/inc/sfx2/mnuitem.hxx b/sfx2/inc/sfx2/mnuitem.hxx
index a4b990c63b1f..5d39f178fbee 100644
--- a/sfx2/inc/sfx2/mnuitem.hxx
+++ b/sfx2/inc/sfx2/mnuitem.hxx
@@ -79,7 +79,6 @@ public:
static SfxMenuControl* CreateControl( sal_uInt16 nId, Menu &, SfxBindings & );
static SfxUnoMenuControl* CreateControl( const String&, sal_uInt16, Menu&, SfxBindings&, SfxVirtualMenu* );
static SfxUnoMenuControl* CreateControl( const String&, sal_uInt16, Menu&, const String& sItemText, SfxBindings&, SfxVirtualMenu* );
- static sal_Bool IsSpecialControl( sal_uInt16 nId, SfxModule* );
static void RegisterMenuControl(SfxModule*, SfxMenuCtrlFactory*);
};
diff --git a/sfx2/inc/sfx2/mnumgr.hxx b/sfx2/inc/sfx2/mnumgr.hxx
index 49ff8fa47d84..c95b31b4f38f 100644
--- a/sfx2/inc/sfx2/mnumgr.hxx
+++ b/sfx2/inc/sfx2/mnumgr.hxx
@@ -75,8 +75,6 @@ protected:
sal_uInt32 GetType() { return nType; }
public:
- void UseDefault();
-
DECL_LINK( Select, Menu* );
SfxVirtualMenu* GetMenu() const
@@ -87,8 +85,6 @@ public:
void SetResMgr(ResMgr* pMgr) {pResMgr = pMgr; }
ResMgr* GetResMgr() const { return pResMgr; }
void SetPopupMenu( sal_uInt16 nId, PopupMenu *pMenu );
-
- void Construct_Impl( Menu* pMenu, sal_Bool bWithHelp );
};
//--------------------------------------------------------------------
diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx
index 1c552ca756e7..ed3695cdb940 100644
--- a/sfx2/source/appl/app.cxx
+++ b/sfx2/source/appl/app.cxx
@@ -583,20 +583,6 @@ Window* SfxApplication::GetTopWindow() const
return pWork ? pWork->GetWindow() : NULL;
}
-//--------------------------------------------------------------------
-
-uno::Reference< task::XStatusIndicator > SfxApplication::GetStatusIndicator() const
-{
- if ( !pAppData_Impl->pViewFrame )
- return uno::Reference< task::XStatusIndicator >();
-
- SfxViewFrame *pTop = pAppData_Impl->pViewFrame;
- while ( pTop->GetParentViewFrame_Impl() )
- pTop = pTop->GetParentViewFrame_Impl();
-
- return pTop->GetFrame().GetWorkWindow_Impl()->GetStatusIndicator();
-}
-
SfxTbxCtrlFactArr_Impl& SfxApplication::GetTbxCtrlFactories_Impl() const
{
return *pAppData_Impl->pTbxCtrlFac;
diff --git a/sfx2/source/appl/appmisc.cxx b/sfx2/source/appl/appmisc.cxx
index 767e514dcba3..fffecd3f348e 100644
--- a/sfx2/source/appl/appmisc.cxx
+++ b/sfx2/source/appl/appmisc.cxx
@@ -276,7 +276,6 @@ ISfxTemplateCommon* SfxApplication::GetCurrentTemplateCommon( SfxBindings& rBind
return 0;
}
-SfxResourceManager& SfxApplication::GetResourceManager() const { return *pAppData_Impl->pResMgr; }
sal_Bool SfxApplication::IsDowning() const { return pAppData_Impl->bDowning; }
SfxDispatcher* SfxApplication::GetAppDispatcher_Impl() { return pAppData_Impl->pAppDispat; }
SfxSlotPool& SfxApplication::GetAppSlotPool_Impl() const { return *pAppData_Impl->pSlotPool; }
diff --git a/sfx2/source/doc/docfile.cxx b/sfx2/source/doc/docfile.cxx
index 5f925b0485b4..184768eb2000 100644
--- a/sfx2/source/doc/docfile.cxx
+++ b/sfx2/source/doc/docfile.cxx
@@ -2380,12 +2380,6 @@ void SfxMedium::SetDataAvailableLink( const Link& rLink )
pImp->aAvailableLink = rLink;
}
-//----------------------------------------------------------------
-void SfxMedium::StartDownload()
-{
- GetInStream();
-}
-
void SfxMedium::DownLoad( const Link& aLink )
{
SetDoneLink( aLink );
@@ -2774,14 +2768,6 @@ void SfxMedium::SetPhysicalName_Impl( const String& rNameP )
//------------------------------------------------------------------
-sal_Bool SfxMedium::Exists( sal_Bool /*bForceSession*/ )
-{
- OSL_FAIL( "Not implemented!" );
- return sal_True;
-}
-
-//------------------------------------------------------------------
-
void SfxMedium::ReOpen()
{
sal_Bool bUseInteractionHandler = pImp->bUseInteractionHandler;
diff --git a/sfx2/source/doc/doctdlg.cxx b/sfx2/source/doc/doctdlg.cxx
index 222cfaf328e7..360b1fec8a72 100644
--- a/sfx2/source/doc/doctdlg.cxx
+++ b/sfx2/source/doc/doctdlg.cxx
@@ -214,23 +214,4 @@ IMPL_LINK( SfxDocumentTemplateDlg, NameModify, Edit *, pBox )
return 0;
}
-//-------------------------------------------------------------------------
-
-String SfxDocumentTemplateDlg::GetTemplatePath()
-{
- const String& rPath=GetTemplateName();
- if(pTemplates->GetRegionCount())
- return pTemplates->GetTemplatePath(
- aRegionLb.GetSelectEntryPos(), rPath);
- return pTemplates->GetDefaultTemplatePath(rPath);
-}
-
-//-------------------------------------------------------------------------
-
-void SfxDocumentTemplateDlg::NewTemplate(const String &rPath)
-{
- pTemplates->NewTemplate(
- aRegionLb.GetSelectEntryPos(), GetTemplateName(), rPath);
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sfx2/source/menu/mnuitem.cxx b/sfx2/source/menu/mnuitem.cxx
index b34625820fae..62e88fe01068 100644
--- a/sfx2/source/menu/mnuitem.cxx
+++ b/sfx2/source/menu/mnuitem.cxx
@@ -373,36 +373,6 @@ SfxMenuControl* SfxMenuControl::CreateControl( sal_uInt16 nId, Menu &rMenu, SfxB
return 0;
}
-sal_Bool SfxMenuControl::IsSpecialControl( sal_uInt16 nId, SfxModule* pMod )
-{
- TypeId aSlotType = SFX_SLOTPOOL().GetSlotType( nId );
- if ( aSlotType )
- {
- if ( pMod )
- {
- SfxMenuCtrlFactArr_Impl *pFactories = pMod->GetMenuCtrlFactories_Impl();
- if ( pFactories )
- {
- SfxMenuCtrlFactArr_Impl &rFactories = *pFactories;
- for ( sal_uInt16 nFactory = 0; nFactory < rFactories.Count(); ++nFactory )
- if ( rFactories[nFactory]->nTypeId == aSlotType &&
- ( ( rFactories[nFactory]->nSlotId == 0 ) ||
- ( rFactories[nFactory]->nSlotId == nId) ) )
- return sal_True;
- }
- }
-
- SfxMenuCtrlFactArr_Impl &rFactories = SFX_APP()->GetMenuCtrlFactories_Impl();
-
- for ( sal_uInt16 nFactory = 0; nFactory < rFactories.Count(); ++nFactory )
- if ( rFactories[nFactory]->nTypeId == aSlotType &&
- ( ( rFactories[nFactory]->nSlotId == 0 ) ||
- ( rFactories[nFactory]->nSlotId == nId) ) )
- return sal_True;
- }
- return 0;
-}
-
//--------------------------------------------------------------------
PopupMenu* SfxMenuControl::GetPopup () const
diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx
index 793c122394d0..d8e01e4c2e54 100644
--- a/sfx2/source/menu/mnumgr.cxx
+++ b/sfx2/source/menu/mnumgr.cxx
@@ -265,61 +265,6 @@ PopupMenu* InsertThesaurusSubmenu_Impl( SfxBindings* pBindings, Menu* pSVMenu )
return pThesSubMenu;
}
-
-//--------------------------------------------------------------------
-
-void SfxMenuManager::UseDefault()
-{
- DBG_MEMTEST();
-
- SFX_APP();
- SfxVirtualMenu *pOldVirtMenu=0;
- if (pMenu)
- {
- pOldVirtMenu = pMenu;
- pBindings->ENTERREGISTRATIONS();
- }
-
- SfxVirtualMenu *pVMenu = 0;
- {
- ResId aResId(GetType(),*pResMgr);
- aResId.SetRT(RSC_MENU);
- Menu *pSVMenu = new PopupMenu( aResId );
-
- if ( bAddClipboardFuncs )
- {
- sal_uInt16 n, nCount = pSVMenu->GetItemCount();
- for ( n=0; n<nCount; n++ )
- {
- sal_uInt16 nId = pSVMenu->GetItemId( n );
- if ( nId == SID_COPY || nId == SID_CUT || nId == SID_PASTE )
- break;
- }
-
- if ( n == nCount )
- {
- PopupMenu aPop( SfxResId( MN_CLIPBOARDFUNCS ) );
- nCount = aPop.GetItemCount();
- pSVMenu->InsertSeparator();
- for ( n=0; n<nCount; n++ )
- {
- sal_uInt16 nId = aPop.GetItemId( n );
- pSVMenu->InsertItem( nId, aPop.GetItemText( nId ), aPop.GetItemBits( nId ) );
- }
- }
- }
-
- pVMenu = new SfxVirtualMenu( pSVMenu, sal_False, *pBindings, sal_True, sal_True );
- }
-
- Construct(*pVMenu);
- if (pOldVirtMenu)
- {
- delete pOldVirtMenu;
- pBindings->LEAVEREGISTRATIONS();
- }
-}
-
// ------------------------------------------------------------------------
// executes the function for the selected item
@@ -355,29 +300,6 @@ IMPL_LINK( SfxMenuManager, Select, Menu *, pSelMenu )
//--------------------------------------------------------------------
-void SfxMenuManager::Construct_Impl( Menu* pSVMenu, sal_Bool bWithHelp )
-{
- SfxVirtualMenu *pOldVirtMenu=0;
- if ( pMenu )
- {
- // It is reconfigured
- pOldVirtMenu = pMenu;
- pBindings->ENTERREGISTRATIONS();
- }
-
- TryToHideDisabledEntries_Impl( pSVMenu );
- SfxVirtualMenu *pVMenu = new SfxVirtualMenu( pSVMenu, bWithHelp, *pBindings, sal_True );
- Construct(*pVMenu);
-
- if ( pOldVirtMenu )
- {
- delete pOldVirtMenu;
- pBindings->LEAVEREGISTRATIONS();
- }
-}
-
-//--------------------------------------------------------------------
-
// don't insert Popups into ConfigManager, they are not configurable at the moment !
SfxPopupMenuManager::SfxPopupMenuManager(const ResId& rResId, SfxBindings &rBindings )
: SfxMenuManager( rResId, rBindings )
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index bfde32ade4c0..efbbc21d40bb 100644
--- a/sot/source/sdstor/stgelem.cxx
+++ b/sot/source/sdstor/stgelem.cxx
@@ -318,19 +318,6 @@ void StgEntry::SetLeaf( StgEntryRef eRef, sal_Int32 nPage )
}
}
-const sal_Int32* StgEntry::GetTime( StgEntryTime eTime ) const
-{
- return( eTime == STG_MODIFIED ) ? nMtime : nAtime;
-}
-
-void StgEntry::SetTime( StgEntryTime eTime, sal_Int32* pTime )
-{
- if( eTime == STG_MODIFIED )
- nMtime[ 0 ] = *pTime++, nMtime[ 1 ] = *pTime;
- else
- nAtime[ 0 ] = *pTime++, nAtime[ 1 ] = *pTime;
-}
-
void StgEntry::SetClassId( const ClsId& r )
{
memcpy( &aClsId, &r, sizeof( ClsId ) );
diff --git a/sot/source/sdstor/stgelem.hxx b/sot/source/sdstor/stgelem.hxx
index 7ef8c4772f36..e4e839ca33b5 100644
--- a/sot/source/sdstor/stgelem.hxx
+++ b/sot/source/sdstor/stgelem.hxx
@@ -152,8 +152,6 @@ public:
void SetClassId( const ClsId& );
sal_Int32 GetLeaf( StgEntryRef ) const;
void SetLeaf( StgEntryRef, sal_Int32 );
- const sal_Int32* GetTime( StgEntryTime ) const;
- void SetTime( StgEntryTime, sal_Int32* );
};
diff --git a/svl/inc/svl/filerec.hxx b/svl/inc/svl/filerec.hxx
index 2f80f02cca9a..5c3a8dd1c6ab 100644
--- a/svl/inc/svl/filerec.hxx
+++ b/svl/inc/svl/filerec.hxx
@@ -342,14 +342,6 @@ class SVL_DLLPUBLIC SfxSingleRecordWriter: public SfxMiniRecordWriter
1* sal_uInt8 Content-Version
1* sal_uInt16 Content-Tag
SizeOfContent* sal_uInt8 Content
-
- [Beispiel]
-
- {
- SfxSingleRecordWriter aRecord( pStream, MY_TAG_X, MY_VERSION );
- *aRecord << aMember1;
- *aRecord << aMember2;
- }
*/
{
@@ -359,9 +351,6 @@ protected:
sal_uInt16 nTag, sal_uInt8 nCurVer );
public:
- SfxSingleRecordWriter( SvStream *pStream,
- sal_uInt16 nTag, sal_uInt8 nCurVer );
-
inline void Reset();
sal_uInt32 Close( bool bSeekToEndOfRec = true );
@@ -379,22 +368,6 @@ class SVL_DLLPUBLIC SfxSingleRecordReader: public SfxMiniRecordReader
Es ist auch m"oglich, den Record zu "uberspringen, ohne sein internes
Format zu kennen.
-
- [Beispiel]
-
- {
- SfxSingleRecordReader aRecord( pStream );
- switch ( aRecord.GetTag() )
- {
- case MY_TAG_X:
- aRecord >> aMember1;
- if ( aRecord.HasVersion(2) )
- *aRecord >> aMember2;
- break;
-
- ...
- }
- }
*/
{
@@ -414,7 +387,6 @@ protected:
bool ReadHeader_Impl( sal_uInt16 nTypes );
public:
- SfxSingleRecordReader( SvStream *pStream, sal_uInt16 nTag );
inline sal_uInt16 GetTag() const;
diff --git a/svl/source/filerec/filerec.cxx b/svl/source/filerec/filerec.cxx
index 29849096be6e..2fc9dd4d3dee 100644
--- a/svl/source/filerec/filerec.cxx
+++ b/svl/source/filerec/filerec.cxx
@@ -263,28 +263,6 @@ SfxSingleRecordWriter::SfxSingleRecordWriter
*pStream << SFX_REC_HEADER(nRecordType, nContentTag, nContentVer);
}
-//-------------------------------------------------------------------------
-
-SfxSingleRecordWriter::SfxSingleRecordWriter
-(
- SvStream* pStream, // Stream, in dem der Record angelegt wird
- sal_uInt16 nContentTag, // Inhalts-Art-Kennung
- sal_uInt8 nContentVer // Inhalts-Versions-Kennung
-)
-
-/* [Beschreibung]
-
- Legt in 'pStream' einen 'SfxSingleRecord' an, dessen Content-Gr"o\se
- nicht bekannt ist, sondern nach dam Streamen des Contents errechnet
- werden soll.
-*/
-
-: SfxMiniRecordWriter( pStream, SFX_REC_PRETAG_EXT )
-{
- // Erweiterten Header hiner den des SfxMiniRec schreiben
- *pStream << SFX_REC_HEADER( SFX_REC_TYPE_SINGLE, nContentTag, nContentVer);
-}
-
//=========================================================================
inline bool SfxSingleRecordReader::ReadHeader_Impl( sal_uInt16 nTypes )
@@ -321,23 +299,6 @@ inline bool SfxSingleRecordReader::ReadHeader_Impl( sal_uInt16 nTypes )
//-------------------------------------------------------------------------
-SfxSingleRecordReader::SfxSingleRecordReader( SvStream *pStream, sal_uInt16 nTag )
-{
- // StartPos merken, um im Fehlerfall zur"uck-seeken zu k"onnen
- sal_uInt32 nStartPos = pStream->Tell();
-
- // richtigen Record suchen, ggf. Error-Code setzen und zur"uck-seeken
- Construct_Impl( pStream );
- if ( !FindHeader_Impl( SFX_REC_TYPE_SINGLE, nTag ) )
- {
- // Error-Code setzen und zur"uck-seeken
- pStream->Seek( nStartPos );
- pStream->SetError( ERRCODE_IO_WRONGFORMAT );
- }
-}
-
-//-------------------------------------------------------------------------
-
bool SfxSingleRecordReader::FindHeader_Impl
(
sal_uInt16 nTypes, // arithm. Veroderung erlaubter Record-Typen
diff --git a/unusedcode.easy b/unusedcode.easy
index 66afcd24e7e1..7aead6e2e85e 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -368,15 +368,11 @@ LwpGraphicObject::GetRectIn100thMM()
LwpGraphicObject::GetRectInCM()
LwpMiddleLayout::SetScaleCenter(unsigned short)
LwpMiddleLayout::SetScaleHeight(double)
-LwpMiddleLayout::SetScaleMode(unsigned short)
LwpMiddleLayout::SetScalePercentage(unsigned int)
LwpMiddleLayout::SetScaleTile(unsigned short)
LwpMiddleLayout::SetScaleWidth(double)
LwpNumberingOverride::Override(LwpNumberingOverride*)
LwpObject::LwpObject()
-LwpObjectID::GetBuffer(char*)
-LwpObjectID::ReadCompressed(LwpSvStream*, LwpObjectID&)
-LwpObjectStream::QuickReadInt8(bool*)
MSDffImportRecords::Insert(MSDffImportRecords const*, unsigned short, unsigned short)
MSDffImportRecords::Insert(SvxMSDffImportRec* const&, unsigned short&)
MSDffImportRecords::Insert(SvxMSDffImportRec* const*, unsigned short)
@@ -909,8 +905,6 @@ SfxAppMenuControl_Impl::RegisterControl(unsigned short, SfxModule*)
SfxApplication::DdeGetData(String const&, String const&, com::sun::star::uno::Any&)
SfxApplication::DdeSetData(String const&, String const&, com::sun::star::uno::Any const&)
SfxApplication::EnterAsynchronCall_Impl()
-SfxApplication::GetResourceManager() const
-SfxApplication::GetStatusIndicator() const
SfxApplication::InitializeDde()
SfxApplication::LeaveAsynchronCall_Impl()
SfxApplication::Main()
@@ -932,8 +926,6 @@ SfxDispatcher::SetModalMode_Impl(unsigned char)
SfxDispatcher::_Execute(SfxSlotServer const&)
SfxDocTemplate_Impl::GetTemplates(ucbhelper::Content&, ucbhelper::Content&, RegionData_Impl*)
SfxDockingWrapper::GetChildWindowId()
-SfxDocumentTemplateDlg::GetTemplatePath()
-SfxDocumentTemplateDlg::NewTemplate(String const&)
SfxDocumentTemplates::GetCount(String const&) const
SfxDocumentTemplates::GetRegionNo(String const&) const
SfxDocumentTemplates::SaveDir()
@@ -987,17 +979,12 @@ SfxMacroStatement::SfxMacroStatement(SfxShell const&, String const&, unsigned ch
SfxMacroStatement::SfxMacroStatement(String const&)
SfxMacroStatement::SfxMacroStatement(String const&, SfxSlot const&, unsigned char, com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&)
SfxMailModel::GetCount() const
-SfxMedium::Exists(unsigned char)
SfxMedium::GetDoneLink() const
SfxMedium::GetHdl()
SfxMedium::GetReferer() const
-SfxMedium::StartDownload()
SfxMenuControl::CreateControl(String const&, unsigned short, Menu&, SfxBindings&, SfxVirtualMenu*)
-SfxMenuControl::IsSpecialControl(unsigned short, SfxModule*)
SfxMenuControl::RemovePopup()
SfxMenuControl::SetOwnMenu(SfxVirtualMenu*)
-SfxMenuManager::Construct_Impl(Menu*, unsigned char)
-SfxMenuManager::UseDefault()
SfxModelessDialog::SfxModelessDialog(SfxBindings*, SfxChildWindow*, Window*, long)
SfxModule::IsActive() const
SfxModule::RegisterChildWindowContext(unsigned short, SfxChildWinContextFactory*)
@@ -1047,8 +1034,6 @@ SfxRequest::SetTarget(String const&)
SfxScriptOrganizerItem::SfxScriptOrganizerItem(String const&)
SfxShell::GetBroadcaster()
SfxShell::RemoveItem(unsigned short)
-SfxSingleRecordReader::SfxSingleRecordReader(SvStream*, unsigned short)
-SfxSingleRecordWriter::SfxSingleRecordWriter(SvStream*, unsigned short, unsigned char)
SfxSingleTabDialog::GetInputRanges(SfxItemPool const&)
SfxSizeItem::SfxSizeItem(unsigned short, SvStream&)
SfxSlotPool::NextInterface()
@@ -1151,8 +1136,6 @@ StatusBar::StatusBar(Window*, ResId const&)
StgAvlIterator::Last()
StgCache::Pos2Page(int)
StgDirEntry::Copy(StgDirEntry&)
-StgEntry::GetTime(StgEntryTime) const
-StgEntry::SetTime(StgEntryTime, int*)
StgHeader::SetClassId(ClsId const&)
StorageStream::ValidateMode(unsigned short, StgDirEntry*) const
SvBasicPropertyDataControl::GetData()
@@ -2226,7 +2209,6 @@ binfilter::DbgName_SfxFrameSetDescriptor()
binfilter::DbgName_SfxStringListItem()
binfilter::DbgName_SvxMacroItem()
binfilter::Dictionary::~Dictionary()
-binfilter::E3dDistantLight::SetDirection(binfilter::Vector3D const&)
binfilter::E3dLight::E3dLight(binfilter::Vector3D const&, Color const&, double)
binfilter::EECharAttribArray::Insert(binfilter::EECharAttrib const&, unsigned short)
binfilter::EECharAttribArray::Insert(binfilter::EECharAttribArray const*, unsigned short, unsigned short, unsigned short)
@@ -2239,21 +2221,17 @@ binfilter::GeometryIndexValueBucketMemArr::Insert(binfilter::GeometryIndexValueB
binfilter::GeometryIndexValueBucketMemArr::Replace(char const*&, unsigned short)
binfilter::GeometryIndexValueBucketMemArr::Replace(char const**, unsigned short, unsigned short)
binfilter::GeometryIndexValueBucketMemArr::_ForEach(unsigned short, unsigned short, unsigned char (*)(char const*&, void*), void*)
-binfilter::GetLangName(unsigned short)
-binfilter::GetPortionName(unsigned short)
binfilter::ImpSvtData::~ImpSvtData()
binfilter::InsCapOptArr::Insert(binfilter::InsCapOptArr const*, unsigned short, unsigned short)
binfilter::InsCapOptArr::Insert(binfilter::InsCaptionOpt* const&, unsigned short&)
binfilter::InsCapOptArr::Insert(binfilter::InsCaptionOpt* const*, unsigned short)
binfilter::InsCapOptArr::Remove(binfilter::InsCaptionOpt* const&, unsigned short)
binfilter::InsCapOptArr::Remove(unsigned short, unsigned short)
-binfilter::IsDbg(binfilter::SwTxtFrm const*)
binfilter::OUStringsSort_Impl::Insert(binfilter::OUStringsSort_Impl const*, unsigned short, unsigned short)
binfilter::OUStringsSort_Impl::Insert(rtl::OUString* const&, unsigned short&)
binfilter::OUStringsSort_Impl::Insert(rtl::OUString* const*, unsigned short)
binfilter::OUStringsSort_Impl::Remove(rtl::OUString* const&, unsigned short)
binfilter::OUStringsSort_Impl::Remove(unsigned short, unsigned short)
-binfilter::Outliner::LinkStubEditEngineNotifyHdl(void*, void*)
binfilter::PCodeBuffConvertor<unsigned int, unsigned short>::GetBuffer()
binfilter::PCodeBuffConvertor<unsigned int, unsigned short>::GetSize()
binfilter::PCodeBuffConvertor<unsigned int, unsigned short>::PCodeBuffConvertor(unsigned char*, unsigned int)
@@ -2277,14 +2255,11 @@ binfilter::ScBroadcastAreas::Insert(binfilter::ScBroadcastArea* const*, unsigned
binfilter::ScBroadcastAreas::Insert(binfilter::ScBroadcastAreas const*, unsigned short, unsigned short)
binfilter::ScBroadcastAreas::Remove(binfilter::ScBroadcastArea* const&, unsigned short)
binfilter::ScChangeTrack::Remove(binfilter::ScChangeAction*)
-binfilter::ScConditionalFormatList::ResetUsed()
binfilter::ScConditionalFormats_Impl::Insert(binfilter::ScConditionalFormat* const&, unsigned short&)
binfilter::ScConditionalFormats_Impl::Insert(binfilter::ScConditionalFormat* const*, unsigned short)
binfilter::ScConditionalFormats_Impl::Insert(binfilter::ScConditionalFormats_Impl const*, unsigned short, unsigned short)
binfilter::ScConditionalFormats_Impl::Remove(binfilter::ScConditionalFormat* const&, unsigned short)
binfilter::ScConditionalFormats_Impl::Remove(unsigned short, unsigned short)
-binfilter::ScDBData::IsBeyond(unsigned short) const
-binfilter::ScFieldChangerEditEngine::ConvertFields()
binfilter::ScFieldChangerEditEngine::ScFieldChangerEditEngine(binfilter::SfxItemPool*, unsigned char)
binfilter::ScMultipleWriteHeader::ScMultipleWriteHeader(SvStream&, unsigned int)
binfilter::ScMultipleWriteHeader::~ScMultipleWriteHeader()
@@ -2298,8 +2273,6 @@ binfilter::ScValidationEntries_Impl::Insert(binfilter::ScValidationEntries_Impl
binfilter::ScValidationEntries_Impl::Remove(binfilter::ScValidationData* const&, unsigned short)
binfilter::ScValidationEntries_Impl::Remove(unsigned short, unsigned short)
binfilter::ScViewData::ReadUserDataSequence(com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue> const&)
-binfilter::ScXMLImportWrapper::Export(unsigned char)
-binfilter::ScXMLImportWrapper::Import(unsigned char)
binfilter::ScXMLImportWrapper::ScXMLImportWrapper(binfilter::ScDocument&, binfilter::SfxMedium*, binfilter::SvStorage*)
binfilter::SchXMLWrapper::SchXMLWrapper(com::sun::star::uno::Reference<com::sun::star::frame::XModel>&, binfilter::SvStorage&, unsigned char)
binfilter::ScriptTypePosInfos::Insert(binfilter::ScriptTypePosInfos const*, unsigned short, unsigned short, unsigned short)
@@ -2312,16 +2285,12 @@ binfilter::SdrUnoControlAccessArr::Insert(binfilter::SdrUnoControlAccess* const&
binfilter::SdrUnoControlAccessArr::Insert(binfilter::SdrUnoControlAccess* const*, unsigned short)
binfilter::SdrUnoControlAccessArr::Insert(binfilter::SdrUnoControlAccessArr const*, unsigned short, unsigned short)
binfilter::SdrUnoControlAccessArr::Remove(binfilter::SdrUnoControlAccess* const&, unsigned short)
-binfilter::SfxHintPoster::LinkStubDoEvent_Impl(void*, void*)
binfilter::SfxItemModifyArr_Impl::Insert(binfilter::SfxItemModifyArr_Impl const*, unsigned short, unsigned short, unsigned short)
binfilter::SfxItemModifyArr_Impl::Remove(unsigned short, unsigned short)
binfilter::SfxItemModifyArr_Impl::Replace(binfilter::SfxItemModifyImpl const&, unsigned short)
binfilter::SfxItemModifyArr_Impl::Replace(binfilter::SfxItemModifyImpl const*, unsigned short, unsigned short)
binfilter::SfxItemModifyArr_Impl::_ForEach(unsigned short, unsigned short, unsigned char (*)(binfilter::SfxItemModifyImpl const&, void*), void*)
-binfilter::SfxMacroConfig::LinkStubCallbackHdl_Impl(void*, void*)
-binfilter::SfxMacroConfig::LinkStubEventHdl_Impl(void*, void*)
binfilter::SfxMultiVarRecordWriter::SfxMultiVarRecordWriter(unsigned char, SvStream*, unsigned short, unsigned char)
-binfilter::SfxObjectShell::GetBaseURL() const
binfilter::SfxPSPropertyArr_Impl::DeleteAndDestroy(unsigned short, unsigned short)
binfilter::SfxPtrArr::Insert(unsigned short, void*)
binfilter::SfxPtrArr::Remove(void*)
@@ -2345,7 +2314,6 @@ binfilter::SortedPositions::Remove(unsigned short, unsigned short)
binfilter::SortedPositions_SAR::Replace(unsigned int const&, unsigned short)
binfilter::SortedPositions_SAR::Replace(unsigned int const*, unsigned short, unsigned short)
binfilter::SortedPositions_SAR::_ForEach(unsigned short, unsigned short, unsigned char (*)(unsigned int const&, void*), void*)
-binfilter::SvBindStatusCallback::SetProgressCallback(Link const&)
binfilter::SvBools::Insert(binfilter::SvBools const*, unsigned short, unsigned short, unsigned short)
binfilter::SvBools::Replace(unsigned char const&, unsigned short)
binfilter::SvBools::Replace(unsigned char const*, unsigned short, unsigned short)
@@ -2505,7 +2473,6 @@ binfilter::SwXBookmarkPortionArr::Insert(binfilter::SwXBookmarkPortionArr const*
binfilter::SwXBookmarkPortionArr::Insert(binfilter::SwXBookmarkPortion_Impl* const&, unsigned short&)
binfilter::SwXBookmarkPortionArr::Insert(binfilter::SwXBookmarkPortion_Impl* const*, unsigned short)
binfilter::SwXBookmarkPortionArr::Remove(binfilter::SwXBookmarkPortion_Impl* const&, unsigned short)
-binfilter::SwXMLSectionList::SwXMLSectionList(com::sun::star::uno::Reference<com::sun::star::lang::XMultiServiceFactory>, binfilter::SvStrings&)
binfilter::SwXMLTableColumnsSortByWidth_Impl::GetPos(binfilter::SwXMLTableColumn_Impl const*) const
binfilter::SwXMLTableColumnsSortByWidth_Impl::Remove(binfilter::SwXMLTableColumn_Impl*)
binfilter::SwXMLTableColumns_Impl::Insert(binfilter::SwXMLTableColumn_Impl* const&, unsigned short&)