diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-28 11:47:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-28 14:51:56 +0200 |
commit | b09deb075319c1c19f91e3a6f64429b61682ebf8 (patch) | |
tree | 9e73d1e63092083a337a4ddf1dfe962b4f6ef4dc /include/sfx2 | |
parent | 587d6e13df7bb9c8f78ce605ebb8f8fd34b85a2c (diff) |
loplugin:constparams handle constructors
had to change the structure of the plugin considerably, was too messy to
structure it to do the calculations on a per-function basis
Change-Id: I4edee7735f726101105c607368124a08dba21086
Reviewed-on: https://gerrit.libreoffice.org/40516
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/app.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/frame.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/app.hxx b/include/sfx2/app.hxx index f0200fcfce31..ec1747a53cba 100644 --- a/include/sfx2/app.hxx +++ b/include/sfx2/app.hxx @@ -209,7 +209,7 @@ public: SAL_DLLPRIVATE void SignPDFExec_Impl(SfxRequest&); SAL_DLLPRIVATE void MiscExec_Impl(SfxRequest &); SAL_DLLPRIVATE void MiscState_Impl(SfxItemSet &); - SAL_DLLPRIVATE static void PropExec_Impl(SfxRequest &); + SAL_DLLPRIVATE static void PropExec_Impl(SfxRequest const &); SAL_DLLPRIVATE static void PropState_Impl(SfxItemSet &); SAL_DLLPRIVATE void OfaExec_Impl(SfxRequest &); SAL_DLLPRIVATE static void OfaState_Impl(SfxItemSet &); diff --git a/include/sfx2/frame.hxx b/include/sfx2/frame.hxx index 8ac02bee0829..94c46d6ad05d 100644 --- a/include/sfx2/frame.hxx +++ b/include/sfx2/frame.hxx @@ -182,7 +182,7 @@ class SFX2_DLLPUBLIC SfxFrameItem: public SfxPoolItem public: - SfxFrameItem( sal_uInt16 nWhich, SfxViewFrame *p ); + SfxFrameItem( sal_uInt16 nWhich, SfxViewFrame const *p ); SfxFrameItem( SfxFrame *p ); SfxFrameItem( sal_uInt16 nWhich, SfxFrame *p ); |