summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-11-09 07:52:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-11-09 07:54:51 +0100
commit9fbe22e1d9b30c5c0087e84809c80b936c5c142f (patch)
tree5086f8f22612844eec9102feb17e8c4b29e0ff9f /sc
parent5ba447bdcd13ba3d7c27c8609f207910227e4ab6 (diff)
No need to blacklist this loplugin:unnecessaryoverride
This now hides one of the ScVbaFormatCondition_BASE::Operator overloads, but that doesn't get called directly at ScVbaFormatCondition anyway. (And if it were, we could add an appropriate using declaration to ScVbaFormatCondition.) Change-Id: I8440b76a5745c6874f7a3bfcbb4bc4ce5618a4c4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/vba/vbaformatcondition.cxx6
-rw-r--r--sc/source/ui/vba/vbaformatcondition.hxx1
2 files changed, 0 insertions, 7 deletions
diff --git a/sc/source/ui/vba/vbaformatcondition.cxx b/sc/source/ui/vba/vbaformatcondition.cxx
index f5f3aff26e7a..55d81e888030 100644
--- a/sc/source/ui/vba/vbaformatcondition.cxx
+++ b/sc/source/ui/vba/vbaformatcondition.cxx
@@ -128,12 +128,6 @@ ScVbaFormatCondition::Type( )
return nReturnType;
}
-::sal_Int32
-ScVbaFormatCondition::Operator( bool bVal )
-{
- return ScVbaFormatCondition_BASE::Operator( bVal );
-}
-
::sal_Int32 SAL_CALL
ScVbaFormatCondition::Operator( )
{
diff --git a/sc/source/ui/vba/vbaformatcondition.hxx b/sc/source/ui/vba/vbaformatcondition.hxx
index 8ffb1f700b96..85b102310762 100644
--- a/sc/source/ui/vba/vbaformatcondition.hxx
+++ b/sc/source/ui/vba/vbaformatcondition.hxx
@@ -56,7 +56,6 @@ public:
virtual void SAL_CALL Delete( ) override;
virtual void SAL_CALL Modify( ::sal_Int32 Type, const css::uno::Any& Operator, const css::uno::Any& Formula1, const css::uno::Any& Formula2 ) override;
virtual ::sal_Int32 SAL_CALL Type( ) override;
- virtual ::sal_Int32 Operator( bool ) override;
virtual ::sal_Int32 SAL_CALL Operator( ) override;
virtual void setFormula1( const css::uno::Any& _aFormula1) override;
virtual css::uno::Reference< ::ooo::vba::excel::XInterior > SAL_CALL Interior( ) override;