diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-07 08:49:37 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-09-07 10:04:44 +0200 |
commit | c158c00489d35af7f5f9278b8ee545678d6a42e5 (patch) | |
tree | eab18b26c29210979031ef6b9ef58ce0e0575664 /include | |
parent | 5e9982668224345f901631d664985e823530e05a (diff) |
loplugin:constantparam in framework..vbahelper
Change-Id: I592f73012ae8a4df8488ef04dc0956d9400625bc
Diffstat (limited to 'include')
-rw-r--r-- | include/toolkit/controls/unocontrolcontainer.hxx | 6 | ||||
-rw-r--r-- | include/ucbhelper/simpleauthenticationrequest.hxx | 3 | ||||
-rw-r--r-- | include/unotools/cmdoptions.hxx | 2 | ||||
-rw-r--r-- | include/unotools/configvaluecontainer.hxx | 11 | ||||
-rw-r--r-- | include/unotools/transliterationwrapper.hxx | 3 |
5 files changed, 8 insertions, 17 deletions
diff --git a/include/toolkit/controls/unocontrolcontainer.hxx b/include/toolkit/controls/unocontrolcontainer.hxx index 2c220b01c88e..86e10ae26692 100644 --- a/include/toolkit/controls/unocontrolcontainer.hxx +++ b/include/toolkit/controls/unocontrolcontainer.hxx @@ -145,14 +145,10 @@ private: @param _rxControl the control itself. Must be the one which is stored under the given ID. This parameter could also be obtained inside the method, but callers usually have obtained it, anyway. - @param _pNameAccessor - the name which the control was registered for. Might be <NULL/>, in this case - container event broadcasts use the ID as accessor. */ void impl_removeControl( sal_Int32 _nId, - const css::uno::Reference< css::awt::XControl >& _rxControl, - const OUString* _pNameAccessor + const css::uno::Reference< css::awt::XControl >& _rxControl ); }; diff --git a/include/ucbhelper/simpleauthenticationrequest.hxx b/include/ucbhelper/simpleauthenticationrequest.hxx index 892d70ecf696..f1dad91163ae 100644 --- a/include/ucbhelper/simpleauthenticationrequest.hxx +++ b/include/ucbhelper/simpleauthenticationrequest.hxx @@ -60,9 +60,8 @@ private: bool bCanSetUserName, bool bCanSetPassword, bool bCanSetAccount, - bool bAllowPersistentStoring, bool bAllowUseSystemCredentials, - bool bAllowSessionStoring = true ); + bool bAllowSessionStoring ); public: /** Specification whether some entity (realm, username, password, account) diff --git a/include/unotools/cmdoptions.hxx b/include/unotools/cmdoptions.hxx index b5d0ad854893..a12b9e33aff1 100644 --- a/include/unotools/cmdoptions.hxx +++ b/include/unotools/cmdoptions.hxx @@ -96,7 +96,7 @@ class SAL_WARN_UNUSED UNOTOOLS_DLLPUBLIC SvtCommandOptions : public utl::detail: notified, if configuration was changed. *//*-*****************************************************************************************************/ - void EstablisFrameCallback(const css::uno::Reference< css::frame::XFrame >& xFrame); + void EstablishFrameCallback(const css::uno::Reference< css::frame::XFrame >& xFrame); private: diff --git a/include/unotools/configvaluecontainer.hxx b/include/unotools/configvaluecontainer.hxx index 2ee3e86822d8..16048134353d 100644 --- a/include/unotools/configvaluecontainer.hxx +++ b/include/unotools/configvaluecontainer.hxx @@ -141,16 +141,13 @@ namespace utl <p>Note that calling <method>write</method>(<sal_True/) is the same as calling <method>commit</method>(<TRUE/>).</p> + The current values in the exchange locations are written to the configuration nodes + before the changes are committed.<br/> + @precond The access must have been created for update access - - @param _bWrite - If <TRUE/>, the current values in the exchange locations are written to the configuration nodes - before the changes are committed.<br/> - If <FALSE/>, only the current values in the config nodes (as present since the last call to - <method>write</method>) are committed. */ - void commit( bool _bWrite = true ); + void commit(); private: /// implements the ctors diff --git a/include/unotools/transliterationwrapper.hxx b/include/unotools/transliterationwrapper.hxx index 1b0fa57ddc0a..2c2caa785dba 100644 --- a/include/unotools/transliterationwrapper.hxx +++ b/include/unotools/transliterationwrapper.hxx @@ -80,8 +80,7 @@ public: If for any reason the string can't be transliterated the original string is returned. */ OUString transliterate( const OUString& rStr, - sal_Int32 nStart, sal_Int32 nLen, - css::uno::Sequence <sal_Int32>* pOffset ) const; + sal_Int32 nStart, sal_Int32 nLen ) const; // Wrapper implementations of class Transliteration OUString transliterate( const OUString& rStr, sal_uInt16 nLanguage, |