summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-10-30 13:30:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-10-31 09:40:57 +0100
commit3ad6957dc12c0667a69ca6b8361ccde490f9c1da (patch)
treedf3b87e6aa8f6f7d8e7ae8e78830921ce8f97471 /include
parentc2b018b94408703aef4e5d3429a9c0ab826f5b7c (diff)
loplugin:constantparam in sfx2
Change-Id: Id52809401fb848d7169a665903e67ba28f4af598 Reviewed-on: https://gerrit.libreoffice.org/44084 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/app.hxx4
-rw-r--r--include/sfx2/docfilt.hxx3
-rw-r--r--include/sfx2/evntconf.hxx2
-rw-r--r--include/sfx2/mgetempl.hxx2
4 files changed, 5 insertions, 6 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx
index ec1747a53cba..d3384e7f5a38 100644
--- a/include/sfx2/app.hxx
+++ b/include/sfx2/app.hxx
@@ -163,8 +163,8 @@ public:
static OUString ChooseScript();
static void MacroOrganizer( sal_Int16 nTabId );
static ErrCode CallBasic( const OUString&, BasicManager*, SbxArray *pArgs, SbxValue *pRet );
- static ErrCode CallAppBasic( const OUString& i_macroName, SbxArray* i_args = nullptr )
- { return CallBasic( i_macroName, SfxApplication::GetBasicManager(), i_args, nullptr ); }
+ static ErrCode CallAppBasic( const OUString& i_macroName )
+ { return CallBasic( i_macroName, SfxApplication::GetBasicManager(), nullptr, nullptr ); }
static BasicManager* GetBasicManager();
css::script::XLibraryContainer * GetDialogContainer();
css::script::XLibraryContainer * GetBasicContainer();
diff --git a/include/sfx2/docfilt.hxx b/include/sfx2/docfilt.hxx
index 95fde5036d06..d5e0507d577a 100644
--- a/include/sfx2/docfilt.hxx
+++ b/include/sfx2/docfilt.hxx
@@ -114,8 +114,7 @@ public:
/// @throws css::lang::WrappedTargetException
/// @throws css::uno::RuntimeException
static OUString GetTypeFromStorage(
- const css::uno::Reference<css::embed::XStorage>& xStorage,
- bool bTemplate = false );
+ const css::uno::Reference<css::embed::XStorage>& xStorage );
};
#endif
diff --git a/include/sfx2/evntconf.hxx b/include/sfx2/evntconf.hxx
index 8a4d004c075d..bf59d805a074 100644
--- a/include/sfx2/evntconf.hxx
+++ b/include/sfx2/evntconf.hxx
@@ -98,7 +98,7 @@ class SFX2_DLLPUBLIC SfxEventConfiguration
{
public:
static void ConfigureEvent( const OUString& aName, const SvxMacro&, SfxObjectShell const * pObjSh);
- static SvxMacro* ConvertToMacro( const css::uno::Any& rElement, SfxObjectShell* pDoc, bool bBlowUp );
+ static SvxMacro* ConvertToMacro( const css::uno::Any& rElement, SfxObjectShell* pDoc );
};
#endif
diff --git a/include/sfx2/mgetempl.hxx b/include/sfx2/mgetempl.hxx
index fb018865cc35..42aeef6c1135 100644
--- a/include/sfx2/mgetempl.hxx
+++ b/include/sfx2/mgetempl.hxx
@@ -87,7 +87,7 @@ friend class SfxStyleDialog;
virtual void Reset(const SfxItemSet *) override;
static bool Execute_Impl( sal_uInt16 nId, const OUString& rStr, const OUString& rRefStr,
- sal_uInt16 nFamily, sal_uInt16 nMask = 0 );
+ sal_uInt16 nFamily );
using TabPage::ActivatePage;
virtual void ActivatePage(const SfxItemSet &) override;
using TabPage::DeactivatePage;