summaryrefslogtreecommitdiff
path: root/include/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-03 11:48:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-04 12:05:29 +0200
commitd4e9fe5a733f9c3a3c0b673379739c768075b465 (patch)
treeaa03f07d97a59053c374f590818aa942f120848e /include/sfx2
parenta4b581bb996142d2906f23161ec673f958511649 (diff)
loplugin:checkunusedparams in sfx2
Change-Id: Iea88ddd619f10a2a2586ee24edbf07e246dcbb49 Reviewed-on: https://gerrit.libreoffice.org/37191 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sfx2')
-rw-r--r--include/sfx2/dispatch.hxx2
-rw-r--r--include/sfx2/filedlghelper.hxx4
-rw-r--r--include/sfx2/linkmgr.hxx7
-rw-r--r--include/sfx2/objsh.hxx2
-rw-r--r--include/sfx2/viewfrm.hxx2
-rw-r--r--include/sfx2/viewsh.hxx4
6 files changed, 9 insertions, 12 deletions
diff --git a/include/sfx2/dispatch.hxx b/include/sfx2/dispatch.hxx
index 1b81b0ba4b80..cde10c2929fb 100644
--- a/include/sfx2/dispatch.hxx
+++ b/include/sfx2/dispatch.hxx
@@ -156,7 +156,7 @@ public:
bool IsFlushed() const;
void Flush();
void Lock( bool bLock );
- bool IsLocked( sal_uInt16 nSID = 0 ) const;
+ bool IsLocked() const;
void SetSlotFilter( SfxSlotFilterState nEnable = SfxSlotFilterState::DISABLED,
sal_uInt16 nCount = 0, const sal_uInt16 *pSIDs = nullptr );
diff --git a/include/sfx2/filedlghelper.hxx b/include/sfx2/filedlghelper.hxx
index 2e55a9702c79..c371244dc6a6 100644
--- a/include/sfx2/filedlghelper.hxx
+++ b/include/sfx2/filedlghelper.hxx
@@ -201,8 +201,8 @@ public:
const css::uno::Reference < css::ui::dialogs::XFilePicker2 >& GetFilePicker() const;
// XFilePickerListener methods
- void SAL_CALL FileSelectionChanged( const css::ui::dialogs::FilePickerEvent& aEvent );
- void SAL_CALL DirectoryChanged( const css::ui::dialogs::FilePickerEvent& aEvent );
+ void SAL_CALL FileSelectionChanged();
+ void SAL_CALL DirectoryChanged();
virtual void SAL_CALL ControlStateChanged( const css::ui::dialogs::FilePickerEvent& aEvent );
void SAL_CALL DialogSizeChanged();
static OUString SAL_CALL HelpRequested( const css::ui::dialogs::FilePickerEvent& aEvent );
diff --git a/include/sfx2/linkmgr.hxx b/include/sfx2/linkmgr.hxx
index acaa7dc340fe..ce8d3eefd11c 100644
--- a/include/sfx2/linkmgr.hxx
+++ b/include/sfx2/linkmgr.hxx
@@ -126,10 +126,9 @@ public:
static SvLinkSourceRef CreateObj( SvBaseLink* );
- void UpdateAllLinks( bool bAskUpdate = true,
- bool bCallErrHdl = true,
- bool bUpdateGrfLinks = false,
- vcl::Window* pParentWin = nullptr );
+ void UpdateAllLinks( bool bAskUpdate,
+ bool bUpdateGrfLinks,
+ vcl::Window* pParentWin );
// Call for list of links (eg for link-dialog)
const SvBaseLinks& GetLinks() const { return aLinkTbl; }
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index 3c05132304bb..14abb9ba76b3 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -440,12 +440,10 @@ public:
bool GenerateAndStoreThumbnail(
bool bEncrypted,
- bool bIsTemplate,
const css::uno::Reference< css::embed::XStorage >& xStor );
bool WriteThumbnail(
bool bEncrypted,
- bool bIsTemplate,
const css::uno::Reference< css::io::XStream >& xStream );
bool IsInGenerateAndStoreThumbnail() const {return bIsInGenerateThumbnail;}//optimize thumbnail generate and store procedure to improve odt saving performance, i120030
diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx
index 4de1bb297e1d..9d803bf8b2d6 100644
--- a/include/sfx2/viewfrm.hxx
+++ b/include/sfx2/viewfrm.hxx
@@ -198,7 +198,7 @@ public:
SAL_DLLPRIVATE OUString GetActualPresentationURL_Impl() const;
SAL_DLLPRIVATE void MiscExec_Impl(SfxRequest &);
SAL_DLLPRIVATE void MiscState_Impl(SfxItemSet &);
- SAL_DLLPRIVATE SfxWorkWindow* GetWorkWindow_Impl( sal_uInt16 nId );
+ SAL_DLLPRIVATE SfxWorkWindow* GetWorkWindow_Impl();
SAL_DLLPRIVATE void AddDispatchMacroToBasic_Impl(const OUString& sMacro);
SAL_DLLPRIVATE void Exec_Impl(SfxRequest &);
diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx
index 3cfe413bcf30..3e276546aa94 100644
--- a/include/sfx2/viewsh.hxx
+++ b/include/sfx2/viewsh.hxx
@@ -195,12 +195,12 @@ public:
virtual ErrCode DoVerb(long nVerb);
- void OutplaceActivated( bool bActive, SfxInPlaceClient* pClient );
+ void OutplaceActivated( bool bActive );
virtual void UIActivating( SfxInPlaceClient* pClient );
virtual void UIDeactivated( SfxInPlaceClient* pClient );
void JumpToMark( const OUString& rMark );
- void VisAreaChanged(const tools::Rectangle& rRect);
+ void VisAreaChanged();
// Misc