diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:30:49 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-07-02 22:30:49 +0200 |
commit | f6abc3f97e74df0c4ae05abf4075085a9b9c1cc4 (patch) | |
tree | 996a26c5406ec43bb51039d4790080b16cefba7a /scripting/source/basprov | |
parent | 619c9b494a76b0fb8b0cf6c9b7622f17cf1d5b6c (diff) |
loplugin:casttovoid: scripting
Change-Id: I9f77eca5a80ad4e9d3cee8f7400a245f5fa78bbb
Diffstat (limited to 'scripting/source/basprov')
-rw-r--r-- | scripting/source/basprov/basmethnode.cxx | 21 |
1 files changed, 5 insertions, 16 deletions
diff --git a/scripting/source/basprov/basmethnode.cxx b/scripting/source/basprov/basmethnode.cxx index 2b1de0bff3fe..e13f149aefcc 100644 --- a/scripting/source/basprov/basmethnode.cxx +++ b/scripting/source/basprov/basmethnode.cxx @@ -182,13 +182,9 @@ namespace basprov } - Any BasicMethodNodeImpl::invoke( const OUString& aFunctionName, const Sequence< Any >& aParams, - Sequence< sal_Int16 >& aOutParamIndex, Sequence< Any >& aOutParam ) + Any BasicMethodNodeImpl::invoke( const OUString& aFunctionName, const Sequence< Any >&, + Sequence< sal_Int16 >&, Sequence< Any >& ) { - (void)aParams; - (void)aOutParamIndex; - (void)aOutParam; - if ( aFunctionName == BASPROV_PROPERTY_EDITABLE ) { OUString sDocURL, sLibName, sModName; @@ -268,20 +264,15 @@ namespace basprov } - void BasicMethodNodeImpl::setValue( const OUString& aPropertyName, const Any& aValue ) + void BasicMethodNodeImpl::setValue( const OUString&, const Any& ) { - (void)aPropertyName; - (void)aValue; - throw UnknownPropertyException( "BasicMethodNodeImpl::setValue: property name is unknown!" ); } - Any BasicMethodNodeImpl::getValue( const OUString& aPropertyName ) + Any BasicMethodNodeImpl::getValue( const OUString& ) { - (void)aPropertyName; - throw UnknownPropertyException( "BasicMethodNodeImpl::getValue: property name is unknown!" ); } @@ -297,10 +288,8 @@ namespace basprov } - sal_Bool BasicMethodNodeImpl::hasProperty( const OUString& aName ) + sal_Bool BasicMethodNodeImpl::hasProperty( const OUString& ) { - (void)aName; - return false; } |