summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-15 13:41:11 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-16 05:47:52 +0000
commit4ca2cf1b7e57c823e911bcbae0c87102a7c9851e (patch)
tree28725536883828d5d7af2cb8a4e7733968888d9d /include
parent80cbfb75026f4673b14237650302c3da1cc5ab13 (diff)
loplugin:unusedmethods sfx2
Change-Id: I98c455d89f76fbcacf74929a4e8775b4da697f62 Reviewed-on: https://gerrit.libreoffice.org/17069 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/app.hxx2
-rw-r--r--include/sfx2/basedlgs.hxx1
-rw-r--r--include/sfx2/bindings.hxx23
-rw-r--r--include/sfx2/childwin.hxx6
-rw-r--r--include/sfx2/dinfdlg.hxx26
-rw-r--r--include/sfx2/dispatch.hxx2
-rw-r--r--include/sfx2/docfile.hxx2
-rw-r--r--include/sfx2/docfilt.hxx3
-rw-r--r--include/sfx2/dockwin.hxx2
-rw-r--r--include/sfx2/docmacromode.hxx15
-rw-r--r--include/sfx2/doctempl.hxx2
-rw-r--r--include/sfx2/event.hxx15
-rw-r--r--include/sfx2/evntconf.hxx1
-rw-r--r--include/sfx2/fcontnr.hxx5
-rw-r--r--include/sfx2/frame.hxx5
-rw-r--r--include/sfx2/lnkbase.hxx1
-rw-r--r--include/sfx2/minfitem.hxx4
-rw-r--r--include/sfx2/mnuitem.hxx1
-rw-r--r--include/sfx2/msg.hxx12
-rw-r--r--include/sfx2/msgpool.hxx1
-rw-r--r--include/sfx2/objsh.hxx12
-rw-r--r--include/sfx2/sfxdlg.hxx1
-rw-r--r--include/sfx2/sfxhelp.hxx3
-rw-r--r--include/sfx2/shell.hxx1
-rw-r--r--include/sfx2/tabdlg.hxx17
-rw-r--r--include/sfx2/tbxctrl.hxx3
-rw-r--r--include/sfx2/unoctitm.hxx3
-rw-r--r--include/sfx2/viewfrm.hxx3
-rw-r--r--include/svx/SmartTagCtl.hxx1
-rw-r--r--include/svx/fntctl.hxx2
-rw-r--r--include/svx/fntszctl.hxx2
-rw-r--r--include/svx/linectrl.hxx1
-rw-r--r--include/svx/svxdlg.hxx1
33 files changed, 10 insertions, 169 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index 0b986c105227..11a2244c4082 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -120,8 +120,6 @@ class SFX2_DLLPUBLIC SfxApplication: public SfxShell
DECL_DLLPRIVATE_LINK_TYPED( GlobalBasicErrorHdl_Impl, StarBASIC*, bool );
static SfxApplication* Create();
- void SettingsChange( sal_uInt16, const AppSettings & );
- void Quit();
void Deinitialize();
public:
diff --git a/include/sfx2/basedlgs.hxx b/include/sfx2/basedlgs.hxx
index fe0d3af7a9ee..1cf9082ca5e7 100644
--- a/include/sfx2/basedlgs.hxx
+++ b/include/sfx2/basedlgs.hxx
@@ -192,7 +192,6 @@ public:
SfxTabPage* GetTabPage() const { return pImpl->m_pSfxPage; }
OKButton* GetOKButton() const { return pOKBtn; }
- CancelButton* GetCancelButton() const { return pCancelBtn; }
protected:
GetTabPageRanges fnGetRanges;
diff --git a/include/sfx2/bindings.hxx b/include/sfx2/bindings.hxx
index 164c1bd7f34d..2e97b1052b5b 100644
--- a/include/sfx2/bindings.hxx
+++ b/include/sfx2/bindings.hxx
@@ -153,7 +153,6 @@ public:
void SetState( const SfxItemSet &rSet );
void SetState( const SfxPoolItem &rItem );
void Invalidate( sal_uInt16 nId, bool bWithItem, bool bWithMsg=false);
- void Invalidate( sal_uInt16 nId, bool bWithMsg);
bool IsInUpdate() const;
void SetVisibleState( sal_uInt16 nId, bool bShow );
@@ -180,7 +179,6 @@ public:
void SetActiveFrame( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > & rFrame );
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > GetActiveFrame() const;
// Reconfig
- bool IsInRegistrations() const;
sal_uInt16 EnterRegistrations(const char *pFile = 0, int nLine = 0);
void LeaveRegistrations( sal_uInt16 nLevel = USHRT_MAX, const char *pFile = 0, int nLine = 0 );
void Register( SfxControllerItem& rBinding );
@@ -226,28 +224,7 @@ public:
-inline bool SfxBindings::IsInRegistrations() const
-/* [Description]
-
- Determines whether the <SfxContollerItems> SfxBindings instance is
- registered or unregistered, i.e. <SfxBindings::EnterRegistrations()>
- calls that have not been closed by <SfxBindings::LeaveRegistrations()>.
-
- [Return value]
-
- int sal_True
- The SfxBindings instance is currently in
- Registration-Mode. No status updates .
-
- int sal_False
- The SfxBindings instance is the normal mode.
- Status updates can be done.
-*/
-
-{
- return 0 != nRegLevel;
-}
diff --git a/include/sfx2/childwin.hxx b/include/sfx2/childwin.hxx
index e2a4c5248b1b..b91b9c7404e3 100644
--- a/include/sfx2/childwin.hxx
+++ b/include/sfx2/childwin.hxx
@@ -180,14 +180,8 @@ public:
void SetAlignment(SfxChildAlignment eAlign);
Size GetSizePixel() const
{ return pWindow->GetSizePixel(); }
- void SetPosSizePixel(const Point& rPoint, const Size& rSize)
- { pWindow->SetPosSizePixel(rPoint, rSize); }
- Point GetPosPixel()
- { return pWindow->GetPosPixel(); }
virtual void Hide();
virtual void Show( ShowFlags nFlags );
- SfxChildWindowFlags GetFlags() const
- { return GetInfo().nFlags; }
bool CanGetFocus() const;
sal_uInt16 GetPosition();
sal_uInt16 GetType()
diff --git a/include/sfx2/dinfdlg.hxx b/include/sfx2/dinfdlg.hxx
index a8b7d0406b71..353c59a8d0c9 100644
--- a/include/sfx2/dinfdlg.hxx
+++ b/include/sfx2/dinfdlg.hxx
@@ -108,13 +108,12 @@ public:
void setAutoloadEnabled(bool i_val) { m_isAutoloadEnabled = i_val; }
sal_Int32 getAutoloadDelay() const { return m_AutoloadDelay; }
void setAutoloadDelay(sal_Int32 i_val) { m_AutoloadDelay = i_val; }
- OUString getAutoloadURL() const { return m_AutoloadURL; }
+ OUString getAutoloadURL() const { return m_AutoloadURL; }
void setAutoloadURL(const OUString& i_val) { m_AutoloadURL = i_val; }
- OUString getDefaultTarget() const { return m_DefaultTarget; }
+ OUString getDefaultTarget() const { return m_DefaultTarget; }
void setDefaultTarget(const OUString& i_val) { m_DefaultTarget = i_val; }
- OUString getTemplateName() const { return m_TemplateName; }
- void setTemplateName(const OUString& i_val) { m_TemplateName = i_val; }
- OUString getAuthor() const { return m_Author; }
+ OUString getTemplateName() const { return m_TemplateName; }
+ OUString getAuthor() const { return m_Author; }
void setAuthor(const OUString& i_val) { m_Author = i_val; }
::com::sun::star::util::DateTime
@@ -298,37 +297,25 @@ public:
class CustomPropertiesDateField : public DateField
{
-private:
- CustomPropertyLine* m_pLine;
-
public:
::boost::optional<sal_Int16> m_TZ;
- CustomPropertiesDateField(vcl::Window* pParent, WinBits nStyle, CustomPropertyLine* pLine)
+ CustomPropertiesDateField(vcl::Window* pParent, WinBits nStyle)
: DateField(pParent, nStyle)
- , m_pLine(pLine)
{
}
-
- CustomPropertyLine* GetLine() const { return m_pLine; }
};
class CustomPropertiesTimeField : public TimeField
{
-private:
- CustomPropertyLine* m_pLine;
-
public:
bool m_isUTC;
- CustomPropertiesTimeField(vcl::Window* pParent, WinBits nStyle, CustomPropertyLine* pLine)
+ CustomPropertiesTimeField(vcl::Window* pParent, WinBits nStyle)
: TimeField(pParent, nStyle)
- , m_pLine(pLine)
, m_isUTC(false)
{
}
-
- CustomPropertyLine* GetLine() const { return m_pLine; }
};
class CustomPropertiesDurationField : public Edit
@@ -471,7 +458,6 @@ public:
GetCustomProperties() const;
void SetRemovedHdl( const Link<>& rLink ) { m_aRemovedHdl = rLink; }
- void InitRemoveButton(const ScrollBar &rScrollBar);
void updateLineWidth();
};
diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx
index df4ca5ae5f07..aa9949a34b69 100644
--- a/include/sfx2/dispatch.hxx
+++ b/include/sfx2/dispatch.hxx
@@ -172,13 +172,11 @@ public:
sal_uInt16 nCount = 0, const sal_uInt16 *pSIDs = 0 );
void HideUI( bool bHide = true );
- void ShowObjectBar(sal_uInt16 nId, SfxShell *pShell=0) const;
sal_uInt32 GetObjectBarId( sal_uInt16 nPos ) const;
SfxItemState QueryState( sal_uInt16 nSID, const SfxPoolItem* &rpState );
SfxItemState QueryState( sal_uInt16 nSID, ::com::sun::star::uno::Any& rAny );
- ::com::sun::star::frame::XDispatch* GetDispatchInterface( const OUString& );
void SetDisableFlags( sal_uInt32 nFlags );
sal_uInt32 GetDisableFlags() const;
diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx
index 389829fec857..21568fee72fb 100644
--- a/include/sfx2/docfile.hxx
+++ b/include/sfx2/docfile.hxx
@@ -169,7 +169,6 @@ public:
css::uno::Reference< css::embed::XStorage > GetOutputStorage();
void ResetError();
SAL_WARN_UNUSED_RESULT bool UsesCache() const;
- void SetUsesCache( bool );
SAL_WARN_UNUSED_RESULT bool IsExpired() const;
void SetName( const OUString& rName, bool bSetOrigURL = false );
SAL_WARN_UNUSED_RESULT bool IsAllowedForExternalBrowser() const;
@@ -233,7 +232,6 @@ public:
SAL_DLLPRIVATE void SetLongName(const OUString &rName);
SAL_DLLPRIVATE const OUString & GetLongName() const;
- SAL_DLLPRIVATE ErrCode CheckOpenMode_Impl( bool bSilent, bool bAllowRO = true );
SAL_DLLPRIVATE bool IsPreview_Impl();
SAL_DLLPRIVATE void ClearBackup_Impl();
SAL_DLLPRIVATE void Done_Impl( ErrCode );
diff --git a/include/sfx2/docfilt.hxx b/include/sfx2/docfilt.hxx
index 3eef56a4a439..19e6ec0ce1e8 100644
--- a/include/sfx2/docfilt.hxx
+++ b/include/sfx2/docfilt.hxx
@@ -81,7 +81,6 @@ public:
bool IsAlienFormat() const { return bool(nFormatType & SfxFilterFlags::ALIEN); }
bool CanImport() const { return bool(nFormatType & SfxFilterFlags::IMPORT); }
bool CanExport() const { return bool(nFormatType & SfxFilterFlags::EXPORT); }
- bool IsInternal() const { return bool(nFormatType & SfxFilterFlags::INTERNAL); }
SfxFilterFlags GetFilterFlags() const { return nFormatType; }
const OUString& GetFilterName() const { return maFilterName; }
const OUString& GetMimeType() const { return aMimeType; }
@@ -91,13 +90,11 @@ public:
SotClipboardFormatId GetFormat() const { return lFormat; }
const OUString& GetTypeName() const { return aTypeName; }
const OUString& GetUIName() const { return aUIName; }
- sal_uInt16 GetDocIconId() const { return nDocIcon; }
const OUString& GetUserData() const { return aUserData; }
const OUString& GetDefaultTemplate() const { return aDefaultTemplate; }
void SetDefaultTemplate( const OUString& rStr ) { aDefaultTemplate = rStr; }
bool UsesStorage() const { return GetFormat() != SotClipboardFormatId::NONE; }
void SetURLPattern( const OUString& rStr );
- OUString GetURLPattern() const { return aPattern; }
void SetUIName( const OUString& rName ) { aUIName = rName; }
void SetVersion( sal_uIntPtr nVersionP ) { nVersion = nVersionP; }
sal_uIntPtr GetVersion() const { return nVersion; }
diff --git a/include/sfx2/dockwin.hxx b/include/sfx2/dockwin.hxx
index 0a36f7c6951e..1933be7cd757 100644
--- a/include/sfx2/dockwin.hxx
+++ b/include/sfx2/dockwin.hxx
@@ -52,8 +52,6 @@ private:
protected:
SfxChildAlignment CalcAlignment(const Point& rPos, Rectangle& rRect );
- void CalcSplitPosition(const Point rPos, Rectangle& rRect,
- SfxChildAlignment eAlign);
virtual Size CalcDockingSize(SfxChildAlignment);
virtual SfxChildAlignment
CheckAlignment(SfxChildAlignment,SfxChildAlignment);
diff --git a/include/sfx2/docmacromode.hxx b/include/sfx2/docmacromode.hxx
index f245962ab274..54a477f050ff 100644
--- a/include/sfx2/docmacromode.hxx
+++ b/include/sfx2/docmacromode.hxx
@@ -102,21 +102,6 @@ namespace sfx2
virtual OUString
getDocumentLocation() const = 0;
- /** returns a zip-storage based on the last committed version of the document,
- for readonly access
-
- The storage is intended to be used for signing. An implementation is
- allowed to return <NULL/> here if and only if the document
- does not support signing the script storages.
-
- @todo
- UNOize this, too. Once we have a getDocumentModel, we should be able to
- obtain the "last commit" storage via UNO API, provided it's an
- XStorageBasedDocument.
- */
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >
- getZipStorageToSign() = 0;
-
/** checks whether the document's storage contains sub storages with macros or scripts
A default implementation of this method will simply cann DocumentMacroMode::storageHasMacros
diff --git a/include/sfx2/doctempl.hxx b/include/sfx2/doctempl.hxx
index 0bbec0875479..f84848bbfdc0 100644
--- a/include/sfx2/doctempl.hxx
+++ b/include/sfx2/doctempl.hxx
@@ -55,8 +55,6 @@ public:
SfxDocumentTemplates(const SfxDocumentTemplates &);
~SfxDocumentTemplates();
- bool IsConstructed() { return pImp != NULL; }
-
const SfxDocumentTemplates &operator=(const SfxDocumentTemplates &);
void ReInitFromComponent();
diff --git a/include/sfx2/event.hxx b/include/sfx2/event.hxx
index dbb0fa77c24d..e3a01c81192f 100644
--- a/include/sfx2/event.hxx
+++ b/include/sfx2/event.hxx
@@ -84,27 +84,18 @@ public:
class SfxNamedHint : public SfxHint
{
OUString _aEventName;
- SfxObjectShell* _pObjShell;
OUString _aArgs;
public:
SfxNamedHint( const OUString& rName,
- const OUString& rArgs,
- SfxObjectShell *pObj = 0 )
+ const OUString& rArgs )
: _aEventName( rName ),
- _pObjShell( pObj),
_aArgs( rArgs )
{}
- SfxNamedHint( const OUString& rName,
- SfxObjectShell *pObj = 0 )
- : _aEventName( rName ),
- _pObjShell( pObj )
+ SfxNamedHint( const OUString& rName )
+ : _aEventName( rName )
{}
-
- const OUString& GetArgs() const { return _aArgs;}
- const OUString& GetName() const { return _aEventName; }
- SfxObjectShell* GetObjShell() const { return _pObjShell; }
};
class Printer;
diff --git a/include/sfx2/evntconf.hxx b/include/sfx2/evntconf.hxx
index 371c716c0fca..67eb07a82bc5 100644
--- a/include/sfx2/evntconf.hxx
+++ b/include/sfx2/evntconf.hxx
@@ -90,7 +90,6 @@ public:
virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const SAL_OVERRIDE;
const SfxEventNamesList& GetEvents() const { return aEventsList;}
- void SetEvents( const SfxEventNamesList& rList ) { aEventsList = rList; }
void AddEvent( const OUString&, const OUString&, sal_uInt16 );
};
diff --git a/include/sfx2/fcontnr.hxx b/include/sfx2/fcontnr.hxx
index 91a8017de131..c44dcd2a26e5 100644
--- a/include/sfx2/fcontnr.hxx
+++ b/include/sfx2/fcontnr.hxx
@@ -52,7 +52,6 @@ public:
{ return new SfxRefItem( *this ); }
virtual bool operator==( const SfxPoolItem& rL) const SAL_OVERRIDE
{ return static_cast<const SfxRefItem&>(rL).maRef == maRef; }
- const tools::SvRef<SvRefBase>& GetValue() const { return maRef; }
};
class SfxFrameWindow
@@ -64,10 +63,6 @@ public:
{}
virtual ~SfxFrameWindow() {}
- vcl::Window* GetWindow() const
- { return pWindow; }
- void SetWindow( vcl::Window *pWin )
- { pWindow = pWin; }
};
typedef sal_uIntPtr (*SfxDetectFilter)( SfxMedium& rMedium, const SfxFilter **, SfxFilterFlags nMust, SfxFilterFlags nDont );
diff --git a/include/sfx2/frame.hxx b/include/sfx2/frame.hxx
index 6c2512addee7..4db39d4d11f0 100644
--- a/include/sfx2/frame.hxx
+++ b/include/sfx2/frame.hxx
@@ -149,9 +149,6 @@ public:
SAL_DLLPRIVATE SfxFrame* GetContainingDocFrame_Impl( SfxFrame* pSelf );
void UpdateDescriptor( SfxObjectShell *pDoc );
void Resize();
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow >
- GetComponent() const;
- void ReleaseComponent();
::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >
GetFrameInterface() const;
void Appear();
@@ -239,8 +236,6 @@ public:
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
- bool FrameKilled() const { return &wFrame != pFrame; }
-
SfxFrame* GetFrame() const
{ return wFrame; }
};
diff --git a/include/sfx2/lnkbase.hxx b/include/sfx2/lnkbase.hxx
index 3cac2f58934a..4ee235b668b6 100644
--- a/include/sfx2/lnkbase.hxx
+++ b/include/sfx2/lnkbase.hxx
@@ -155,7 +155,6 @@ public:
bool IsSynchron() const { return bSynchron; }
void SetSynchron( bool bFlag ) { bSynchron = bFlag; }
- bool IsUseCache() const { return bUseCache; }
void SetUseCache( bool bFlag ) { bUseCache = bFlag; }
void setStreamToLoadFrom(
diff --git a/include/sfx2/minfitem.hxx b/include/sfx2/minfitem.hxx
index db322d412ccb..a934d501e2bc 100644
--- a/include/sfx2/minfitem.hxx
+++ b/include/sfx2/minfitem.hxx
@@ -47,10 +47,6 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
virtual bool operator==( const SfxPoolItem& ) const SAL_OVERRIDE;
- OUString GetComment() const
- { return aCommentText; }
- void SetComment( const OUString& r )
- { aCommentText = r; }
OUString GetMethod() const
{ return aMethodName; }
void SetMethod( const OUString& r )
diff --git a/include/sfx2/mnuitem.hxx b/include/sfx2/mnuitem.hxx
index 3f6586fd8266..e3864230a194 100644
--- a/include/sfx2/mnuitem.hxx
+++ b/include/sfx2/mnuitem.hxx
@@ -62,7 +62,6 @@ public:
OUString GetTitle() const;
SfxVirtualMenu* GetPopupMenu() const;
- virtual PopupMenu* GetPopup() const;
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
diff --git a/include/sfx2/msg.hxx b/include/sfx2/msg.hxx
index 40819b7a1c99..1ca0ed080650 100644
--- a/include/sfx2/msg.hxx
+++ b/include/sfx2/msg.hxx
@@ -127,8 +127,6 @@ struct SfxType0
const TypeId& Type() const
{ return aTypeId; }
- SfxPoolItem* CreateItem() const
- { return static_cast<SfxPoolItem*>(aTypeId()); }
};
#define SFX_DECL_TYPE(n) struct SfxType##n \
@@ -246,7 +244,6 @@ public:
SfxSlotKind GetKind() const;
sal_uInt16 GetSlotId() const;
- sal_uIntPtr GetHelpId() const;
SfxSlotMode GetMode() const;
bool IsMode( SfxSlotMode nMode ) const;
sal_uInt16 GetGroupId() const;
@@ -278,15 +275,6 @@ inline sal_uInt16 SfxSlot::GetSlotId() const
return nSlotId;
}
-// returns the help-id of the slot
-
-inline sal_uIntPtr SfxSlot::GetHelpId() const
-{
- return nHelpId;
-}
-
-
-
// returns a bitfield with flags
inline SfxSlotMode SfxSlot::GetMode() const
diff --git a/include/sfx2/msgpool.hxx b/include/sfx2/msgpool.hxx
index 2e3abdbd83b9..cd5e278d63cb 100644
--- a/include/sfx2/msgpool.hxx
+++ b/include/sfx2/msgpool.hxx
@@ -60,7 +60,6 @@ public:
const SfxSlot* FirstSlot();
const SfxSlot* NextSlot();
const SfxSlot* GetSlot( sal_uInt16 nId );
- const SfxSlot* GetUnoSlot( sal_uInt16 nId );
const SfxSlot* GetUnoSlot( const OUString& rUnoName );
TypeId GetSlotType( sal_uInt16 nSlotId ) const;
};
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index ce8ab3018f6f..06b0c29699e1 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -461,14 +461,12 @@ public:
// Transfer IFace
void AbortImport();
bool IsAbortingImport() const;
- bool IsReloading() const;
void FinishedLoading( SfxLoadedFlags nWhich = SfxLoadedFlags::ALL );
void TemplateDisconnectionAfterLoad();
bool IsLoading() const;
bool IsLoadingFinished() const;
void SetAutoLoad( const INetURLObject&, sal_uInt32 nTime, bool bReload = true );
bool IsAutoLoadLocked() const;
- void NotifyReloadAvailable();
// Misc
bool IsPreview() const;
@@ -498,10 +496,6 @@ public:
// Contents
virtual SfxStyleSheetBasePool* GetStyleSheetPool();
- void SetStyleSheetPool(SfxStyleSheetBasePool *pBasePool )
- {
- pStyleSheetPool = pBasePool;
- }
virtual void LoadStyles(SfxObjectShell &rSource);
@@ -520,9 +514,6 @@ public:
virtual std::set<Color> GetDocColors();
- void ReadNote( INote * );
- void UpdateNote( INote * );
-
// Documents, for which to format the view size
virtual SfxObjectShell* GetObjectShell() SAL_OVERRIDE;
@@ -838,9 +829,6 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
virtual bool PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) SAL_OVERRIDE;
- SfxObjectShell* GetObjectShell() const
- { return pObjSh; }
-
};
#endif
diff --git a/include/sfx2/sfxdlg.hxx b/include/sfx2/sfxdlg.hxx
index 0c91fab65ccd..30bb0959997a 100644
--- a/include/sfx2/sfxdlg.hxx
+++ b/include/sfx2/sfxdlg.hxx
@@ -118,7 +118,6 @@ class SFX2_DLLPUBLIC SfxAbstractDialogFactory : virtual public VclAbstractDialog
public:
virtual ~SfxAbstractDialogFactory(); // needed for export of vtable
static SfxAbstractDialogFactory* Create();
- virtual VclAbstractDialog* CreateSfxDialog( vcl::Window* pParent, const SfxBindings& rBindings, sal_uInt32 nResId ) = 0;
virtual VclAbstractDialog* CreateFrameDialog( vcl::Window* pParent, const com::sun::star::uno::Reference< com::sun::star::frame::XFrame >& rFrame, sal_uInt32 nResId, const rtl::OUString& rParameter ) = 0;
virtual SfxAbstractTabDialog* CreateTabDialog( sal_uInt32 nResId,
vcl::Window* pParent,
diff --git a/include/sfx2/sfxhelp.hxx b/include/sfx2/sfxhelp.hxx
index 84250598312d..5ff4361ee962 100644
--- a/include/sfx2/sfxhelp.hxx
+++ b/include/sfx2/sfxhelp.hxx
@@ -45,9 +45,6 @@ public:
SfxHelp();
virtual ~SfxHelp();
- inline void SetTicket( const OUString& rTicket ) { aTicket = rTicket; }
- inline void SetUser( const OUString& rUser ) { aUser = rUser; }
-
virtual OUString GetHelpText( const OUString&, const vcl::Window* pWindow ) SAL_OVERRIDE;
static OUString CreateHelpURL( const OUString& aCommandURL, const OUString& rModuleName );
diff --git a/include/sfx2/shell.hxx b/include/sfx2/shell.hxx
index 57134528e7a8..b21943fccdd9 100644
--- a/include/sfx2/shell.hxx
+++ b/include/sfx2/shell.hxx
@@ -286,7 +286,6 @@ public:
Asynchronous ExecuteSlot for the RELOAD
*/
const SfxPoolItem* ExecuteSlot( SfxRequest &rReq, bool bAsync );
- sal_uIntPtr ExecuteSlot( sal_uInt16 nSlot, sal_uInt16 nMemberId, SbxVariable& rRet, SbxBase* pArgs = 0 );
inline SfxItemPool& GetPool() const;
inline void SetPool( SfxItemPool *pNewPool ) ;
diff --git a/include/sfx2/tabdlg.hxx b/include/sfx2/tabdlg.hxx
index 84e1a0751b09..3fc2c41cb0f4 100644
--- a/include/sfx2/tabdlg.hxx
+++ b/include/sfx2/tabdlg.hxx
@@ -145,21 +145,11 @@ public:
GetTabPageRanges pRangesFunc, // can be 0
bool bItemsOnDemand = false,
sal_uInt16 nPos = TAB_APPEND);
- void AddTabPage( sal_uInt16 nId,
- const Bitmap &rRiderBitmap,
- CreateTabPage pCreateFunc, // != 0
- GetTabPageRanges pRangesFunc, // can be 0
- bool bItemsOnDemand = false,
- sal_uInt16 nPos = TAB_APPEND);
void AddTabPage( sal_uInt16 nId,
const OUString &rRiderText,
bool bItemsOnDemand = false,
sal_uInt16 nPos = TAB_APPEND);
- void AddTabPage( sal_uInt16 nId,
- const Bitmap &rRiderBitmap,
- bool bItemsOnDemand = false,
- sal_uInt16 nPos = TAB_APPEND);
void RemoveTabPage( const OString& rName ); // Name of the label for the page in the notebook .ui
void RemoveTabPage( sal_uInt16 nId );
@@ -198,8 +188,6 @@ public:
PushButton& GetOKButton() { return *m_pOKBtn; }
const CancelButton& GetCancelButton() const { return *m_pCancelBtn; }
CancelButton& GetCancelButton() { return *m_pCancelBtn; }
- const HelpButton& GetHelpButton() const { return *m_pHelpBtn; }
- HelpButton& GetHelpButton() { return *m_pHelpBtn; }
const PushButton* GetUserButton() const { return m_pUserBtn; }
PushButton* GetUserButton() { return m_pUserBtn; }
@@ -212,7 +200,6 @@ public:
const SfxItemSet* GetExampleSet() const { return pExampleSet; }
SfxItemSet* GetExampleSet() { return pExampleSet; }
- SfxViewFrame* GetViewFrame() const { return pFrame; }
void SetApplyHandler(const Link<>& _rHdl);
@@ -239,9 +226,7 @@ private:
protected:
SfxTabPage(vcl::Window *pParent, const OString& rID, const OUString& rUIXMLDescription, const SfxItemSet *rAttrSet);
- sal_uInt16 GetSlot( sal_uInt16 nWhich ) const
- { return pSet->GetPool()->GetSlotId( nWhich ); }
- sal_uInt16 GetWhich( sal_uInt16 nSlot, bool bDeep = true ) const
+ sal_uInt16 GetWhich( sal_uInt16 nSlot, bool bDeep = true ) const
{ return pSet->GetPool()->GetWhich( nSlot, bDeep ); }
const SfxPoolItem* GetOldItem( const SfxItemSet& rSet, sal_uInt16 nSlot, bool bDeep = true );
SfxTabDialog* GetTabDialog() const;
diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx
index 4574fd1195f8..ac87d6bc70fc 100644
--- a/include/sfx2/tbxctrl.hxx
+++ b/include/sfx2/tbxctrl.hxx
@@ -138,7 +138,6 @@ public:
virtual ~SfxPopupWindow();
virtual void dispose() SAL_OVERRIDE;
- virtual VclPtr<SfxPopupWindow> Clone() const;
virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE;
void StartCascading();
@@ -349,8 +348,6 @@ public:
SFX_DECL_TOOLBOX_CONTROL();
SfxAddonsToolBoxControl_Impl( sal_uInt16 nSlotId, sal_uInt16 nId, ToolBox& rBox );
virtual ~SfxAddonsToolBoxControl_Impl();
-
- void RefreshMenuImages( Menu* pMenu );
};
#endif
diff --git a/include/sfx2/unoctitm.hxx b/include/sfx2/unoctitm.hxx
index 26e3eb15ac5d..dc710cb0be52 100644
--- a/include/sfx2/unoctitm.hxx
+++ b/include/sfx2/unoctitm.hxx
@@ -56,9 +56,6 @@ public:
SfxUnoControllerItem( SfxControllerItem*, SfxBindings&, const OUString& );
virtual ~SfxUnoControllerItem();
- const ::com::sun::star::util::URL& GetCommand() const
- { return aCommand; }
-
// XStatusListener
virtual void SAL_CALL statusChanged(const ::com::sun::star::frame::FeatureStateEvent& Event) throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx
index e1e831fe45cf..c89915b56302 100644
--- a/include/sfx2/viewfrm.hxx
+++ b/include/sfx2/viewfrm.hxx
@@ -160,8 +160,6 @@ public:
{ return GetFrame().GetTopFrame(); }
void GetTargetList( TargetList& rList ) const
{ GetFrame().GetTargetList( rList ); }
- void CancelTransfers()
- { GetFrame().CancelTransfers(); }
void SetModalMode( bool );
bool IsInModalMode() const;
@@ -317,7 +315,6 @@ public:
virtual SfxPoolItem* Clone( SfxItemPool *pPool = 0 ) const SAL_OVERRIDE;
virtual bool QueryValue( com::sun::star::uno::Any& rVal, sal_uInt8 nMemberId = 0 ) const SAL_OVERRIDE;
- const com::sun::star::uno::Sequence < com::sun::star::embed::VerbDescriptor >& GetVerbList() const { return aVerbs; }
};
#endif
diff --git a/include/svx/SmartTagCtl.hxx b/include/svx/SmartTagCtl.hxx
index 3a8793f4a647..aadd8bb3ce84 100644
--- a/include/svx/SmartTagCtl.hxx
+++ b/include/svx/SmartTagCtl.hxx
@@ -69,7 +69,6 @@ public:
SvxSmartTagsControl( sal_uInt16 nId, Menu&, SfxBindings& );
virtual ~SvxSmartTagsControl();
- virtual PopupMenu* GetPopup() const SAL_OVERRIDE;
SFX_DECL_MENU_CONTROL();
};
diff --git a/include/svx/fntctl.hxx b/include/svx/fntctl.hxx
index bc38265b3c26..4b671b1e3c4e 100644
--- a/include/svx/fntctl.hxx
+++ b/include/svx/fntctl.hxx
@@ -46,8 +46,6 @@ public:
SvxFontMenuControl( sal_uInt16 nId, Menu&, SfxBindings& );
virtual ~SvxFontMenuControl();
- virtual PopupMenu* GetPopup() const SAL_OVERRIDE;
-
SFX_DECL_MENU_CONTROL();
};
diff --git a/include/svx/fntszctl.hxx b/include/svx/fntszctl.hxx
index 1e514ea301c1..c5ee10a96e4e 100644
--- a/include/svx/fntszctl.hxx
+++ b/include/svx/fntszctl.hxx
@@ -46,8 +46,6 @@ public:
SvxFontSizeMenuControl( sal_uInt16 nId, Menu&, SfxBindings& );
virtual ~SvxFontSizeMenuControl();
- virtual PopupMenu* GetPopup() const SAL_OVERRIDE;
-
SFX_DECL_MENU_CONTROL();
};
diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx
index f2d0da51e824..2c6b4e8bd16c 100644
--- a/include/svx/linectrl.hxx
+++ b/include/svx/linectrl.hxx
@@ -124,7 +124,6 @@ public:
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
const SfxPoolItem* pState ) SAL_OVERRIDE;
- virtual VclPtr<SfxPopupWindow> Clone() const SAL_OVERRIDE;
};
diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx
index 2b76efc8c621..696666b38306 100644
--- a/include/svx/svxdlg.hxx
+++ b/include/svx/svxdlg.hxx
@@ -423,7 +423,6 @@ public:
SdrModel* pModel,
const SdrObject* pObj = NULL,
bool bHasObj = true )=0;
- virtual VclAbstractDialog* CreateSfxDialog( vcl::Window* pParent, const SfxBindings& rBindings, sal_uInt32 nResId ) SAL_OVERRIDE = 0;
virtual SfxAbstractDialog* CreateSfxDialog( vcl::Window* pParent,
const SfxItemSet& rAttr,
const SdrView* pView,