diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-07 21:44:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-08-08 09:30:45 +0200 |
commit | 1444bd72006fec7ebcd3c5df2399da26ad3b1466 (patch) | |
tree | a3c37858b6073c2dc93db6371288d43ab3cb457a /compilerplugins | |
parent | 46449722030066473fef54b9766a3bafccef4e25 (diff) |
loplugin:unnecessaryvirtual
Change-Id: I3fe82f6e3aad299fe42d6256c0deaba1339df0c1
Reviewed-on: https://gerrit.libreoffice.org/58708
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/unnecessaryvirtual-dead.results | 10 | ||||
-rw-r--r-- | compilerplugins/clang/unnecessaryvirtual.results | 156 |
2 files changed, 101 insertions, 65 deletions
diff --git a/compilerplugins/clang/unnecessaryvirtual-dead.results b/compilerplugins/clang/unnecessaryvirtual-dead.results index 6c9fef9d3ab8..32e9137f6fcf 100644 --- a/compilerplugins/clang/unnecessaryvirtual-dead.results +++ b/compilerplugins/clang/unnecessaryvirtual-dead.results @@ -8,18 +8,14 @@ include/canvas/base/graphicdevicebase.hxx:302 void canvas::GraphicDeviceBase::removePropertyChangeListener(const class rtl::OUString &,const class com::sun::star::uno::Reference<class com::sun::star::beans::XPropertyChangeListener> &,) include/canvas/base/graphicdevicebase.hxx:315 void canvas::GraphicDeviceBase::removeVetoableChangeListener(const class rtl::OUString &,const class com::sun::star::uno::Reference<class com::sun::star::beans::XVetoableChangeListener> &,) -include/svtools/valueset.hxx:498 - void SvtValueSet::UserDraw(const class UserDrawEvent &,) -slideshow/source/engine/animationfactory.cxx:442 +slideshow/source/engine/animationfactory.cxx:443 void slideshow::internal::(anonymous namespace)::GenericAnimation::prefetch(const class std::shared_ptr<class slideshow::internal::AnimatableShape> &,const class std::shared_ptr<class slideshow::internal::ShapeAttributeLayer> &,) vcl/inc/salframe.hxx:135 void SalFrame::SetRepresentedURL(const class rtl::OUString &,) vcl/inc/salmenu.hxx:80 void SalMenu::RemoveMenuBarButton(unsigned short,) -vcl/inc/salobj.hxx:46 +vcl/inc/salobj.hxx:48 void SalObject::Enable(_Bool,) -vcl/inc/unx/saldata.hxx:68 - void X11SalData::initNWF() vcl/inc/unx/saldata.hxx:69 void X11SalData::deInitNWF() writerfilter/source/ooxml/OOXMLFactory.hxx:71 @@ -29,4 +25,4 @@ writerfilter/source/ooxml/OOXMLFactory.hxx:72 writerfilter/source/ooxml/OOXMLFactory.hxx:73 void writerfilter::ooxml::OOXMLFactory_ns::endAction(class writerfilter::ooxml::OOXMLFastContextHandler *,) writerfilter/source/ooxml/OOXMLFactory.hxx:74 - void writerfilter::ooxml::OOXMLFactory_ns::attributeAction(class writerfilter::ooxml::OOXMLFastContextHandler *,int,const class std::shared_ptr<class writerfilter::ooxml::OOXMLValue> &,) + void writerfilter::ooxml::OOXMLFactory_ns::attributeAction(class writerfilter::ooxml::OOXMLFastContextHandler *,int,const class tools::SvRef<class writerfilter::ooxml::OOXMLValue> &,) diff --git a/compilerplugins/clang/unnecessaryvirtual.results b/compilerplugins/clang/unnecessaryvirtual.results index 04c9dbad7855..8cf7943f5d66 100644 --- a/compilerplugins/clang/unnecessaryvirtual.results +++ b/compilerplugins/clang/unnecessaryvirtual.results @@ -64,6 +64,8 @@ include/comphelper/servicedecl.hxx:168 unsigned char comphelper::service_decl::detail::OwnServiceImpl::supportsService(const class rtl::OUString &,) include/comphelper/servicedecl.hxx:172 class com::sun::star::uno::Sequence<class rtl::OUString> comphelper::service_decl::detail::OwnServiceImpl::getSupportedServiceNames() +include/comphelper/solarmutex.hxx:53 + _Bool comphelper::SolarMutex::tryToAcquire() include/comphelper/unique_disposing_ptr.hxx:169 void comphelper::unique_disposing_solar_mutex_reset_ptr::reset(type-parameter-0-0 *,) include/comphelper/weakeventlistener.hxx:118 @@ -114,16 +116,52 @@ include/svl/svdde.hxx:251 _Bool DdeTopic::StartAdviseLoop() include/svl/svdde.hxx:307 void DdeService::~DdeService() -include/svtools/treelistbox.hxx:722 +include/svl/undo.hxx:202 + void SfxUndoManager::SetMaxUndoActionCount(unsigned long,) +include/svl/undo.hxx:205 + class rtl::OUString SfxUndoManager::GetUndoActionComment(unsigned long,const _Bool,)const +include/svl/undo.hxx:206 + class SfxUndoAction * SfxUndoManager::GetUndoAction(unsigned long,)const +include/svl/undo.hxx:210 + class rtl::OUString SfxUndoManager::GetRedoActionComment(unsigned long,const _Bool,)const +include/svl/undo.hxx:211 + class SfxUndoAction * SfxUndoManager::GetRedoAction()const +include/svl/undo.hxx:231 + void SfxUndoManager::Reset() +include/svl/undo.hxx:234 + _Bool SfxUndoManager::IsDoing()const +include/svl/undo.hxx:235 + unsigned long SfxUndoManager::GetRepeatActionCount()const +include/svl/undo.hxx:236 + class rtl::OUString SfxUndoManager::GetRepeatActionComment(class SfxRepeatTarget &,)const +include/svl/undo.hxx:237 + _Bool SfxUndoManager::Repeat(class SfxRepeatTarget &,) +include/svl/undo.hxx:238 + _Bool SfxUndoManager::CanRepeat(class SfxRepeatTarget &,)const +include/svl/undo.hxx:244 + unsigned long SfxUndoManager::LeaveListAction() +include/svl/undo.hxx:261 + unsigned long SfxUndoManager::LeaveAndMergeListAction() +include/svl/undo.hxx:263 + _Bool SfxUndoManager::IsInListAction()const +include/svl/undo.hxx:265 + unsigned long SfxUndoManager::GetListActionDepth()const +include/svl/undo.hxx:267 + void SfxUndoManager::RemoveLastUndoAction() +include/svl/undo.hxx:276 + void SfxUndoManager::EnableUndo(_Bool,) +include/svl/undo.hxx:280 + _Bool SfxUndoManager::IsUndoEnabled()const +include/svl/undo.hxx:282 + void SfxUndoManager::AddUndoListener(class SfxUndoListener &,) +include/svl/undo.hxx:283 + void SfxUndoManager::RemoveUndoListener(class SfxUndoListener &,) +include/svl/undo.hxx:284 + _Bool SfxUndoManager::IsEmptyActions()const +include/svtools/treelistbox.hxx:718 void SvTreeListBox::SelectAll(_Bool,_Bool,) -include/svtools/valueset.hxx:497 +include/svtools/valueset.hxx:490 void SvtValueSet::Select() -include/svtools/valueset.hxx:498 - void SvtValueSet::UserDraw(const class UserDrawEvent &,) -include/svx/dialcontrol.hxx:234 - void svx::SvxDialControl::HandleMouseEvent(const class Point &,_Bool,) -include/svx/svdobj.hxx:346 - class SdrPage * SdrObject::getSdrPageFromSdrObject()const include/toolkit/controls/geometrycontrolmodel.hxx:191 void OGeometryControlModel::fillProperties(class com::sun::star::uno::Sequence<struct com::sun::star::beans::Property> &,class com::sun::star::uno::Sequence<struct com::sun::star::beans::Property> &,)const include/vbahelper/vbacollectionimpl.hxx:290 @@ -148,14 +186,16 @@ include/vbahelper/vbareturntypes.hxx:40 void ooo::vba::DefaultReturnHelper::setValue(type-parameter-0-0,) include/vbahelper/vbareturntypes.hxx:41 type-parameter-0-0 ooo::vba::DefaultReturnHelper::getValue() -include/vcl/weld.hxx:298 +include/vcl/weld.hxx:304 void weld::TreeView::append_text(const class rtl::OUString &,) -include/vcl/weld.hxx:301 +include/vcl/weld.hxx:307 void weld::TreeView::append(const class rtl::OUString &,const class rtl::OUString &,const class rtl::OUString &,) -sc/source/core/opencl/formulagroupcl.cxx:870 - void sc::opencl::DynamicKernelMixedArgument::GenNumDeclRef(class std::basic_stringstream<char> &,)const +sc/source/core/opencl/formulagroupcl.cxx:909 + void sc::opencl::DynamicKernelMixedArgument::GenNumDeclRef(class std::__cxx11::basic_stringstream<char> &,)const sc/source/ui/inc/anyrefdg.hxx:219 void ScRefHdlrImpl::dispose() +sc/source/ui/inc/StatisticsTwoVariableDialog.hxx:47 + void ScStatisticsTwoVariableDialog::ValidateDialogInput() sc/source/ui/vba/vbacondition.hxx:39 class rtl::OUString ScVbaCondition::Formula1() sc/source/ui/vba/vbacondition.hxx:40 @@ -220,32 +260,34 @@ sc/source/ui/vba/vbapagebreak.hxx:48 void ScVbaPageBreak::Delete() sc/source/ui/vba/vbapagebreak.hxx:49 class com::sun::star::uno::Reference<class ooo::vba::excel::XRange> ScVbaPageBreak::Location() +sd/source/ui/framework/module/SlideSorterModule.hxx:63 + void sd::framework::SlideSorterModule::SaveResourceState() slideshow/source/engine/activities/activitiesfactory.cxx:173 void slideshow::internal::(anonymous namespace)::FromToByActivity::startAnimation() -slideshow/source/engine/activities/activitiesfactory.cxx:241 +slideshow/source/engine/activities/activitiesfactory.cxx:242 void slideshow::internal::(anonymous namespace)::FromToByActivity::endAnimation() -slideshow/source/engine/activities/activitiesfactory.cxx:331 +slideshow/source/engine/activities/activitiesfactory.cxx:332 void slideshow::internal::(anonymous namespace)::FromToByActivity::performEnd() -slideshow/source/engine/activities/activitiesfactory.cxx:344 +slideshow/source/engine/activities/activitiesfactory.cxx:345 void slideshow::internal::(anonymous namespace)::FromToByActivity::dispose() -slideshow/source/engine/activities/activitiesfactory.cxx:526 +slideshow/source/engine/activities/activitiesfactory.cxx:527 void slideshow::internal::(anonymous namespace)::ValuesActivity::startAnimation() -slideshow/source/engine/activities/activitiesfactory.cxx:537 +slideshow/source/engine/activities/activitiesfactory.cxx:538 void slideshow::internal::(anonymous namespace)::ValuesActivity::endAnimation() -slideshow/source/engine/activities/activitiesfactory.cxx:582 +slideshow/source/engine/activities/activitiesfactory.cxx:583 void slideshow::internal::(anonymous namespace)::ValuesActivity::performEnd() -slideshow/source/engine/animationfactory.cxx:442 +slideshow/source/engine/animationfactory.cxx:443 void slideshow::internal::(anonymous namespace)::GenericAnimation::prefetch(const class std::shared_ptr<class slideshow::internal::AnimatableShape> &,const class std::shared_ptr<class slideshow::internal::ShapeAttributeLayer> &,) -slideshow/source/engine/animationfactory.cxx:446 +slideshow/source/engine/animationfactory.cxx:447 void slideshow::internal::(anonymous namespace)::GenericAnimation::start(const class std::shared_ptr<class slideshow::internal::AnimatableShape> &,const class std::shared_ptr<class slideshow::internal::ShapeAttributeLayer> &,) +svx/source/inc/eventhandler.hxx:50 + void sdr::event::BaseEvent::~BaseEvent() sw/inc/flypos.hxx:37 void SwPosFlyFrame::~SwPosFlyFrame() -vcl/inc/headless/svpgdi.hxx:227 - void SvpSalGraphics::drawBitmap(const struct SalTwoRect &,struct BitmapBuffer *,) +vcl/inc/qt5/Qt5Frame.hxx:90 + void Qt5Frame::InitSvpSalGraphics(class SvpSalGraphics *,) vcl/inc/salframe.hxx:135 void SalFrame::SetRepresentedURL(const class rtl::OUString &,) -vcl/inc/salframe.hxx:179 - void SalFrame::Flush(const class tools::Rectangle &,) vcl/inc/sallayout.hxx:185 _Bool SalLayout::GetBoundRect(class SalGraphics &,class tools::Rectangle &,)const vcl/inc/salmenu.hxx:79 @@ -254,42 +296,42 @@ vcl/inc/salmenu.hxx:80 void SalMenu::RemoveMenuBarButton(unsigned short,) vcl/inc/salmenu.hxx:92 class tools::Rectangle SalMenu::GetMenuBarButtonRectPixel(unsigned short,class SalFrame *,) -vcl/inc/salobj.hxx:46 +vcl/inc/salobj.hxx:48 void SalObject::Enable(_Bool,) vcl/inc/salprn.hxx:112 enum SalPrinterError SalPrinter::GetErrorCode() vcl/inc/unx/gtk/gtkdata.hxx:164 int GtkSalDisplay::CaptureMouse(class SalFrame *,) -vcl/inc/unx/saldata.hxx:65 - void X11SalData::Init() -vcl/inc/unx/saldata.hxx:68 - void X11SalData::initNWF() -vcl/inc/unx/saldata.hxx:69 - void X11SalData::deInitNWF() -vcl/inc/unx/saldisp.hxx:166 - void SalXLib::~SalXLib() -vcl/inc/unx/saldisp.hxx:167 - void SalXLib::Init() -vcl/inc/unx/saldisp.hxx:169 - _Bool SalXLib::Yield(_Bool,_Bool,) -vcl/inc/unx/saldisp.hxx:170 - void SalXLib::Wakeup() -vcl/inc/unx/saldisp.hxx:173 - void SalXLib::Insert(int,void *,int (*)(int, void *),int (*)(int, void *),int (*)(int, void *),) -vcl/inc/unx/saldisp.hxx:177 - void SalXLib::Remove(int,) -vcl/inc/unx/saldisp.hxx:179 - void SalXLib::StartTimer(unsigned long,) -vcl/inc/unx/saldisp.hxx:180 - void SalXLib::StopTimer() -vcl/inc/unx/saldisp.hxx:182 - _Bool SalXLib::CheckTimeout(_Bool,) -vcl/inc/unx/saldisp.hxx:393 - void SalX11Display::Yield() -vcl/inc/unx/salframe.h:210 - void X11SalFrame::updateGraphics(_Bool,) -vcl/inc/unx/salinst.h:47 - class SalX11Display * X11SalInstance::CreateDisplay()const +vcl/qt5/Qt5Widget.cxx:401 + void Qt5Widget::focusInEvent(class QFocusEvent *,) +vcl/qt5/Qt5Widget.cxx:406 + void Qt5Widget::focusOutEvent(class QFocusEvent *,) +vcl/qt5/Qt5Widget.cxx:411 + void Qt5Widget::keyPressEvent(class QKeyEvent *,) +vcl/qt5/Qt5Widget.cxx:416 + void Qt5Widget::keyReleaseEvent(class QKeyEvent *,) +vcl/qt5/Qt5Widget.cxx:421 + void Qt5Widget::mouseMoveEvent(class QMouseEvent *,) +vcl/qt5/Qt5Widget.cxx:426 + void Qt5Widget::mousePressEvent(class QMouseEvent *,) +vcl/qt5/Qt5Widget.cxx:431 + void Qt5Widget::mouseReleaseEvent(class QMouseEvent *,) +vcl/qt5/Qt5Widget.cxx:436 + void Qt5Widget::moveEvent(class QMoveEvent *,) +vcl/qt5/Qt5Widget.cxx:438 + void Qt5Widget::paintEvent(class QPaintEvent *,) +vcl/qt5/Qt5Widget.cxx:443 + void Qt5Widget::resizeEvent(class QResizeEvent *,) +vcl/qt5/Qt5Widget.cxx:448 + void Qt5Widget::showEvent(class QShowEvent *,) +vcl/qt5/Qt5Widget.cxx:450 + void Qt5Widget::wheelEvent(class QWheelEvent *,) +vcl/qt5/Qt5Widget.cxx:452 + void Qt5Widget::closeEvent(class QCloseEvent *,) +workdir/../vcl/inc/qt5/Qt5FilePicker.hxx:122 + void Qt5FilePicker::disposing(const struct com::sun::star::lang::EventObject &,) +workdir/../vcl/unx/kde4/KDE4FilePicker.hxx:137 + void KDE4FilePicker::disposing(const struct com::sun::star::lang::EventObject &,) writerfilter/source/ooxml/OOXMLFactory.hxx:71 void writerfilter::ooxml::OOXMLFactory_ns::startAction(class writerfilter::ooxml::OOXMLFastContextHandler *,) writerfilter/source/ooxml/OOXMLFactory.hxx:72 @@ -297,9 +339,7 @@ writerfilter/source/ooxml/OOXMLFactory.hxx:72 writerfilter/source/ooxml/OOXMLFactory.hxx:73 void writerfilter::ooxml::OOXMLFactory_ns::endAction(class writerfilter::ooxml::OOXMLFastContextHandler *,) writerfilter/source/ooxml/OOXMLFactory.hxx:74 - void writerfilter::ooxml::OOXMLFactory_ns::attributeAction(class writerfilter::ooxml::OOXMLFastContextHandler *,int,const class std::shared_ptr<class writerfilter::ooxml::OOXMLValue> &,) -writerfilter/source/ooxml/OOXMLFactory.hxx:77 - void writerfilter::ooxml::OOXMLFactory_ns::~OOXMLFactory_ns() + void writerfilter::ooxml::OOXMLFactory_ns::attributeAction(class writerfilter::ooxml::OOXMLFastContextHandler *,int,const class tools::SvRef<class writerfilter::ooxml::OOXMLValue> &,) xmloff/source/forms/elementimport.hxx:575 class rtl::Reference<class SvXMLImportContext> xmloff::OContainerImport::CreateChildContext(unsigned short,const class rtl::OUString &,const class com::sun::star::uno::Reference<class com::sun::star::xml::sax::XAttributeList> &,) xmloff/source/forms/elementimport.hxx:578 |