diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-27 08:49:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-02-27 09:13:25 +0100 |
commit | 48dc1e48d0fed5e00a3e4b5edf11a90fcc55b5ed (patch) | |
tree | d241315a5658db39879b6c58ca651a0e4469990a /reportdesign | |
parent | 4ca1789e5735e2f2926822562c19e1989c8f5ce2 (diff) |
loplugin:unnecessaryoverride look for more patterns
like
bool Foo::bar() {
b = Super::bar();
return b;
}
Change-Id: I5e4c8005a3da7d7487c9039c35dcbb1d17e65bd7
Reviewed-on: https://gerrit.libreoffice.org/68418
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlStyleImport.cxx | 6 | ||||
-rw-r--r-- | reportdesign/source/filter/xml/xmlStyleImport.hxx | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/reportdesign/source/filter/xml/xmlStyleImport.cxx b/reportdesign/source/filter/xml/xmlStyleImport.cxx index 704641996661..931eeda4587f 100644 --- a/reportdesign/source/filter/xml/xmlStyleImport.cxx +++ b/reportdesign/source/filter/xml/xmlStyleImport.cxx @@ -406,12 +406,6 @@ sal_Int32 OReportStylesContext::GetIndex(const sal_Int16 nContextID) } -sal_uInt16 OReportStylesContext::GetFamily( const OUString& rFamily ) const -{ - sal_uInt16 nFamily = SvXMLStylesContext::GetFamily(rFamily); - return nFamily; -} - } // rptxml diff --git a/reportdesign/source/filter/xml/xmlStyleImport.hxx b/reportdesign/source/filter/xml/xmlStyleImport.hxx index 5a59b8dab229..e5fce77c154a 100644 --- a/reportdesign/source/filter/xml/xmlStyleImport.hxx +++ b/reportdesign/source/filter/xml/xmlStyleImport.hxx @@ -123,7 +123,6 @@ namespace rptxml virtual css::uno::Reference< css::container::XNameContainer > GetStylesContainer( sal_uInt16 nFamily ) const override; virtual OUString GetServiceName( sal_uInt16 nFamily ) const override; - virtual sal_uInt16 GetFamily( const OUString& rFamily ) const override; sal_Int32 GetIndex(const sal_Int16 nContextID); }; |