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 /sd/source | |
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 'sd/source')
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsClipboard.cxx | 11 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx | 4 |
2 files changed, 0 insertions, 15 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx index 00a13cf106b8..89b725d97be0 100644 --- a/sd/source/ui/slidesorter/controller/SlsClipboard.cxx +++ b/sd/source/ui/slidesorter/controller/SlsClipboard.cxx @@ -825,17 +825,6 @@ sal_uInt16 Clipboard::DetermineInsertPosition (const SdTransferable& ) return 0; } -sal_uInt16 Clipboard::InsertSlides ( - const SdTransferable& rTransferable, - sal_uInt16 nInsertPosition) -{ - sal_uInt16 nInsertedPageCount = ViewClipboard::InsertSlides ( - rTransferable, - nInsertPosition); - - return nInsertedPageCount; -} - Clipboard::DropType Clipboard::IsDropAccepted() const { const SdTransferable* pDragTransferable = SD_MOD()->pTransferDrag; diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx index f86c129b77a7..a77de34d9f18 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx @@ -101,10 +101,6 @@ protected: virtual sal_uInt16 DetermineInsertPosition ( const SdTransferable& rTransferable) override; - virtual sal_uInt16 InsertSlides ( - const SdTransferable& rTransferable, - sal_uInt16 nInsertPosition) override; - private: SlideSorter& mrSlideSorter; SlideSorterController& mrController; |