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/unotools | |
parent | 5e9982668224345f901631d664985e823530e05a (diff) |
loplugin:constantparam in framework..vbahelper
Change-Id: I592f73012ae8a4df8488ef04dc0956d9400625bc
Diffstat (limited to 'include/unotools')
-rw-r--r-- | include/unotools/cmdoptions.hxx | 2 | ||||
-rw-r--r-- | include/unotools/configvaluecontainer.hxx | 11 | ||||
-rw-r--r-- | include/unotools/transliterationwrapper.hxx | 3 |
3 files changed, 6 insertions, 10 deletions
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, |