summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-03-08 16:21:26 +0200
committerNoel Grandin <noel@peralex.com>2016-03-09 10:07:46 +0200
commit435d6d50c3cdb6711942ee40dc2fae1865361845 (patch)
treeae76659dca1dfb867c99ae7ca66add9cf3c8ac2d /include
parent96a2aa94b2a68e12ab74cb6d8f4a16f6c63e4ccf (diff)
loplugin:constantparam in sfx2
Change-Id: I50a2d8221f907f0e844e558f3dbdd0346c010201
Diffstat (limited to 'include')
-rw-r--r--include/sfx2/docfile.hxx4
-rw-r--r--include/sfx2/objsh.hxx5
-rw-r--r--include/sfx2/sfxdlg.hxx7
-rw-r--r--include/sfx2/viewfrm.hxx2
-rw-r--r--include/svx/svxdlg.hxx3
5 files changed, 9 insertions, 12 deletions
diff --git a/include/sfx2/docfile.hxx b/include/sfx2/docfile.hxx
index aabf312759e5..12b25efbcf78 100644
--- a/include/sfx2/docfile.hxx
+++ b/include/sfx2/docfile.hxx
@@ -206,14 +206,14 @@ public:
SAL_DLLPRIVATE void CloseAndReleaseStreams_Impl();
SAL_DLLPRIVATE void AddVersion_Impl( css::util::RevisionTag& rVersion );
SAL_DLLPRIVATE bool TransferVersionList_Impl( SfxMedium& rMedium );
- SAL_DLLPRIVATE void SaveVersionList_Impl( bool bUseXML );
+ SAL_DLLPRIVATE void SaveVersionList_Impl();
SAL_DLLPRIVATE void RemoveVersion_Impl( const OUString& rVersion );
SAL_DLLPRIVATE void SetExpired_Impl( const DateTime& rDateTime );
SAL_DLLPRIVATE SvKeyValueIterator* GetHeaderAttributes_Impl();
SAL_DLLPRIVATE void Init_Impl();
- SAL_DLLPRIVATE void ForceSynchronStream_Impl( bool bSynchron );
+ SAL_DLLPRIVATE void ForceSynchronStream_Impl();
SAL_DLLPRIVATE void GetLockingStream_Impl();
SAL_DLLPRIVATE void GetMedium_Impl();
diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
index ffca96b2c639..9f2f71a4529f 100644
--- a/include/sfx2/objsh.hxx
+++ b/include/sfx2/objsh.hxx
@@ -359,7 +359,7 @@ public:
bool SwitchChildrenPersistance(
const css::uno::Reference< css::embed::XStorage >& xStorage,
bool bForceNonModified = false );
- bool SaveCompletedChildren( bool bSuccess );
+ bool SaveCompletedChildren();
/** a very special case to insert at a position in Writer from UNO,
via OwnSubFilterService */
@@ -375,8 +375,7 @@ public:
SignatureState GetScriptingSignatureState();
void SignScriptingContent();
- virtual VclPtr<SfxDocumentInfoDialog> CreateDocumentInfoDialog(
- vcl::Window *pParent, const SfxItemSet& );
+ virtual VclPtr<SfxDocumentInfoDialog> CreateDocumentInfoDialog( const SfxItemSet& );
ErrCode CallBasic( const OUString& rMacro, const OUString& rBasicName,
SbxArray* pArgs = nullptr, SbxValue* pRet = nullptr );
diff --git a/include/sfx2/sfxdlg.hxx b/include/sfx2/sfxdlg.hxx
index 4548dc889bf9..0a77e80df052 100644
--- a/include/sfx2/sfxdlg.hxx
+++ b/include/sfx2/sfxdlg.hxx
@@ -116,7 +116,7 @@ class SFX2_DLLPUBLIC SfxAbstractDialogFactory : virtual public VclAbstractDialog
public:
virtual ~SfxAbstractDialogFactory(); // needed for export of vtable
static SfxAbstractDialogFactory* Create();
- virtual VclAbstractDialog* CreateFrameDialog( vcl::Window* pParent, const css::uno::Reference< css::frame::XFrame >& rFrame, sal_uInt32 nResId, const rtl::OUString& rParameter ) = 0;
+ virtual VclAbstractDialog* CreateFrameDialog( const css::uno::Reference< css::frame::XFrame >& rFrame, sal_uInt32 nResId, const rtl::OUString& rParameter ) = 0;
virtual SfxAbstractTabDialog* CreateTabDialog( sal_uInt32 nResId,
vcl::Window* pParent,
const SfxItemSet* pAttrSet,
@@ -130,7 +130,7 @@ public:
virtual SfxAbstractInsertObjectDialog* CreateInsertObjectDialog( vcl::Window* pParent, const OUString& rCommand,
const css::uno::Reference < css::embed::XStorage >& xStor,
const SvObjectServerList* pList = nullptr )=0;
- virtual VclAbstractDialog* CreateEditObjectDialog( vcl::Window* pParent, const OUString& rCommand,
+ virtual VclAbstractDialog* CreateEditObjectDialog( const OUString& rCommand,
const css::uno::Reference < css::embed::XEmbeddedObject >& xObj )=0;
virtual SfxAbstractPasteDialog* CreatePasteDialog( vcl::Window* pParent )=0;
virtual SfxAbstractLinksDialog* CreateLinksDialog( vcl::Window* pParent, sfx2::LinkManager* pMgr, bool bHTML=false, sfx2::SvBaseLink* p=nullptr )=0;
@@ -143,8 +143,7 @@ public:
const css::uno::Reference< css::frame::XFrame >& _rxFrame
) = 0;
- virtual VclAbstractDialog* CreateScriptErrorDialog(
- vcl::Window* pParent, const css::uno::Any& rException ) = 0;
+ virtual VclAbstractDialog* CreateScriptErrorDialog( const css::uno::Any& rException ) = 0;
virtual VclAbstractDialog* CreateOptionsDialog(
vcl::Window* pParent, const OUString& rExtensionId, const OUString& rApplicationContext ) = 0;
diff --git a/include/sfx2/viewfrm.hxx b/include/sfx2/viewfrm.hxx
index b960289245b3..2f0ec163f89d 100644
--- a/include/sfx2/viewfrm.hxx
+++ b/include/sfx2/viewfrm.hxx
@@ -197,7 +197,7 @@ public:
SAL_DLLPRIVATE void ExecHistory_Impl( SfxRequest &rReq );
SAL_DLLPRIVATE void StateHistory_Impl( SfxItemSet &rSet );
SAL_DLLPRIVATE SfxViewFrame* GetParentViewFrame_Impl() const;
- SAL_DLLPRIVATE void ForceOuterResize_Impl(bool bOn=true);
+ SAL_DLLPRIVATE void ForceOuterResize_Impl();
SAL_DLLPRIVATE bool IsResizeInToOut_Impl() const;
SAL_DLLPRIVATE void UpdateDocument_Impl();
diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx
index f6ddfdf5cb99..e5f9aef610eb 100644
--- a/include/svx/svxdlg.hxx
+++ b/include/svx/svxdlg.hxx
@@ -409,8 +409,7 @@ public:
const css::uno::Reference< css::frame::XFrame >& _rxFrame
) override = 0;
- virtual VclAbstractDialog* CreateScriptErrorDialog(
- vcl::Window* pParent, const css::uno::Any& rException) override = 0;
+ virtual VclAbstractDialog* CreateScriptErrorDialog(const css::uno::Any& rException) override = 0;
virtual VclAbstractDialog* CreateSvxMacroAssignDlg(
vcl::Window* _pParent,