summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-12-05 09:00:32 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-12-05 09:00:32 +0100
commit542bb6b7876f7a5aef4e27f054fba39448b111b5 (patch)
treeeced796a47321bcf10ff5a31a4736d2433294c2b
parent4586cc8b62f93c1cb113218da4ebe332692fe314 (diff)
loplugin:unnecessaryoverride (dtors) in sd
Change-Id: Ibe339042a523f7c55fbcea68756524fc168e8558
-rw-r--r--sd/source/filter/grf/sdgrffilter.cxx6
-rw-r--r--sd/source/filter/html/HtmlOptionsDialog.cxx5
-rw-r--r--sd/source/ui/animations/CustomAnimationList.cxx18
-rw-r--r--sd/source/ui/animations/motionpathtag.cxx6
-rw-r--r--sd/source/ui/annotations/annotationtag.cxx6
-rw-r--r--sd/source/ui/dlg/headerfooterdlg.cxx5
-rw-r--r--sd/source/ui/framework/factories/PresentationFactory.cxx6
-rw-r--r--sd/source/ui/framework/tools/FrameworkHelper.cxx10
-rw-r--r--sd/source/ui/presenter/PresenterCanvas.cxx5
-rw-r--r--sd/source/ui/presenter/PresenterPreviewCache.cxx5
-rw-r--r--sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx5
-rw-r--r--sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx5
-rw-r--r--sd/source/ui/slidesorter/shell/SlideSorter.cxx6
-rw-r--r--sd/source/ui/slidesorter/view/SlideSorterView.cxx2
-rw-r--r--sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx4
-rw-r--r--sd/source/ui/tools/PreviewRenderer.cxx6
-rw-r--r--sd/source/ui/unoidl/UnoDocumentSettings.cxx5
-rw-r--r--sd/source/ui/unoidl/unomodel.cxx5
-rw-r--r--sd/source/ui/unoidl/unopool.cxx5
-rw-r--r--sd/source/ui/view/DocumentRenderer.cxx6
-rw-r--r--sd/source/ui/view/drviewsa.cxx5
-rw-r--r--sd/source/ui/view/sdview.cxx5
-rw-r--r--sd/source/ui/view/viewoverlaymanager.cxx5
23 files changed, 5 insertions, 131 deletions
diff --git a/sd/source/filter/grf/sdgrffilter.cxx b/sd/source/filter/grf/sdgrffilter.cxx
index 6f53645617ba..806e6b93f7c2 100644
--- a/sd/source/filter/grf/sdgrffilter.cxx
+++ b/sd/source/filter/grf/sdgrffilter.cxx
@@ -95,18 +95,12 @@ class SdGRFFilter_ImplInteractionHdl : public ::cppu::WeakImplHelper< css::task:
nFilterError( GRFILTER_OK )
{}
- virtual ~SdGRFFilter_ImplInteractionHdl() override;
-
sal_uInt16 GetErrorCode() const { return nFilterError; };
virtual void SAL_CALL handle( const css::uno::Reference< css::task::XInteractionRequest >& )
throw( css::uno::RuntimeException, std::exception ) override;
};
-SdGRFFilter_ImplInteractionHdl::~SdGRFFilter_ImplInteractionHdl()
-{
-}
-
void SdGRFFilter_ImplInteractionHdl::handle( const css::uno::Reference< css::task::XInteractionRequest >& xRequest )
throw( css::uno::RuntimeException, std::exception )
{
diff --git a/sd/source/filter/html/HtmlOptionsDialog.cxx b/sd/source/filter/html/HtmlOptionsDialog.cxx
index 8d914d707cdd..6aa7bbecb174 100644
--- a/sd/source/filter/html/HtmlOptionsDialog.cxx
+++ b/sd/source/filter/html/HtmlOptionsDialog.cxx
@@ -66,7 +66,6 @@ class SdHtmlOptionsDialog : public cppu::WeakImplHelper
public:
SdHtmlOptionsDialog();
- virtual ~SdHtmlOptionsDialog() override;
// XInterface
virtual void SAL_CALL acquire() throw() override;
@@ -104,10 +103,6 @@ SdHtmlOptionsDialog::SdHtmlOptionsDialog() :
{
}
-SdHtmlOptionsDialog::~SdHtmlOptionsDialog()
-{
-}
-
void SAL_CALL SdHtmlOptionsDialog::acquire() throw()
{
OWeakObject::acquire();
diff --git a/sd/source/ui/animations/CustomAnimationList.cxx b/sd/source/ui/animations/CustomAnimationList.cxx
index 2baffb241b46..b06394f1846a 100644
--- a/sd/source/ui/animations/CustomAnimationList.cxx
+++ b/sd/source/ui/animations/CustomAnimationList.cxx
@@ -203,7 +203,6 @@ class CustomAnimationListEntryItem : public SvLBoxString
public:
CustomAnimationListEntryItem(const OUString& aDescription,
const CustomAnimationEffectPtr& pEffect, CustomAnimationList* pParent);
- virtual ~CustomAnimationListEntryItem() override;
void InitViewData(SvTreeListBox*,SvTreeListEntry*,SvViewDataItem* = nullptr) override;
SvLBoxItem* Create() const override;
void Clone(SvLBoxItem* pSource) override;
@@ -242,12 +241,6 @@ CustomAnimationListEntryItem::CustomAnimationListEntryItem( const OUString& aDes
msEffectName = msEffectName.replaceFirst( "%1" , mpCustomAnimationPresets->getUINameForPresetId(mpEffect->getPresetId()));
}
-
-CustomAnimationListEntryItem::~CustomAnimationListEntryItem()
-{
-}
-
-
void CustomAnimationListEntryItem::InitViewData( SvTreeListBox* pView, SvTreeListEntry* pEntry, SvViewDataItem* pViewData )
{
if( !pViewData )
@@ -350,7 +343,6 @@ class CustomAnimationListEntry : public SvTreeListEntry
public:
CustomAnimationListEntry();
explicit CustomAnimationListEntry(const CustomAnimationEffectPtr& pEffect);
- virtual ~CustomAnimationListEntry() override;
const CustomAnimationEffectPtr& getEffect() const { return mpEffect; }
@@ -367,15 +359,11 @@ CustomAnimationListEntry::CustomAnimationListEntry(const CustomAnimationEffectPt
{
}
-CustomAnimationListEntry::~CustomAnimationListEntry()
-{
-}
-
class CustomAnimationTriggerEntryItem : public SvLBoxString
{
public:
explicit CustomAnimationTriggerEntryItem( const OUString& aDescription );
- virtual ~CustomAnimationTriggerEntryItem() override;
+
void InitViewData( SvTreeListBox*,SvTreeListEntry*,SvViewDataItem* = nullptr ) override;
SvLBoxItem* Create() const override;
void Clone( SvLBoxItem* pSource ) override;
@@ -392,10 +380,6 @@ CustomAnimationTriggerEntryItem::CustomAnimationTriggerEntryItem( const OUString
{
}
-CustomAnimationTriggerEntryItem::~CustomAnimationTriggerEntryItem()
-{
-}
-
void CustomAnimationTriggerEntryItem::InitViewData( SvTreeListBox* pView, SvTreeListEntry* pEntry, SvViewDataItem* pViewData )
{
if( !pViewData )
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx
index f1f36e554bdf..3d5c436ca5fa 100644
--- a/sd/source/ui/animations/motionpathtag.cxx
+++ b/sd/source/ui/animations/motionpathtag.cxx
@@ -245,7 +245,7 @@ class SdPathHdl : public SmartHdl
{
public:
SdPathHdl( const SmartTagReference& xTag, SdrPathObj* mpPathObj );
- virtual ~SdPathHdl() override;
+
virtual void CreateB2dIAObject() override;
virtual bool IsFocusHdl() const override;
virtual bool isMarkable() const override;
@@ -260,10 +260,6 @@ SdPathHdl::SdPathHdl( const SmartTagReference& xTag, SdrPathObj* pPathObj )
{
}
-SdPathHdl::~SdPathHdl()
-{
-}
-
void SdPathHdl::CreateB2dIAObject()
{
// first throw away old one
diff --git a/sd/source/ui/annotations/annotationtag.cxx b/sd/source/ui/annotations/annotationtag.cxx
index 647f155c028f..771cd5964d5e 100644
--- a/sd/source/ui/annotations/annotationtag.cxx
+++ b/sd/source/ui/annotations/annotationtag.cxx
@@ -155,7 +155,7 @@ class AnnotationHdl : public SmartHdl
{
public:
AnnotationHdl( const SmartTagReference& xTag, const Reference< XAnnotation >& xAnnotation, const Point& rPnt );
- virtual ~AnnotationHdl() override;
+
virtual void CreateB2dIAObject() override;
virtual bool IsFocusHdl() const override;
virtual bool isMarkable() const override;
@@ -172,10 +172,6 @@ AnnotationHdl::AnnotationHdl( const SmartTagReference& xTag, const Reference< XA
{
}
-AnnotationHdl::~AnnotationHdl()
-{
-}
-
void AnnotationHdl::CreateB2dIAObject()
{
// first throw away old one
diff --git a/sd/source/ui/dlg/headerfooterdlg.cxx b/sd/source/ui/dlg/headerfooterdlg.cxx
index 612659473c99..dc1c75859b77 100644
--- a/sd/source/ui/dlg/headerfooterdlg.cxx
+++ b/sd/source/ui/dlg/headerfooterdlg.cxx
@@ -75,7 +75,6 @@ private:
public:
explicit PresLayoutPreview(vcl::Window* pParent);
- virtual ~PresLayoutPreview() override;
virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect) override;
virtual Size GetOptimalSize() const override;
@@ -697,10 +696,6 @@ PresLayoutPreview::PresLayoutPreview( vcl::Window* pParent )
VCL_BUILDER_FACTORY(PresLayoutPreview)
-PresLayoutPreview::~PresLayoutPreview()
-{
-}
-
Size PresLayoutPreview::GetOptimalSize() const
{
return LogicToPixel(Size(80, 80), MapUnit::MapAppFont);
diff --git a/sd/source/ui/framework/factories/PresentationFactory.cxx b/sd/source/ui/framework/factories/PresentationFactory.cxx
index 7a46a15ccd14..59e550dc4551 100644
--- a/sd/source/ui/framework/factories/PresentationFactory.cxx
+++ b/sd/source/ui/framework/factories/PresentationFactory.cxx
@@ -46,7 +46,6 @@ class PresentationFactoryProvider
{
public:
explicit PresentationFactoryProvider (const Reference<XComponentContext>& rxContext);
- virtual ~PresentationFactoryProvider() override;
virtual void SAL_CALL disposing() override;
@@ -70,7 +69,6 @@ class PresentationView
public:
explicit PresentationView (const Reference<XResourceId>& rxViewId)
: PresentationViewInterfaceBase(maMutex),mxResourceId(rxViewId) {};
- virtual ~PresentationView() override {};
// XView
@@ -191,10 +189,6 @@ PresentationFactoryProvider::PresentationFactoryProvider (
(void)rxContext;
}
-PresentationFactoryProvider::~PresentationFactoryProvider()
-{
-}
-
void PresentationFactoryProvider::disposing()
{
}
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx
index 58f510f4f629..d614f06c3a5f 100644
--- a/sd/source/ui/framework/tools/FrameworkHelper.cxx
+++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx
@@ -92,7 +92,6 @@ public:
const OUString& rsEventType,
const ::sd::framework::FrameworkHelper::ConfigurationChangeEventFilter& rFilter,
const ::sd::framework::FrameworkHelper::Callback& rCallback);
- virtual ~CallbackCaller() override;
virtual void SAL_CALL disposing() override;
// XEventListener
@@ -297,7 +296,6 @@ class FrameworkHelper::DisposeListener
{
public:
explicit DisposeListener (const ::std::shared_ptr<FrameworkHelper>& rpHelper);
- virtual ~DisposeListener() override;
virtual void SAL_CALL disposing() override;
@@ -811,10 +809,6 @@ FrameworkHelper::DisposeListener::DisposeListener (
xComponent->addEventListener(this);
}
-FrameworkHelper::DisposeListener::~DisposeListener()
-{
-}
-
void SAL_CALL FrameworkHelper::DisposeListener::disposing()
{
Reference<XComponent> xComponent (mpHelper->mxConfigurationController, UNO_QUERY);
@@ -883,10 +877,6 @@ CallbackCaller::CallbackCaller (
}
}
-CallbackCaller::~CallbackCaller()
-{
-}
-
void CallbackCaller::disposing()
{
try
diff --git a/sd/source/ui/presenter/PresenterCanvas.cxx b/sd/source/ui/presenter/PresenterCanvas.cxx
index 6333a536123e..44e7ff77c16a 100644
--- a/sd/source/ui/presenter/PresenterCanvas.cxx
+++ b/sd/source/ui/presenter/PresenterCanvas.cxx
@@ -57,7 +57,6 @@ public:
const Reference<rendering::XCustomSprite>& rxSprite,
const Reference<awt::XWindow>& rxBaseWindow,
const css::geometry::RealSize2D& rSpriteSize);
- virtual ~PresenterCustomSprite() override;
PresenterCustomSprite(const PresenterCustomSprite&) = delete;
PresenterCustomSprite& operator=(const PresenterCustomSprite&) = delete;
virtual void SAL_CALL disposing()
@@ -791,10 +790,6 @@ PresenterCustomSprite::PresenterCustomSprite (
{
}
-PresenterCustomSprite::~PresenterCustomSprite()
-{
-}
-
void SAL_CALL PresenterCustomSprite::disposing()
throw (RuntimeException)
{
diff --git a/sd/source/ui/presenter/PresenterPreviewCache.cxx b/sd/source/ui/presenter/PresenterPreviewCache.cxx
index dc613d195c14..749e3b694803 100644
--- a/sd/source/ui/presenter/PresenterPreviewCache.cxx
+++ b/sd/source/ui/presenter/PresenterPreviewCache.cxx
@@ -36,7 +36,6 @@ class PresenterPreviewCache::PresenterCacheContext : public CacheContext
{
public:
PresenterCacheContext();
- virtual ~PresenterCacheContext() override;
void SetDocumentSlides (
const Reference<container::XIndexAccess>& rxSlides,
@@ -208,10 +207,6 @@ PresenterPreviewCache::PresenterCacheContext::PresenterCacheContext()
{
}
-PresenterPreviewCache::PresenterCacheContext::~PresenterCacheContext()
-{
-}
-
void PresenterPreviewCache::PresenterCacheContext::SetDocumentSlides (
const Reference<container::XIndexAccess>& rxSlides,
const Reference<XInterface>& rxDocument)
diff --git a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
index c2ea99198f71..fa63b447feb6 100644
--- a/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx
@@ -195,7 +195,6 @@ public:
NormalModeHandler (
SlideSorter& rSlideSorter,
SelectionFunction& rSelectionFunction);
- virtual ~NormalModeHandler() override;
virtual SelectionFunction::Mode GetMode() const override;
virtual void Abort() override;
@@ -1025,10 +1024,6 @@ NormalModeHandler::NormalModeHandler (
{
}
-NormalModeHandler::~NormalModeHandler()
-{
-}
-
SelectionFunction::Mode NormalModeHandler::GetMode() const
{
return SelectionFunction::NormalMode;
diff --git a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
index fa046e5238c5..31bf5285daab 100644
--- a/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
+++ b/sd/source/ui/slidesorter/model/SlsPageEnumeration.cxx
@@ -36,7 +36,6 @@ public:
inline PageEnumerationImpl (
const SlideSorterModel& rModel,
const PageEnumeration::PagePredicate& rPredicate);
- virtual ~PageEnumerationImpl() override;
PageEnumerationImpl(const PageEnumerationImpl&) = delete;
PageEnumerationImpl& operator=(const PageEnumerationImpl&) = delete;
/** Create a copy of the called enumeration object.
@@ -147,10 +146,6 @@ PageEnumerationImpl::PageEnumerationImpl (
{
}
-PageEnumerationImpl::~PageEnumerationImpl()
-{
-}
-
::std::unique_ptr<Enumeration<SharedPageDescriptor> >
PageEnumerationImpl::Clone()
{
diff --git a/sd/source/ui/slidesorter/shell/SlideSorter.cxx b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
index 98835c75fa7a..d7c576b51b42 100644
--- a/sd/source/ui/slidesorter/shell/SlideSorter.cxx
+++ b/sd/source/ui/slidesorter/shell/SlideSorter.cxx
@@ -51,7 +51,7 @@ class ContentWindow : public ::sd::Window
{
public:
ContentWindow(vcl::Window& rParent, SlideSorter& rSlideSorter);
- virtual ~ContentWindow() override;
+
void SetCurrentFunction (const rtl::Reference<FuPoor>& rpFunction);
virtual void Paint(vcl::RenderContext& /*rRenderContext*/, const Rectangle& rRect) override;
virtual void KeyInput (const KeyEvent& rEvent) override;
@@ -439,10 +439,6 @@ ContentWindow::ContentWindow(
SetStyle(GetStyle() | WB_NOPOINTERFOCUS);
}
-ContentWindow::~ContentWindow()
-{
-}
-
void ContentWindow::SetCurrentFunction (const rtl::Reference<FuPoor>& rpFunction)
{
mpCurrentFunction = rpFunction;
diff --git a/sd/source/ui/slidesorter/view/SlideSorterView.cxx b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
index 222f2dfc0194..123b4dedc4d7 100644
--- a/sd/source/ui/slidesorter/view/SlideSorterView.cxx
+++ b/sd/source/ui/slidesorter/view/SlideSorterView.cxx
@@ -88,7 +88,6 @@ namespace {
{
public:
explicit Painter (SlideSorterView& rView) : mrView(rView) {}
- virtual ~Painter() override {}
virtual void Paint (OutputDevice& rDevice, const Rectangle& rRepaintArea) override
{
@@ -107,7 +106,6 @@ class BackgroundPainter
{
public:
explicit BackgroundPainter (const Color& rBackgroundColor) : maBackgroundColor(rBackgroundColor) {}
- virtual ~BackgroundPainter() override {}
BackgroundPainter(const BackgroundPainter&) = delete;
BackgroundPainter& operator=(const BackgroundPainter&) = delete;
diff --git a/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx b/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx
index bc8dfefd5323..ab6dd2c8bb1b 100644
--- a/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx
+++ b/sd/source/ui/slidesorter/view/SlsLayeredDevice.cxx
@@ -45,10 +45,6 @@ public:
{
}
- virtual ~LayerInvalidator ( ) override
- {
- }
-
virtual void Invalidate (const Rectangle& rInvalidationBox) override
{
mpLayeredDevice->Invalidate(rInvalidationBox, mnLayer);
diff --git a/sd/source/ui/tools/PreviewRenderer.cxx b/sd/source/ui/tools/PreviewRenderer.cxx
index ddc4e74ea613..8d39a1e335dc 100644
--- a/sd/source/ui/tools/PreviewRenderer.cxx
+++ b/sd/source/ui/tools/PreviewRenderer.cxx
@@ -54,7 +54,7 @@ namespace {
{
public:
ViewRedirector();
- virtual ~ViewRedirector() override;
+
virtual drawinglayer::primitive2d::Primitive2DContainer createRedirectedPrimitive2DSequence(
const sdr::contact::ViewObjectContact& rOriginal,
const sdr::contact::DisplayInfo& rDisplayInfo) override;
@@ -496,10 +496,6 @@ ViewRedirector::ViewRedirector()
{
}
-ViewRedirector::~ViewRedirector()
-{
-}
-
drawinglayer::primitive2d::Primitive2DContainer ViewRedirector::createRedirectedPrimitive2DSequence(
const sdr::contact::ViewObjectContact& rOriginal,
const sdr::contact::DisplayInfo& rDisplayInfo)
diff --git a/sd/source/ui/unoidl/UnoDocumentSettings.cxx b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
index 32e4fa64a665..c6aba162be0c 100644
--- a/sd/source/ui/unoidl/UnoDocumentSettings.cxx
+++ b/sd/source/ui/unoidl/UnoDocumentSettings.cxx
@@ -72,7 +72,6 @@ namespace sd
{
public:
explicit DocumentSettings( SdXImpressDocument* pModel );
- virtual ~DocumentSettings() throw() override;
// XInterface
virtual Any SAL_CALL queryInterface( const Type& aType ) throw (RuntimeException, std::exception) override;
@@ -221,10 +220,6 @@ DocumentSettings::DocumentSettings( SdXImpressDocument* pModel )
{
}
-DocumentSettings::~DocumentSettings() throw()
-{
-}
-
bool DocumentSettings::LoadList( XPropertyListType t, const OUString &rInPath,
const OUString &rReferer,
const uno::Reference< embed::XStorage > &xStorage )
diff --git a/sd/source/ui/unoidl/unomodel.cxx b/sd/source/ui/unoidl/unomodel.cxx
index e44b7f948719..b3ef578dbe1c 100644
--- a/sd/source/ui/unoidl/unomodel.cxx
+++ b/sd/source/ui/unoidl/unomodel.cxx
@@ -1546,7 +1546,6 @@ public:
bool IsPrintable( const SdrObject* pObj ) const;
ImplRenderPaintProc( const SdrLayerAdmin& rLA, SdrPageView* pView, vcl::PDFExtOutDevData* pData );
- virtual ~ImplRenderPaintProc() override;
// all default implementations just call the same methods at the original. To do something
// different, override the method and at least do what the method does.
@@ -1563,10 +1562,6 @@ ImplRenderPaintProc::ImplRenderPaintProc( const SdrLayerAdmin& rLA, SdrPageView*
{
}
-ImplRenderPaintProc::~ImplRenderPaintProc()
-{
-}
-
sal_Int32 ImplPDFGetBookmarkPage( const OUString& rBookmark, SdDrawDocument& rDoc )
{
sal_Int32 nPage = -1;
diff --git a/sd/source/ui/unoidl/unopool.cxx b/sd/source/ui/unoidl/unopool.cxx
index 4dbb9be55815..6f60d693f590 100644
--- a/sd/source/ui/unoidl/unopool.cxx
+++ b/sd/source/ui/unoidl/unopool.cxx
@@ -46,7 +46,6 @@ class SdUnoDrawPool : public SvxUnoDrawPool
{
public:
explicit SdUnoDrawPool(SdDrawDocument* pModel) throw();
- virtual ~SdUnoDrawPool() throw() override;
protected:
virtual void putAny( SfxItemPool* pPool, const PropertyMapEntry* pEntry, const uno::Any& rValue )
@@ -61,10 +60,6 @@ SdUnoDrawPool::SdUnoDrawPool( SdDrawDocument* pModel ) throw()
{
}
-SdUnoDrawPool::~SdUnoDrawPool() throw()
-{
-}
-
void SdUnoDrawPool::putAny( SfxItemPool* pPool, const comphelper::PropertyMapEntry* pEntry, const uno::Any& rValue )
throw(beans::UnknownPropertyException, lang::IllegalArgumentException, uno::RuntimeException, std::exception)
{
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx
index 3aeac30030f6..79256111916b 100644
--- a/sd/source/ui/view/DocumentRenderer.cxx
+++ b/sd/source/ui/view/DocumentRenderer.cxx
@@ -740,8 +740,6 @@ namespace {
{
}
- virtual ~RegularPrinterPage() override {}
-
virtual void Print (
Printer& rPrinter,
SdDrawDocument& rDocument,
@@ -793,8 +791,6 @@ namespace {
{
}
- virtual ~TiledPrinterPage() override {}
-
virtual void Print (
Printer& rPrinter,
SdDrawDocument& rDocument,
@@ -878,8 +874,6 @@ namespace {
{
}
- virtual ~BookletPrinterPage() override {}
-
virtual void Print (
Printer& rPrinter,
SdDrawDocument& rDocument,
diff --git a/sd/source/ui/view/drviewsa.cxx b/sd/source/ui/view/drviewsa.cxx
index 84ed10d6aa6f..56c43e9d67d4 100644
--- a/sd/source/ui/view/drviewsa.cxx
+++ b/sd/source/ui/view/drviewsa.cxx
@@ -88,7 +88,6 @@ private:
public:
explicit ScannerEventListener( DrawViewShell* pParent ) : mpParent( pParent ) {}
- virtual ~ScannerEventListener() override;
// XEventListener
virtual void SAL_CALL disposing( const lang::EventObject& rEventObject ) throw (uno::RuntimeException, std::exception) override;
@@ -96,10 +95,6 @@ public:
void ParentDestroyed() { mpParent = nullptr; }
};
-ScannerEventListener::~ScannerEventListener()
-{
-}
-
void SAL_CALL ScannerEventListener::disposing( const lang::EventObject& rEventObject ) throw (uno::RuntimeException, std::exception)
{
if( mpParent )
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index 193b5a45551f..3ecc8c57d33f 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -180,7 +180,6 @@ class ViewRedirector : public sdr::contact::ViewObjectContactRedirector
{
public:
ViewRedirector();
- virtual ~ViewRedirector() override;
// all default implementations just call the same methods at the original. To do something
// different, override the method and at least do what the method does.
@@ -193,10 +192,6 @@ ViewRedirector::ViewRedirector()
{
}
-ViewRedirector::~ViewRedirector()
-{
-}
-
drawinglayer::primitive2d::Primitive2DContainer ViewRedirector::createRedirectedPrimitive2DSequence(
const sdr::contact::ViewObjectContact& rOriginal,
const sdr::contact::DisplayInfo& rDisplayInfo)
diff --git a/sd/source/ui/view/viewoverlaymanager.cxx b/sd/source/ui/view/viewoverlaymanager.cxx
index 6cff6d7b2879..1a3433913fc2 100644
--- a/sd/source/ui/view/viewoverlaymanager.cxx
+++ b/sd/source/ui/view/viewoverlaymanager.cxx
@@ -104,7 +104,6 @@ class ChangePlaceholderTag : public SmartTag
friend class ImageButtonHdl;
public:
ChangePlaceholderTag( ::sd::View& rView, SdrObject& rPlaceholderObj );
- virtual ~ChangePlaceholderTag() override;
/** returns true if the SmartTag handled the event. */
virtual bool MouseButtonDown( const MouseEvent&, SmartHdl& ) override;
@@ -270,10 +269,6 @@ ChangePlaceholderTag::ChangePlaceholderTag( ::sd::View& rView, SdrObject& rPlace
{
}
-ChangePlaceholderTag::~ChangePlaceholderTag()
-{
-}
-
/** returns true if the ChangePlaceholderTag handled the event. */
bool ChangePlaceholderTag::MouseButtonDown( const MouseEvent& /*rMEvt*/, SmartHdl& rHdl )
{