summaryrefslogtreecommitdiff
path: root/sfx2/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-24 22:31:19 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-25 09:42:06 +0100
commitac1530a37e4544378c22c9358e57ca8a596c1aa8 (patch)
treeb9380514932038897631b6e9f7e509c4fc7f8129 /sfx2/inc
parent798496c5be43771ee478a0ee4288188b28583a8d (diff)
callcatcher: yet more unused code
Diffstat (limited to 'sfx2/inc')
-rw-r--r--sfx2/inc/sfx2/basedlgs.hxx2
-rw-r--r--sfx2/inc/sfx2/minarray.hxx4
-rw-r--r--sfx2/inc/sfx2/minstack.hxx2
-rw-r--r--sfx2/inc/sfx2/mnuitem.hxx3
-rw-r--r--sfx2/inc/sfx2/module.hxx2
-rw-r--r--sfx2/inc/sfx2/new.hxx13
-rw-r--r--sfx2/inc/sfx2/tbxctrl.hxx6
-rw-r--r--sfx2/inc/sfx2/viewfac.hxx1
8 files changed, 0 insertions, 33 deletions
diff --git a/sfx2/inc/sfx2/basedlgs.hxx b/sfx2/inc/sfx2/basedlgs.hxx
index 428e4865aa9c..a29c04eecfd7 100644
--- a/sfx2/inc/sfx2/basedlgs.hxx
+++ b/sfx2/inc/sfx2/basedlgs.hxx
@@ -109,8 +109,6 @@ class SFX2_DLLPUBLIC SfxModelessDialog: public ModelessDialog
protected:
SfxModelessDialog( SfxBindings*, SfxChildWindow*,
Window*, const ResId& );
- SfxModelessDialog( SfxBindings*, SfxChildWindow*,
- Window*, WinBits nWinStyle = WB_STDMODELESS );
~SfxModelessDialog();
virtual sal_Bool Close();
virtual void Resize();
diff --git a/sfx2/inc/sfx2/minarray.hxx b/sfx2/inc/sfx2/minarray.hxx
index d17151dbe273..bcaa79234fd3 100644
--- a/sfx2/inc/sfx2/minarray.hxx
+++ b/sfx2/inc/sfx2/minarray.hxx
@@ -324,7 +324,6 @@ public:
void*& GetObject( sal_uInt16 nPos ) { return operator[](nPos); }
void Insert( sal_uInt16 nPos, void* rElem );
void Append( void* rElem );
- sal_Bool Replace( void* pOldElem, void* pNewElem );
sal_Bool Remove( void* rElem );
sal_uInt16 Remove( sal_uInt16 nPos, sal_uInt16 nLen );
sal_uInt16 Count() const { return nUsed; }
@@ -371,9 +370,6 @@ public:\
void Append( T aElement ) {\
SfxPtrArr::Append((void *)aElement);\
}\
- sal_Bool Replace( T aOldElem, T aNewElem ) {\
- return SfxPtrArr::Replace((void *)aOldElem, (void*) aNewElem);\
- }\
void Remove( T aElement ) {\
SfxPtrArr::Remove((void*)aElement);\
}\
diff --git a/sfx2/inc/sfx2/minstack.hxx b/sfx2/inc/sfx2/minstack.hxx
index 4c98ec5ef0f2..5a64e31cbee1 100644
--- a/sfx2/inc/sfx2/minstack.hxx
+++ b/sfx2/inc/sfx2/minstack.hxx
@@ -78,8 +78,6 @@ public: \
\
sal_uInt16 Count() const { return ARR##arr_::Count(); } \
void Push( T rElem ) { Append( rElem ); } \
- sal_Bool Replace( T rOldElem, T rNewElem ) \
- { return ARR##arr_::Replace( rOldElem, rNewElem ); } \
T Top( sal_uInt16 nLevel = 0 ) const \
{ return (*this)[Count()-nLevel-1]; } \
T Bottom() const { return (*this)[0]; } \
diff --git a/sfx2/inc/sfx2/mnuitem.hxx b/sfx2/inc/sfx2/mnuitem.hxx
index 5d39f178fbee..49051160d761 100644
--- a/sfx2/inc/sfx2/mnuitem.hxx
+++ b/sfx2/inc/sfx2/mnuitem.hxx
@@ -70,14 +70,11 @@ public:
String GetTitle() const;
SfxVirtualMenu* GetPopupMenu() const;
virtual PopupMenu* GetPopup() const;
- void SetOwnMenu( SfxVirtualMenu* pMenu );
- void RemovePopup();
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState );
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 void RegisterMenuControl(SfxModule*, SfxMenuCtrlFactory*);
diff --git a/sfx2/inc/sfx2/module.hxx b/sfx2/inc/sfx2/module.hxx
index 4dcd035fd49f..98fff6619b36 100644
--- a/sfx2/inc/sfx2/module.hxx
+++ b/sfx2/inc/sfx2/module.hxx
@@ -86,7 +86,6 @@ public:
void RegisterToolBoxControl(SfxTbxCtrlFactory*);
void RegisterChildWindow(SfxChildWinFactory*);
- void RegisterChildWindowContext( sal_uInt16, SfxChildWinContextFactory* );
void RegisterStatusBarControl(SfxStbCtrlFactory*);
void RegisterMenuControl(SfxMenuCtrlFactory*);
@@ -94,7 +93,6 @@ public:
Window* pParent,
const SfxItemSet& rSet );
virtual void Invalidate(sal_uInt16 nId = 0);
- sal_Bool IsActive() const;
/*virtual*/ bool IsChildWindowAvailable( const sal_uInt16 i_nId, const SfxViewFrame* i_pViewFrame ) const;
diff --git a/sfx2/inc/sfx2/new.hxx b/sfx2/inc/sfx2/new.hxx
index bb1250a43a21..fbff13ae5b7e 100644
--- a/sfx2/inc/sfx2/new.hxx
+++ b/sfx2/inc/sfx2/new.hxx
@@ -56,19 +56,6 @@ class MoreButton;
#define RET_TEMPLATE_LOAD 100
-class SFX2_DLLPUBLIC SfxPreviewWin: public Window
-{
- SfxObjectShellLock &rDocShell;
-protected:
- virtual void Paint( const Rectangle& rRect );
- virtual void DataChanged( const DataChangedEvent& rDCEvt );
-
-public:
- SfxPreviewWin( Window* pParent,
- const ResId& rResId,
- SfxObjectShellLock &rDocSh );
-};
-
class SfxNewFileDialog_Impl;
class SFX2_DLLPUBLIC SfxNewFileDialog : public SfxModalDialog
{
diff --git a/sfx2/inc/sfx2/tbxctrl.hxx b/sfx2/inc/sfx2/tbxctrl.hxx
index cef2730687d5..d8f35b3581ff 100644
--- a/sfx2/inc/sfx2/tbxctrl.hxx
+++ b/sfx2/inc/sfx2/tbxctrl.hxx
@@ -142,7 +142,6 @@ protected:
void UnbindListener();
void AddStatusListener( const rtl::OUString& rCommandURL );
void RemoveStatusListener( const rtl::OUString& rCommandURL );
- void UpdateStatus( const rtl::OUString& rCommandURL );
// SfxStatusListenerInterface
using FloatingWindow::StateChanged;
@@ -159,10 +158,6 @@ public:
SfxPopupWindow( sal_uInt16 nId,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
Window* pParentWindow,
- const ResId &rId );
- SfxPopupWindow( sal_uInt16 nId,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame,
- Window* pParentWindow,
WinBits nBits );
~SfxPopupWindow();
@@ -170,7 +165,6 @@ public:
virtual void MouseMove( const MouseEvent& rMEvt );
void StartCascading();
- void EndCascading();
SAL_DLLPRIVATE void SetDeleteLink_Impl( const Link& rLink )
{
m_aDeleteLink = rLink;
diff --git a/sfx2/inc/sfx2/viewfac.hxx b/sfx2/inc/sfx2/viewfac.hxx
index da4d7902c30a..590dc5d065ca 100644
--- a/sfx2/inc/sfx2/viewfac.hxx
+++ b/sfx2/inc/sfx2/viewfac.hxx
@@ -49,7 +49,6 @@ public:
~SfxViewFactory();
SfxViewShell *CreateInstance(SfxViewFrame *pViewFrame, SfxViewShell *pOldSh);
- void InitFactory();
sal_uInt16 GetOrdinal() const { return nOrd; }
/// returns a legacy view name. This is "view" with an appended ordinal/ID.