summaryrefslogtreecommitdiffstats
path: root/forms
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-15 12:26:27 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-15 14:08:07 +0000
commit018e89337d18e5aa153faae5b3df41188d1c174c (patch)
treeda48d5c39425ed43a04a376315bbf7f24621991d /forms
parentsw lok: fix shape text editing with multiple views (diff)
downloadcore-018e89337d18e5aa153faae5b3df41188d1c174c.tar.gz
core-018e89337d18e5aa153faae5b3df41188d1c174c.zip
Improve loplugin:unnecessaryoverride
<sberg> thorsten, remember what that "TODO" in SvxAccessibleTextPropertySet::getSupportedServiceNames was to be about exactly, in a909acb7009acadffa53e74ea05ddb88803490f1 ? <thorsten> sberg: that's a nonsense, prolly copy'n'pasted, or a 'please review me' <sberg> thorsten, OK, thanks (that override will eventually go away with loplugin:unnecessaryoverride, and the TODO comment be lost) Change-Id: Iba964c61768459aac4067bbd4e1f7d4f78f6adac Reviewed-on: https://gerrit.libreoffice.org/27232 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/Currency.cxx6
-rw-r--r--forms/source/component/Currency.hxx3
-rw-r--r--forms/source/component/Numeric.cxx7
-rw-r--r--forms/source/component/Numeric.hxx3
-rw-r--r--forms/source/component/Pattern.cxx7
-rw-r--r--forms/source/component/Pattern.hxx3
6 files changed, 0 insertions, 29 deletions
diff --git a/forms/source/component/Currency.cxx b/forms/source/component/Currency.cxx
index 0b176e3f90df..fe0005a543ba 100644
--- a/forms/source/component/Currency.cxx
+++ b/forms/source/component/Currency.cxx
@@ -45,12 +45,6 @@ OCurrencyControl::OCurrencyControl(const Reference<XComponentContext>& _rxFactor
{
}
-Sequence<Type> OCurrencyControl::_getTypes()
-{
- return OBoundControl::_getTypes();
-}
-
-
css::uno::Sequence<OUString> SAL_CALL OCurrencyControl::getSupportedServiceNames() throw(std::exception)
{
css::uno::Sequence<OUString> aSupported = OBoundControl::getSupportedServiceNames();
diff --git a/forms/source/component/Currency.hxx b/forms/source/component/Currency.hxx
index dee2e9f6a8b5..2a61cd339138 100644
--- a/forms/source/component/Currency.hxx
+++ b/forms/source/component/Currency.hxx
@@ -69,9 +69,6 @@ protected:
class OCurrencyControl: public OBoundControl
{
-protected:
- virtual css::uno::Sequence< css::uno::Type> _getTypes() override;
-
public:
explicit OCurrencyControl(const css::uno::Reference< css::uno::XComponentContext>& _rxContext);
// css::lang::XServiceInfo
diff --git a/forms/source/component/Numeric.cxx b/forms/source/component/Numeric.cxx
index 3ab288f4b610..76a9156660e1 100644
--- a/forms/source/component/Numeric.cxx
+++ b/forms/source/component/Numeric.cxx
@@ -53,13 +53,6 @@ css::uno::Sequence<OUString> ONumericControl::getSupportedServiceNames() throw(s
return aSupported;
}
-
-Sequence<Type> ONumericControl::_getTypes()
-{
- return OBoundControl::_getTypes();
-}
-
-
// ONumericModel
Sequence<Type> ONumericModel::_getTypes()
diff --git a/forms/source/component/Numeric.hxx b/forms/source/component/Numeric.hxx
index e883e1e1dfbd..1403ee128849 100644
--- a/forms/source/component/Numeric.hxx
+++ b/forms/source/component/Numeric.hxx
@@ -68,9 +68,6 @@ protected:
class ONumericControl: public OBoundControl
{
-protected:
- virtual css::uno::Sequence< css::uno::Type> _getTypes() override;
-
public:
explicit ONumericControl(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory);
diff --git a/forms/source/component/Pattern.cxx b/forms/source/component/Pattern.cxx
index e0d54db2844d..ba27f2337c6a 100644
--- a/forms/source/component/Pattern.cxx
+++ b/forms/source/component/Pattern.cxx
@@ -41,13 +41,6 @@ OPatternControl::OPatternControl(const Reference<XComponentContext>& _rxFactory)
{
}
-
-Sequence<Type> OPatternControl::_getTypes()
-{
- return OBoundControl::_getTypes();
-}
-
-
css::uno::Sequence<OUString> OPatternControl::getSupportedServiceNames() throw(std::exception)
{
css::uno::Sequence<OUString> aSupported = OBoundControl::getSupportedServiceNames();
diff --git a/forms/source/component/Pattern.hxx b/forms/source/component/Pattern.hxx
index 65e4d0d5a711..6600e91a0f61 100644
--- a/forms/source/component/Pattern.hxx
+++ b/forms/source/component/Pattern.hxx
@@ -75,9 +75,6 @@ protected:
class OPatternControl: public OBoundControl
{
-protected:
- virtual css::uno::Sequence< css::uno::Type> _getTypes() override;
-
public:
explicit OPatternControl(const css::uno::Reference< css::uno::XComponentContext>& _rxFactory);