diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-28 14:43:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-29 11:12:47 +0200 |
commit | 3dfc17ed6334c619228668ffeff591bc75d32025 (patch) | |
tree | b2c985c9557151e120ddb10c4cc82bda4d7835ce /sfx2/inc | |
parent | f8e989c2384250d30f84651eb03673fb8d8dd096 (diff) |
loplugin:constantparam (3)
Change-Id: Ifc47bb8e096c9a8563021b2fcb44199577740746
Reviewed-on: https://gerrit.libreoffice.org/59747
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/guisaveas.hxx | 3 | ||||
-rw-r--r-- | sfx2/inc/preventduplicateinteraction.hxx | 5 |
2 files changed, 3 insertions, 5 deletions
diff --git a/sfx2/inc/guisaveas.hxx b/sfx2/inc/guisaveas.hxx index fb93a33c5328..ac9df75aea61 100644 --- a/sfx2/inc/guisaveas.hxx +++ b/sfx2/inc/guisaveas.hxx @@ -70,8 +70,7 @@ public: static void SetDocInfoState( const css::uno::Reference< css::frame::XModel >& xModel, - const css::uno::Reference< css::document::XDocumentProperties>& i_xOldDocInfo, - bool bNoModify ); + const css::uno::Reference< css::document::XDocumentProperties>& i_xOldDocInfo ); static bool WarnUnacceptableFormat( const css::uno::Reference< css::frame::XModel >& xModel, diff --git a/sfx2/inc/preventduplicateinteraction.hxx b/sfx2/inc/preventduplicateinteraction.hxx index 46e998a213e7..8fdf8f79ea22 100644 --- a/sfx2/inc/preventduplicateinteraction.hxx +++ b/sfx2/inc/preventduplicateinteraction.hxx @@ -182,10 +182,9 @@ class PreventDuplicateInteraction : private ThreadHelpBase2 public: - InteractionInfo(const css::uno::Type& aInteraction, - sal_Int32 nMaxCount ) + InteractionInfo(const css::uno::Type& aInteraction) : m_aInteraction(aInteraction) - , m_nMaxCount (nMaxCount ) + , m_nMaxCount (1 ) , m_nCallCount (0 ) {} }; |