diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-03 13:08:30 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-03 12:06:57 +0000 |
commit | 337f517af60d25351bc89f3814dcaf48f3aaa5b6 (patch) | |
tree | 05f3c6f01adb538ca9bc2f10601be068feda7e6b /include/comphelper | |
parent | 944cdf5fa830e1d85b72c0d815e8fee29410e742 (diff) |
loplugin:unuseddefaultparams comphelper
Change-Id: I78280a13fc0d82fc87041b5dad0c3f2f7d462652
Reviewed-on: https://gerrit.libreoffice.org/22853
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/accessiblewrapper.hxx | 3 | ||||
-rw-r--r-- | include/comphelper/componentmodule.hxx | 3 | ||||
-rw-r--r-- | include/comphelper/docpasswordhelper.hxx | 7 | ||||
-rw-r--r-- | include/comphelper/embeddedobjectcontainer.hxx | 2 | ||||
-rw-r--r-- | include/comphelper/storagehelper.hxx | 3 |
5 files changed, 5 insertions, 13 deletions
diff --git a/include/comphelper/accessiblewrapper.hxx b/include/comphelper/accessiblewrapper.hxx index e78c4009b562..b6df3200b4d4 100644 --- a/include/comphelper/accessiblewrapper.hxx +++ b/include/comphelper/accessiblewrapper.hxx @@ -349,8 +349,7 @@ namespace comphelper /// retrieves a wrapper for the given accessible css::uno::Reference< css::accessibility::XAccessible > getAccessibleWrapperFor( - const css::uno::Reference< css::accessibility::XAccessible >& _rxKey, - bool _bCreate = true + const css::uno::Reference< css::accessibility::XAccessible >& _rxKey ); /// erases the given key from the map (if it is present there) diff --git a/include/comphelper/componentmodule.hxx b/include/comphelper/componentmodule.hxx index b14148a4ad6e..4c0f8a3e4742 100644 --- a/include/comphelper/componentmodule.hxx +++ b/include/comphelper/componentmodule.hxx @@ -113,8 +113,7 @@ namespace comphelper void registerImplementation( const OUString& _rImplementationName, const css::uno::Sequence< OUString >& _rServiceNames, - ::cppu::ComponentFactoryFunc _pCreateFunction, - FactoryInstantiation _pFactoryFunction = ::cppu::createSingleComponentFactory ); + ::cppu::ComponentFactoryFunc _pCreateFunction ); /** registers a component given by ComponentDescription */ diff --git a/include/comphelper/docpasswordhelper.hxx b/include/comphelper/docpasswordhelper.hxx index 12ecb7ee6e69..18eebd11e4dd 100644 --- a/include/comphelper/docpasswordhelper.hxx +++ b/include/comphelper/docpasswordhelper.hxx @@ -172,17 +172,12 @@ public: @param aString The string for which the hash should be calculated - @param nEnc - The encoding that should be used to generate the 8-bit string - before the hash is generated - @return The hash represented by sequence of bytes in BigEndian form */ static css::uno::Sequence< sal_Int8 > GetXLHashAsSequence( - const OUString& aString, - rtl_TextEncoding nEnc = RTL_TEXTENCODING_UTF8 ); + const OUString& aString ); /** This helper function generates a random sequence of bytes of diff --git a/include/comphelper/embeddedobjectcontainer.hxx b/include/comphelper/embeddedobjectcontainer.hxx index ddbc6d095033..2e73050dc9c2 100644 --- a/include/comphelper/embeddedobjectcontainer.hxx +++ b/include/comphelper/embeddedobjectcontainer.hxx @@ -144,7 +144,7 @@ public: bool MoveEmbeddedObject( const OUString& rName, EmbeddedObjectContainer& ); // get the stored representation for the object - css::uno::Reference < css::io::XInputStream > GetObjectStream( const css::uno::Reference < css::embed::XEmbeddedObject >&, OUString* pMediaType=nullptr ); + css::uno::Reference < css::io::XInputStream > GetObjectStream( const css::uno::Reference < css::embed::XEmbeddedObject >& ); css::uno::Reference < css::io::XInputStream > GetObjectStream( const OUString& aName, OUString* pMediaType ); // get the stored graphical representation for the object diff --git a/include/comphelper/storagehelper.hxx b/include/comphelper/storagehelper.hxx index 9472ce6bae71..d5655d492f75 100644 --- a/include/comphelper/storagehelper.hxx +++ b/include/comphelper/storagehelper.hxx @@ -145,8 +145,7 @@ public: const OUString& aURL, sal_Int32 nStorageMode, const css::uno::Reference< css::uno::XComponentContext >& rxContext - = css::uno::Reference< css::uno::XComponentContext >(), - bool bRepairStorage = false ) + = css::uno::Reference< css::uno::XComponentContext >() ) throw ( css::uno::Exception ); static css::uno::Reference< css::embed::XStorage > |