[Libreoffice-commits] core.git: accessibility/inc accessibility/source chart2/source compilerplugins/clang connectivity/source cppcanvas/CppunitTest_cppcanvas_test.mk cui/source dbaccess/source desktop/source drawinglayer/CppunitTest_drawinglayer_border.mk editeng/CppunitTest_editeng_core.mk editeng/source extensions/source forms/source framework/source i18npool/inc i18npool/source idlc/inc idlc/source include/connectivity include/editeng include/framework include/sfx2 include/svtools include/svx include/test include/unotools include/vcl io/source linguistic/source postprocess/CppunitTest_services.mk reportdesign/source sal/qa sax/CppunitTest_sax_parser.mk sccomp/CppunitTest_sccomp_lpsolver.mk sc/qa scripting/source sc/source sd/inc sd/source sfx2/source starmath/inc starmath/source svgio/qa svtools/inc svtools/source svx/source sw/CppunitTest_sw_uwriter.mk sw/inc sw/source test/source testtools/source ucb/source unotools/source vcl/inc vcl/source vcl/unx xmlhelp/source xmloff/CppunitTest_xmloff_ uxmloff.mk xmloff/source
Noel Grandin
noel at peralex.com
Fri Jul 15 14:06:20 UTC 2016
accessibility/inc/standard/vclxaccessiblebox.hxx | 7
accessibility/inc/standard/vclxaccessiblecombobox.hxx | 1
accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx | 1
accessibility/inc/standard/vclxaccessiblelistbox.hxx | 1
accessibility/inc/standard/vclxaccessiblelistitem.hxx | 2
accessibility/source/standard/vclxaccessiblebox.cxx | 7
accessibility/source/standard/vclxaccessiblecombobox.cxx | 6
accessibility/source/standard/vclxaccessibledropdownlistbox.cxx | 5
accessibility/source/standard/vclxaccessiblelistbox.cxx | 5
accessibility/source/standard/vclxaccessiblelistitem.cxx | 10
chart2/source/controller/accessibility/AccessibleChartView.cxx | 6
chart2/source/controller/inc/AccessibleChartView.hxx | 2
chart2/source/controller/main/DrawCommandDispatch.cxx | 5
chart2/source/controller/main/DrawCommandDispatch.hxx | 3
chart2/source/controller/main/ElementSelector.cxx | 4
chart2/source/controller/main/ElementSelector.hxx | 2
chart2/source/controller/main/ShapeController.cxx | 5
chart2/source/controller/main/ShapeController.hxx | 3
compilerplugins/clang/unnecessaryoverride.cxx | 114 ++++++++++
connectivity/source/commontools/TTableHelper.cxx | 10
connectivity/source/drivers/dbase/DIndex.cxx | 11
connectivity/source/drivers/file/FTable.cxx | 10
connectivity/source/drivers/firebird/Statement.cxx | 5
connectivity/source/drivers/firebird/Statement.hxx | 4
connectivity/source/drivers/postgresql/pq_xtables.cxx | 5
connectivity/source/drivers/postgresql/pq_xtables.hxx | 3
connectivity/source/drivers/postgresql/pq_xviews.cxx | 6
connectivity/source/drivers/postgresql/pq_xviews.hxx | 3
connectivity/source/inc/dbase/DIndex.hxx | 3
connectivity/source/inc/file/FTable.hxx | 2
cppcanvas/CppunitTest_cppcanvas_test.mk | 1
cui/source/dialogs/hltpbase.cxx | 22 -
cui/source/dialogs/passwdomdlg.cxx | 6
cui/source/inc/hltpbase.hxx | 7
cui/source/inc/iconcdlg.hxx | 6
cui/source/inc/passwdomdlg.hxx | 1
cui/source/inc/radiobtnbox.hxx | 1
cui/source/options/radiobtnbox.cxx | 5
dbaccess/source/core/dataaccess/ComponentDefinition.hxx | 2
dbaccess/source/core/misc/apitools.cxx | 4
dbaccess/source/ext/macromigration/macromigrationwizard.cxx | 6
dbaccess/source/inc/apitools.hxx | 1
dbaccess/source/ui/app/AppController.cxx | 25 --
dbaccess/source/ui/app/AppController.hxx | 7
dbaccess/source/ui/app/AppDetailView.cxx | 5
dbaccess/source/ui/app/AppDetailView.hxx | 1
dbaccess/source/ui/browser/sbagrid.cxx | 10
dbaccess/source/ui/control/RelationControl.cxx | 2
dbaccess/source/ui/control/TableGrantCtrl.cxx | 5
dbaccess/source/ui/inc/JoinController.hxx | 2
dbaccess/source/ui/inc/QueryTableView.hxx | 1
dbaccess/source/ui/inc/TableGrantCtrl.hxx | 2
dbaccess/source/ui/inc/sbagrid.hxx | 3
dbaccess/source/ui/querydesign/JoinController.cxx | 5
dbaccess/source/ui/querydesign/QueryTableView.cxx | 5
dbaccess/source/ui/querydesign/querycontroller.cxx | 2
desktop/source/deployment/registry/component/dp_component.cxx | 16 -
drawinglayer/CppunitTest_drawinglayer_border.mk | 1
editeng/CppunitTest_editeng_core.mk | 1
editeng/source/editeng/edtspell.cxx | 6
editeng/source/editeng/edtspell.hxx | 1
editeng/source/rtf/svxrtf.cxx | 10
extensions/source/abpilot/fieldmappingpage.cxx | 6
extensions/source/abpilot/fieldmappingpage.hxx | 1
extensions/source/abpilot/tableselectionpage.cxx | 6
extensions/source/abpilot/tableselectionpage.hxx | 1
extensions/source/dbpilots/controlwizard.cxx | 6
extensions/source/dbpilots/controlwizard.hxx | 2
extensions/source/propctrlr/composeduiupdate.cxx | 16 -
forms/source/component/ImageControl.cxx | 8
forms/source/component/ImageControl.hxx | 3
forms/source/component/navigationbar.cxx | 5
forms/source/component/navigationbar.hxx | 3
forms/source/component/scrollbar.cxx | 6
forms/source/component/scrollbar.hxx | 3
forms/source/component/spinbutton.cxx | 6
forms/source/component/spinbutton.hxx | 3
forms/source/richtext/richtextmodel.cxx | 14 -
forms/source/richtext/richtextmodel.hxx | 2
framework/source/fwe/classes/addonmenu.cxx | 5
i18npool/inc/transliteration_OneToOne.hxx | 28 ++
i18npool/source/transliteration/halfwidthToFullwidth.cxx | 22 -
idlc/inc/astenum.hxx | 1
idlc/inc/astoperation.hxx | 2
idlc/source/astenum.cxx | 5
idlc/source/astoperation.cxx | 5
include/connectivity/TTableHelper.hxx | 3
include/editeng/svxrtf.hxx | 3
include/framework/addonmenu.hxx | 1
include/sfx2/sidebar/Panel.hxx | 2
include/sfx2/sidebar/SidebarDockingWindow.hxx | 2
include/sfx2/stbitem.hxx | 4
include/sfx2/styledlg.hxx | 2
include/sfx2/tbxctrl.hxx | 4
include/svtools/brwhead.hxx | 1
include/svtools/editbrowsebox.hxx | 1
include/svtools/inettbc.hxx | 1
include/svtools/popupwindowcontroller.hxx | 2
include/svtools/svtabbx.hxx | 1
include/svtools/wizardmachine.hxx | 1
include/svx/itemwin.hxx | 2
include/svx/linectrl.hxx | 1
include/svx/svdoashp.hxx | 4
include/svx/svdocapt.hxx | 2
include/svx/svdograf.hxx | 2
include/svx/svdotable.hxx | 5
include/svx/svdovirt.hxx | 1
include/test/bootstrapfixture.hxx | 1
include/test/unoapi_test.hxx | 1
include/unotools/streamhelper.hxx | 4
include/vcl/ctrl.hxx | 2
include/vcl/dockwin.hxx | 4
include/vcl/spinfld.hxx | 1
include/vcl/split.hxx | 2
include/vcl/status.hxx | 1
include/vcl/toolbox.hxx | 1
include/vcl/window.hxx | 17 -
io/source/stm/streamhelper.hxx | 2
linguistic/source/convdicxml.cxx | 6
linguistic/source/convdicxml.hxx | 1
postprocess/CppunitTest_services.mk | 1
reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx | 1
reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx | 3
reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx | 1
reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx | 3
reportdesign/source/ui/inc/ReportSection.hxx | 1
reportdesign/source/ui/report/ReportSection.cxx | 5
sal/qa/rtl/doublelock/rtl_doublelocking.cxx | 5
sax/CppunitTest_sax_parser.mk | 1
sc/qa/extras/sccondformats.cxx | 6
sc/qa/extras/sctablesheetobj.cxx | 6
sc/source/ui/app/lnktrans.cxx | 5
sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx | 5
sc/source/ui/docshell/docsh.cxx | 11
sc/source/ui/drawfunc/fuconarc.cxx | 25 --
sc/source/ui/drawfunc/fuconcustomshape.cxx | 25 --
sc/source/ui/drawfunc/fuconpol.cxx | 14 -
sc/source/ui/drawfunc/fuconrec.cxx | 25 --
sc/source/ui/drawfunc/fuconstr.cxx | 22 -
sc/source/ui/drawfunc/fuconuno.cxx | 25 --
sc/source/ui/drawfunc/fudraw.cxx | 22 -
sc/source/ui/drawfunc/fuins1.cxx | 44 ---
sc/source/ui/drawfunc/fuins2.cxx | 30 --
sc/source/ui/drawfunc/fusel.cxx | 14 -
sc/source/ui/inc/PivotLayoutTreeListBase.hxx | 1
sc/source/ui/inc/docsh.hxx | 2
sc/source/ui/inc/fuconarc.hxx | 2
sc/source/ui/inc/fuconcustomshape.hxx | 2
sc/source/ui/inc/fuconpol.hxx | 1
sc/source/ui/inc/fuconrec.hxx | 2
sc/source/ui/inc/fuconstr.hxx | 3
sc/source/ui/inc/fuconuno.hxx | 2
sc/source/ui/inc/fudraw.hxx | 3
sc/source/ui/inc/fuinsert.hxx | 15 -
sc/source/ui/inc/fusel.hxx | 1
sc/source/ui/inc/lnktrans.hxx | 1
sccomp/CppunitTest_sccomp_lpsolver.mk | 1
scripting/source/provider/BrowseNodeFactoryImpl.cxx | 11
sd/inc/stlpool.hxx | 2
sd/inc/stlsheet.hxx | 1
sd/source/core/stlpool.cxx | 10
sd/source/core/stlsheet.cxx | 5
sd/source/ui/accessibility/AccessibleOutlineView.cxx | 7
sd/source/ui/accessibility/AccessiblePageShape.cxx | 5
sd/source/ui/animations/CustomAnimationList.cxx | 5
sd/source/ui/animations/CustomAnimationList.hxx | 2
sd/source/ui/annotations/annotationwindow.cxx | 15 -
sd/source/ui/annotations/annotationwindow.hxx | 5
sd/source/ui/func/fucon3d.cxx | 19 -
sd/source/ui/func/fuconarc.cxx | 19 -
sd/source/ui/func/fuconbez.cxx | 14 -
sd/source/ui/func/fuconcs.cxx | 14 -
sd/source/ui/func/fuconrec.cxx | 14 -
sd/source/ui/func/fuconuno.cxx | 14 -
sd/source/ui/func/fudraw.cxx | 5
sd/source/ui/func/futext.cxx | 5
sd/source/ui/inc/AccessibleOutlineView.hxx | 4
sd/source/ui/inc/AccessiblePageShape.hxx | 5
sd/source/ui/inc/Ruler.hxx | 1
sd/source/ui/inc/ViewShellBase.hxx | 1
sd/source/ui/inc/fucon3d.hxx | 3
sd/source/ui/inc/fuconarc.hxx | 3
sd/source/ui/inc/fuconbez.hxx | 2
sd/source/ui/inc/fuconcs.hxx | 2
sd/source/ui/inc/fuconrec.hxx | 2
sd/source/ui/inc/fuconuno.hxx | 2
sd/source/ui/inc/fudraw.hxx | 1
sd/source/ui/inc/futext.hxx | 1
sd/source/ui/slideshow/showwin.cxx | 5
sd/source/ui/slideshow/showwindow.hxx | 1
sd/source/ui/slidesorter/controller/SlsSelectionFunction.cxx | 10
sd/source/ui/slidesorter/inc/controller/SlsSelectionFunction.hxx | 3
sd/source/ui/view/ViewShellBase.cxx | 5
sd/source/ui/view/sdruler.cxx | 5
sd/source/ui/view/viewoverlaymanager.cxx | 18 -
sfx2/source/dialog/dockwin.cxx | 12 -
sfx2/source/dialog/partwnd.cxx | 12 -
sfx2/source/dialog/splitwin.cxx | 7
sfx2/source/dialog/styledlg.cxx | 13 -
sfx2/source/dialog/templdlg.cxx | 8
sfx2/source/inc/partwnd.hxx | 1
sfx2/source/inc/templdgi.hxx | 1
sfx2/source/sidebar/Panel.cxx | 10
sfx2/source/sidebar/SidebarDockingWindow.cxx | 6
sfx2/source/statbar/stbitem.cxx | 16 -
sfx2/source/toolbox/tbxitem.cxx | 6
starmath/inc/view.hxx | 1
starmath/source/view.cxx | 6
svgio/qa/cppunit/SvgImportTest.cxx | 6
svtools/inc/vclxaccessibleheaderbar.hxx | 3
svtools/source/brwbox/brwhead.cxx | 6
svtools/source/brwbox/editbrowsebox.cxx | 6
svtools/source/contnr/svtabbx.cxx | 5
svtools/source/control/inettbc.cxx | 6
svtools/source/control/tabbar.cxx | 6
svtools/source/control/vclxaccessibleheaderbar.cxx | 12 -
svtools/source/dialogs/wizardmachine.cxx | 5
svtools/source/uno/popupwindowcontroller.cxx | 10
svtools/source/uno/treecontrolpeer.cxx | 6
svtools/source/uno/treecontrolpeer.hxx | 3
svx/source/dialog/imapwnd.cxx | 5
svx/source/dialog/imapwnd.hxx | 2
svx/source/form/datanavi.cxx | 6
svx/source/form/fmshimp.cxx | 11
svx/source/form/tabwin.cxx | 6
svx/source/inc/datanavi.hxx | 1
svx/source/inc/fmshimp.hxx | 2
svx/source/inc/tabwin.hxx | 2
svx/source/sidebar/styles/StylesPropertyPanel.cxx | 5
svx/source/sidebar/styles/StylesPropertyPanel.hxx | 1
svx/source/svdraw/svdoashp.cxx | 13 -
svx/source/svdraw/svdocapt.cxx | 16 -
svx/source/svdraw/svdograf.cxx | 10
svx/source/svdraw/svdovirt.cxx | 5
svx/source/table/accessiblecell.cxx | 12 -
svx/source/table/accessiblecell.hxx | 2
svx/source/table/svdotable.cxx | 8
svx/source/table/tablemodel.cxx | 12 -
svx/source/table/tablemodel.hxx | 2
svx/source/tbxctrls/itemwin.cxx | 10
svx/source/tbxctrls/linectrl.cxx | 6
sw/CppunitTest_sw_uwriter.mk | 1
sw/inc/SidebarWin.hxx | 1
sw/inc/docstyle.hxx | 3
sw/inc/unodraw.hxx | 7
sw/source/core/access/acctable.hxx | 6
sw/source/core/unocore/unodraw.cxx | 7
sw/source/uibase/app/docstyle.cxx | 10
sw/source/uibase/dbui/mailmergetoolbarcontrols.cxx | 16 -
sw/source/uibase/docvw/SidebarWin.cxx | 5
sw/source/uibase/inc/concustomshape.hxx | 1
sw/source/uibase/ribbar/concustomshape.cxx | 5
test/source/bootstrapfixture.cxx | 5
test/source/unoapi_test.cxx | 5
testtools/source/bridgetest/bridgetest.cxx | 13 -
ucb/source/ucp/cmis/cmis_repo_content.cxx | 10
ucb/source/ucp/cmis/cmis_repo_content.hxx | 4
unotools/source/streaming/streamhelper.cxx | 10
unotools/source/ucbhelper/ucblockbytes.cxx | 9
unotools/source/ucbhelper/ucblockbytes.hxx | 1
vcl/inc/unx/cupsmgr.hxx | 3
vcl/source/control/ctrl.cxx | 10
vcl/source/control/spinfld.cxx | 5
vcl/source/window/dockmgr.cxx | 6
vcl/source/window/dockwin.cxx | 6
vcl/source/window/split.cxx | 5
vcl/source/window/status.cxx | 5
vcl/source/window/toolbox.cxx | 5
vcl/unx/generic/printer/cupsmgr.cxx | 5
xmlhelp/source/cxxhelp/provider/content.cxx | 16 -
xmlhelp/source/cxxhelp/provider/content.hxx | 4
xmloff/CppunitTest_xmloff_uxmloff.mk | 1
xmloff/source/draw/ximp3dobject.cxx | 7
xmloff/source/draw/ximp3dobject.hxx | 1
xmloff/source/draw/ximplink.cxx | 10
xmloff/source/draw/ximplink.hxx | 2
xmloff/source/draw/ximpnote.cxx | 5
xmloff/source/draw/ximpnote.hxx | 1
xmloff/source/transform/MergeElemTContext.cxx | 29 --
279 files changed, 178 insertions(+), 1629 deletions(-)
New commits:
commit 6e72f0251bb8767942edf74f612547c12ca0cdf1
Author: Noel Grandin <noel at peralex.com>
Date: Tue Jul 12 08:21:27 2016 +0200
new loplugin unnecessary override
Change-Id: I88d3e33823d68745b98625050a8a274f9ef04bcb
Reviewed-on: https://gerrit.libreoffice.org/27135
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
Tested-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/accessibility/inc/standard/vclxaccessiblebox.hxx b/accessibility/inc/standard/vclxaccessiblebox.hxx
index 1943f1e..8936202 100644
--- a/accessibility/inc/standard/vclxaccessiblebox.hxx
+++ b/accessibility/inc/standard/vclxaccessiblebox.hxx
@@ -112,13 +112,6 @@ public:
throw (css::lang::IndexOutOfBoundsException,
css::uno::RuntimeException, std::exception) override;
- // XComponent
-
- /** This method is called from the implementation helper during an
- XComponent::dispose() call.
- */
- virtual void SAL_CALL disposing() override;
-
// XAccessibleValue
virtual css::uno::Any SAL_CALL getCurrentValue( )
diff --git a/accessibility/inc/standard/vclxaccessiblecombobox.hxx b/accessibility/inc/standard/vclxaccessiblecombobox.hxx
index 4fd6bf8..0aaf6e67 100644
--- a/accessibility/inc/standard/vclxaccessiblecombobox.hxx
+++ b/accessibility/inc/standard/vclxaccessiblecombobox.hxx
@@ -49,7 +49,6 @@ protected:
virtual ~VCLXAccessibleComboBox();
virtual bool IsValid() const override;
- virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) override;
};
#endif // INCLUDED_ACCESSIBILITY_INC_STANDARD_VCLXACCESSIBLECOMBOBOX_HXX
diff --git a/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx b/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx
index f18945d..1d5a311 100644
--- a/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx
+++ b/accessibility/inc/standard/vclxaccessibledropdownlistbox.hxx
@@ -47,7 +47,6 @@ protected:
virtual ~VCLXAccessibleDropDownListBox();
virtual bool IsValid() const override;
- virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) override;
};
diff --git a/accessibility/inc/standard/vclxaccessiblelistbox.hxx b/accessibility/inc/standard/vclxaccessiblelistbox.hxx
index 22d24ee..caf3dbb 100644
--- a/accessibility/inc/standard/vclxaccessiblelistbox.hxx
+++ b/accessibility/inc/standard/vclxaccessiblelistbox.hxx
@@ -48,7 +48,6 @@ protected:
virtual ~VCLXAccessibleListBox();
virtual bool IsValid() const override;
- virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) override;
};
#endif // INCLUDED_ACCESSIBILITY_INC_STANDARD_VCLXACCESSIBLELISTBOX_HXX
diff --git a/accessibility/inc/standard/vclxaccessiblelistitem.hxx b/accessibility/inc/standard/vclxaccessiblelistitem.hxx
index 3d21be9..1fa8074 100644
--- a/accessibility/inc/standard/vclxaccessiblelistitem.hxx
+++ b/accessibility/inc/standard/vclxaccessiblelistitem.hxx
@@ -106,8 +106,6 @@ public:
// XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL acquire( ) throw() override;
- virtual void SAL_CALL release( ) throw() override;
// XTypeProvider
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes( ) throw (css::uno::RuntimeException, std::exception) override;
diff --git a/accessibility/source/standard/vclxaccessiblebox.cxx b/accessibility/source/standard/vclxaccessiblebox.cxx
index bee3e6d..ddc12ec 100644
--- a/accessibility/source/standard/vclxaccessiblebox.cxx
+++ b/accessibility/source/standard/vclxaccessiblebox.cxx
@@ -449,13 +449,6 @@ Reference< XAccessibleKeyBinding > VCLXAccessibleBox::getAccessibleActionKeyBind
return xRet;
}
-//===== XComponent ==========================================================
-
-void SAL_CALL VCLXAccessibleBox::disposing()
-{
- VCLXAccessibleComponent::disposing();
-}
-
// ===== XAccessibleValue ===============================================
Any VCLXAccessibleBox::getCurrentValue( )
throw( RuntimeException, std::exception )
diff --git a/accessibility/source/standard/vclxaccessiblecombobox.cxx b/accessibility/source/standard/vclxaccessiblecombobox.cxx
index 3ff31db..1e4288e 100644
--- a/accessibility/source/standard/vclxaccessiblecombobox.cxx
+++ b/accessibility/source/standard/vclxaccessiblecombobox.cxx
@@ -46,12 +46,6 @@ bool VCLXAccessibleComboBox::IsValid() const
return GetWindow().get() != nullptr;
}
-void VCLXAccessibleComboBox::ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent)
-{
- VCLXAccessibleBox::ProcessWindowEvent( rVclWindowEvent );
-}
-
-
// XServiceInfo
OUString VCLXAccessibleComboBox::getImplementationName()
diff --git a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx
index 8e54c51..67358b1 100644
--- a/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx
+++ b/accessibility/source/standard/vclxaccessibledropdownlistbox.cxx
@@ -59,11 +59,6 @@ bool VCLXAccessibleDropDownListBox::IsValid() const
return GetWindow().get() != nullptr;
}
-void VCLXAccessibleDropDownListBox::ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent )
-{
- VCLXAccessibleBox::ProcessWindowEvent (rVclWindowEvent);
-}
-
// XServiceInfo
diff --git a/accessibility/source/standard/vclxaccessiblelistbox.cxx b/accessibility/source/standard/vclxaccessiblelistbox.cxx
index 5c9c34e..446b140 100644
--- a/accessibility/source/standard/vclxaccessiblelistbox.cxx
+++ b/accessibility/source/standard/vclxaccessiblelistbox.cxx
@@ -57,11 +57,6 @@ bool VCLXAccessibleListBox::IsValid() const
return GetWindow().get() != nullptr;
}
-void VCLXAccessibleListBox::ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent)
-{
- VCLXAccessibleBox::ProcessWindowEvent( rVclWindowEvent );
-}
-
// XServiceInfo
OUString VCLXAccessibleListBox::getImplementationName()
diff --git a/accessibility/source/standard/vclxaccessiblelistitem.cxx b/accessibility/source/standard/vclxaccessiblelistitem.cxx
index c950953..1cc7b37 100644
--- a/accessibility/source/standard/vclxaccessiblelistitem.cxx
+++ b/accessibility/source/standard/vclxaccessiblelistitem.cxx
@@ -151,16 +151,6 @@ Any SAL_CALL VCLXAccessibleListItem::queryInterface( Type const & rType ) throw
return VCLXAccessibleListItem_BASE::queryInterface( rType );
}
-void SAL_CALL VCLXAccessibleListItem::acquire() throw ()
-{
- VCLXAccessibleListItem_BASE::acquire();
-}
-
-void SAL_CALL VCLXAccessibleListItem::release() throw ()
-{
- VCLXAccessibleListItem_BASE::release();
-}
-
// XTypeProvider
Sequence< Type > SAL_CALL VCLXAccessibleListItem::getTypes( ) throw (RuntimeException, std::exception)
diff --git a/chart2/source/controller/accessibility/AccessibleChartView.cxx b/chart2/source/controller/accessibility/AccessibleChartView.cxx
index 73e5559..f249513 100644
--- a/chart2/source/controller/accessibility/AccessibleChartView.cxx
+++ b/chart2/source/controller/accessibility/AccessibleChartView.cxx
@@ -366,12 +366,6 @@ void SAL_CALL AccessibleChartView::selectionChanged( const lang::EventObject& /*
}
}
-// lang::XComponent::dispose()
-void SAL_CALL AccessibleChartView::disposing()
-{
- AccessibleBase::disposing();
-}
-
// XEventListener
void SAL_CALL AccessibleChartView::disposing( const lang::EventObject& /*Source*/ )
throw (uno::RuntimeException, std::exception)
diff --git a/chart2/source/controller/inc/AccessibleChartView.hxx b/chart2/source/controller/inc/AccessibleChartView.hxx
index 7e2e942..203296e 100644
--- a/chart2/source/controller/inc/AccessibleChartView.hxx
+++ b/chart2/source/controller/inc/AccessibleChartView.hxx
@@ -63,7 +63,7 @@ public:
AccessibleChartView() = delete;
// ____ WeakComponentHelper (called from XComponent::dispose()) ____
- virtual void SAL_CALL disposing() override;
+ using AccessibleBase::disposing;
// ____ lang::XInitialization ____
// 0: view::XSelectionSupplier offers notifications for selection changes and access to the selection itself
diff --git a/chart2/source/controller/main/DrawCommandDispatch.cxx b/chart2/source/controller/main/DrawCommandDispatch.cxx
index 4ae7d1b..41b0f89 100644
--- a/chart2/source/controller/main/DrawCommandDispatch.cxx
+++ b/chart2/source/controller/main/DrawCommandDispatch.cxx
@@ -79,11 +79,6 @@ DrawCommandDispatch::~DrawCommandDispatch()
{
}
-void DrawCommandDispatch::initialize()
-{
- FeatureCommandDispatchBase::initialize();
-}
-
bool DrawCommandDispatch::isFeatureSupported( const OUString& rCommandURL )
{
sal_uInt16 nFeatureId = 0;
diff --git a/chart2/source/controller/main/DrawCommandDispatch.hxx b/chart2/source/controller/main/DrawCommandDispatch.hxx
index a6ce34c..dd1c379 100644
--- a/chart2/source/controller/main/DrawCommandDispatch.hxx
+++ b/chart2/source/controller/main/DrawCommandDispatch.hxx
@@ -37,9 +37,6 @@ public:
DrawCommandDispatch( const css::uno::Reference< css::uno::XComponentContext >& rxContext, ChartController* pController );
virtual ~DrawCommandDispatch();
- // late initialisation, especially for adding as listener
- virtual void initialize() override;
-
virtual bool isFeatureSupported( const OUString& rCommandURL ) override;
void setAttributes( SdrObject* pObj );
diff --git a/chart2/source/controller/main/ElementSelector.cxx b/chart2/source/controller/main/ElementSelector.cxx
index 310950a..d7ed6b7 100644
--- a/chart2/source/controller/main/ElementSelector.cxx
+++ b/chart2/source/controller/main/ElementSelector.cxx
@@ -293,10 +293,6 @@ void SAL_CALL ElementSelectorToolbarController::release() throw ()
{
ToolboxController::release();
}
-void SAL_CALL ElementSelectorToolbarController::initialize( const Sequence< Any >& rArguments ) throw (Exception, RuntimeException, std::exception)
-{
- ToolboxController::initialize(rArguments);
-}
void SAL_CALL ElementSelectorToolbarController::statusChanged( const frame::FeatureStateEvent& rEvent ) throw ( RuntimeException, std::exception )
{
if( m_apSelectorListBox.get() )
diff --git a/chart2/source/controller/main/ElementSelector.hxx b/chart2/source/controller/main/ElementSelector.hxx
index a5e51cd..6826b22 100644
--- a/chart2/source/controller/main/ElementSelector.hxx
+++ b/chart2/source/controller/main/ElementSelector.hxx
@@ -88,8 +88,6 @@ public:
virtual void SAL_CALL acquire() throw () override;
virtual void SAL_CALL release() throw () override;
- // XInitialization
- virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
// XStatusListener
virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event ) throw ( css::uno::RuntimeException, std::exception ) override;
// XToolbarController
diff --git a/chart2/source/controller/main/ShapeController.cxx b/chart2/source/controller/main/ShapeController.cxx
index 6e71b30..24b1717 100644
--- a/chart2/source/controller/main/ShapeController.cxx
+++ b/chart2/source/controller/main/ShapeController.cxx
@@ -64,11 +64,6 @@ ShapeController::~ShapeController()
{
}
-void ShapeController::initialize()
-{
- FeatureCommandDispatchBase::initialize();
-}
-
// WeakComponentImplHelperBase
void ShapeController::disposing()
{
diff --git a/chart2/source/controller/main/ShapeController.hxx b/chart2/source/controller/main/ShapeController.hxx
index 139f499..73b7db1 100644
--- a/chart2/source/controller/main/ShapeController.hxx
+++ b/chart2/source/controller/main/ShapeController.hxx
@@ -40,9 +40,6 @@ public:
ShapeController( const css::uno::Reference< css::uno::XComponentContext >& rxContext, ChartController* pController );
virtual ~ShapeController();
- // late initialisation, especially for adding as listener
- virtual void initialize() override;
-
protected:
// WeakComponentImplHelperBase
virtual void SAL_CALL disposing() override;
diff --git a/compilerplugins/clang/unnecessaryoverride.cxx b/compilerplugins/clang/unnecessaryoverride.cxx
new file mode 100644
index 0000000..8a882af
--- /dev/null
+++ b/compilerplugins/clang/unnecessaryoverride.cxx
@@ -0,0 +1,114 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <cassert>
+#include <string>
+#include <iostream>
+#include <fstream>
+#include <set>
+#include "plugin.hxx"
+
+/**
+look for methods where all they do is call their superclass method
+*/
+
+namespace {
+
+class UnnecessaryOverride:
+ public RecursiveASTVisitor<UnnecessaryOverride>, public loplugin::Plugin
+{
+public:
+ explicit UnnecessaryOverride(InstantiationData const & data): Plugin(data) {}
+
+ virtual void run() override
+ {
+ // ignore some files with problematic macros
+ StringRef fn( compiler.getSourceManager().getFileEntryForID(
+ compiler.getSourceManager().getMainFileID())->getName() );
+ if (fn == SRCDIR "/sd/source/ui/framework/factories/ChildWindowPane.cxx")
+ return;
+ if (fn == SRCDIR "/forms/source/component/Date.cxx")
+ return;
+ if (fn == SRCDIR "/forms/source/component/Time.cxx")
+ return;
+
+ TraverseDecl(compiler.getASTContext().getTranslationUnitDecl());
+ }
+
+ bool VisitCXXMethodDecl(const CXXMethodDecl *);
+};
+
+bool UnnecessaryOverride::VisitCXXMethodDecl(const CXXMethodDecl* methodDecl)
+{
+ if (ignoreLocation(methodDecl->getCanonicalDecl()) || !methodDecl->doesThisDeclarationHaveABody()) {
+ return true;
+ }
+ // if we are overriding more than one method, then this is a disambiguating override
+ if (!methodDecl->isVirtual() || methodDecl->size_overridden_methods() != 1
+ || (*methodDecl->begin_overridden_methods())->isPure()) {
+ return true;
+ }
+ if (dyn_cast<CXXDestructorDecl>(methodDecl)) {
+ return true;
+ }
+ // sometimes the disambiguation happens in a base class
+ StringRef aFileName = compiler.getSourceManager().getFilename(compiler.getSourceManager().getSpellingLoc(methodDecl->getLocStart()));
+ if (aFileName == SRCDIR "/comphelper/source/property/propertycontainer.cxx")
+ return true;
+ // not sure what is happening here
+ if (aFileName == SRCDIR "/extensions/source/bibliography/datman.cxx")
+ return true;
+
+ const CXXMethodDecl* overriddenMethodDecl = *methodDecl->begin_overridden_methods();
+
+ const CompoundStmt* compoundStmt = dyn_cast<CompoundStmt>(methodDecl->getBody());
+ if (!compoundStmt || compoundStmt->size() != 1)
+ return true;
+ const Stmt* firstStmt = compoundStmt->body_front();
+ if (const ReturnStmt* returnStmt = dyn_cast<ReturnStmt>(firstStmt)) {
+ firstStmt = returnStmt->getRetValue();
+ }
+ if (!firstStmt)
+ return true;
+ const CXXMemberCallExpr* callExpr = dyn_cast<CXXMemberCallExpr>(firstStmt);
+ if (!callExpr || callExpr->getMethodDecl() != overriddenMethodDecl)
+ return true;
+ const ImplicitCastExpr* expr1 = dyn_cast_or_null<ImplicitCastExpr>(callExpr->getImplicitObjectArgument());
+ if (!expr1)
+ return true;
+ const CXXThisExpr* expr2 = dyn_cast_or_null<CXXThisExpr>(expr1->getSubExpr());
+ if (!expr2)
+ return true;
+ for (unsigned i = 0; i<callExpr->getNumArgs(); ++i) {
+ const DeclRefExpr * declRefExpr = dyn_cast<DeclRefExpr>(callExpr->getArg(i));
+ if (!declRefExpr || declRefExpr->getDecl() != methodDecl->getParamDecl(i))
+ return true;
+ }
+
+ report(
+ DiagnosticsEngine::Warning, "method just calls parent method",
+ methodDecl->getSourceRange().getBegin())
+ << methodDecl->getSourceRange();
+ if (methodDecl->getCanonicalDecl()->getLocation() != methodDecl->getLocation()) {
+ const CXXMethodDecl* pOther = methodDecl->getCanonicalDecl();
+ report(
+ DiagnosticsEngine::Note,
+ "method declaration here",
+ pOther->getLocStart())
+ << pOther->getSourceRange();
+ }
+ return true;
+}
+
+
+loplugin::Plugin::Registration< UnnecessaryOverride > X("unnecessaryoverride", true);
+
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/commontools/TTableHelper.cxx b/connectivity/source/commontools/TTableHelper.cxx
index 6359f90..28e7b1e 100644
--- a/connectivity/source/commontools/TTableHelper.cxx
+++ b/connectivity/source/commontools/TTableHelper.cxx
@@ -567,16 +567,6 @@ OUString SAL_CALL OTableHelper::getName() throw(RuntimeException, std::exception
return sComposedName;
}
-void SAL_CALL OTableHelper::acquire() throw()
-{
- OTable_TYPEDEF::acquire();
-}
-
-void SAL_CALL OTableHelper::release() throw()
-{
- OTable_TYPEDEF::release();
-}
-
std::shared_ptr<sdbcx::KeyProperties> OTableHelper::getKeyProperties(const OUString& _sName) const
{
std::shared_ptr<sdbcx::KeyProperties> pKeyProps;
diff --git a/connectivity/source/drivers/dbase/DIndex.cxx b/connectivity/source/drivers/dbase/DIndex.cxx
index cb8d8a0..f384a89 100644
--- a/connectivity/source/drivers/dbase/DIndex.cxx
+++ b/connectivity/source/drivers/dbase/DIndex.cxx
@@ -632,15 +632,4 @@ bool ODbaseIndex::CreateImpl()
}
-void SAL_CALL ODbaseIndex::acquire() throw()
-{
- ODbaseIndex_BASE::acquire();
-}
-
-void SAL_CALL ODbaseIndex::release() throw()
-{
- ODbaseIndex_BASE::release();
-}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/file/FTable.cxx b/connectivity/source/drivers/file/FTable.cxx
index 2720c1f..88ffe4f 100644
--- a/connectivity/source/drivers/file/FTable.cxx
+++ b/connectivity/source/drivers/file/FTable.cxx
@@ -165,16 +165,6 @@ void OFileTable::FileClose()
}
}
-void SAL_CALL OFileTable::acquire() throw()
-{
- OTable_TYPEDEF::acquire();
-}
-
-void SAL_CALL OFileTable::release() throw()
-{
- OTable_TYPEDEF::release();
-}
-
bool OFileTable::InsertRow(OValueRefVector& /*rRow*/, const css::uno::Reference< css::container::XIndexAccess>& /*_xCols*/)
{
return false;
diff --git a/connectivity/source/drivers/firebird/Statement.cxx b/connectivity/source/drivers/firebird/Statement.cxx
index 4144ab3..29c195c 100644
--- a/connectivity/source/drivers/firebird/Statement.cxx
+++ b/connectivity/source/drivers/firebird/Statement.cxx
@@ -182,11 +182,6 @@ uno::Sequence< Type > SAL_CALL OStatement::getTypes()
OStatementCommonBase::getTypes());
}
-void SAL_CALL OStatement::close() throw(SQLException, RuntimeException, std::exception)
-{
- OStatementCommonBase::close();
-}
-
void SAL_CALL OStatement::disposing()
{
disposeResultSet();
diff --git a/connectivity/source/drivers/firebird/Statement.hxx b/connectivity/source/drivers/firebird/Statement.hxx
index d085665..ade5a8d 100644
--- a/connectivity/source/drivers/firebird/Statement.hxx
+++ b/connectivity/source/drivers/firebird/Statement.hxx
@@ -83,10 +83,6 @@ namespace connectivity
virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes()
throw(css::uno::RuntimeException, std::exception) override;
- // XCloseable
- virtual void SAL_CALL close()
- throw(css::sdbc::SQLException,
- css::uno::RuntimeException, std::exception) override;
// OComponentHelper
virtual void SAL_CALL disposing() override;
diff --git a/connectivity/source/drivers/postgresql/pq_xtables.cxx b/connectivity/source/drivers/postgresql/pq_xtables.cxx
index 9ec5c02..ce3a17e 100644
--- a/connectivity/source/drivers/postgresql/pq_xtables.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xtables.cxx
@@ -375,11 +375,6 @@ Reference< css::container::XNameAccess > Tables::create(
return ret;
}
-void Tables::disposing()
-{
- Container::disposing();
-}
-
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xtables.hxx b/connectivity/source/drivers/postgresql/pq_xtables.hxx
index 17bb5fa..9e542ab 100644
--- a/connectivity/source/drivers/postgresql/pq_xtables.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xtables.hxx
@@ -85,8 +85,7 @@ public: // XDataDescriptorFactory
throw (css::uno::RuntimeException, std::exception) override;
protected:
- virtual void SAL_CALL disposing() override;
-
+ using Container::disposing;
};
}
diff --git a/connectivity/source/drivers/postgresql/pq_xviews.cxx b/connectivity/source/drivers/postgresql/pq_xviews.cxx
index 2e97f17..0e471bc 100644
--- a/connectivity/source/drivers/postgresql/pq_xviews.cxx
+++ b/connectivity/source/drivers/postgresql/pq_xviews.cxx
@@ -230,12 +230,6 @@ Reference< css::container::XNameAccess > Views::create(
return ret;
}
-void Views::disposing()
-{
- Container::disposing();
-}
-
-
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/connectivity/source/drivers/postgresql/pq_xviews.hxx b/connectivity/source/drivers/postgresql/pq_xviews.hxx
index 751f201..d426320 100644
--- a/connectivity/source/drivers/postgresql/pq_xviews.hxx
+++ b/connectivity/source/drivers/postgresql/pq_xviews.hxx
@@ -85,8 +85,7 @@ public: // XDataDescriptorFactory
throw (css::uno::RuntimeException, std::exception) override;
protected:
- virtual void SAL_CALL disposing() override;
-
+ using Container::disposing;
};
}
diff --git a/connectivity/source/inc/dbase/DIndex.hxx b/connectivity/source/inc/dbase/DIndex.hxx
index b7f40ff..5396e64 100644
--- a/connectivity/source/inc/dbase/DIndex.hxx
+++ b/connectivity/source/inc/dbase/DIndex.hxx
@@ -100,9 +100,6 @@ namespace connectivity
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw(css::uno::RuntimeException, std::exception) override;
static css::uno::Sequence< sal_Int8 > getUnoTunnelImplementationId();
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
-
const ODbaseTable* getTable() const { return m_pTable; }
const NDXHeader& getHeader() const { return m_aHeader; }
OIndexIterator* createIterator();
diff --git a/connectivity/source/inc/file/FTable.hxx b/connectivity/source/inc/file/FTable.hxx
index d74ff25..3c460ff 100644
--- a/connectivity/source/inc/file/FTable.hxx
+++ b/connectivity/source/inc/file/FTable.hxx
@@ -65,8 +65,6 @@ namespace connectivity
//XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType ) throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
// ::cppu::OComponentHelper
virtual void SAL_CALL disposing() override;
diff --git a/cppcanvas/CppunitTest_cppcanvas_test.mk b/cppcanvas/CppunitTest_cppcanvas_test.mk
index 2e37842..ffb2267 100644
--- a/cppcanvas/CppunitTest_cppcanvas_test.mk
+++ b/cppcanvas/CppunitTest_cppcanvas_test.mk
@@ -29,6 +29,7 @@ $(eval $(call gb_CppunitTest_use_libraries,cppcanvas_test, \
svt \
test \
tl \
+ unotest \
vcl \
$(gb_UWINAPI) \
))
diff --git a/cui/source/dialogs/hltpbase.cxx b/cui/source/dialogs/hltpbase.cxx
index a16aec2..7e117bb 100644
--- a/cui/source/dialogs/hltpbase.cxx
+++ b/cui/source/dialogs/hltpbase.cxx
@@ -97,22 +97,10 @@ sal_Int8 SvxHyperURLBox::ExecuteDrop( const ExecuteDropEvent& rEvt )
return nRet;
}
-void SvxHyperURLBox::Select()
-{
- SvtURLBox::Select();
-}
void SvxHyperURLBox::Modify()
{
SvtURLBox::Modify();
}
-bool SvxHyperURLBox::Notify( NotifyEvent& rNEvt )
-{
- return SvtURLBox::Notify( rNEvt );
-}
-bool SvxHyperURLBox::PreNotify( NotifyEvent& rNEvt )
-{
- return SvtURLBox::PreNotify( rNEvt );
-}
//# Hyperlink-Dialog: Tabpages-Baseclass #
@@ -156,16 +144,6 @@ void SvxHyperlinkTabPageBase::dispose()
IconChoicePage::dispose();
}
-void SvxHyperlinkTabPageBase::ActivatePage()
-{
- TabPage::ActivatePage();
-}
-
-void SvxHyperlinkTabPageBase::DeactivatePage()
-{
- TabPage::DeactivatePage();
-}
-
bool SvxHyperlinkTabPageBase::QueryClose()
{
return !mbIsCloseDisabled;
diff --git a/cui/source/dialogs/passwdomdlg.cxx b/cui/source/dialogs/passwdomdlg.cxx
index 1a9a932..f869cd3 100644
--- a/cui/source/dialogs/passwdomdlg.cxx
+++ b/cui/source/dialogs/passwdomdlg.cxx
@@ -153,12 +153,6 @@ PasswordToOpenModifyDialog::~PasswordToOpenModifyDialog()
disposeOnce();
}
-void PasswordToOpenModifyDialog::dispose()
-{
- SfxModalDialog::dispose();
-}
-
-
OUString PasswordToOpenModifyDialog::GetPasswordToOpen() const
{
const bool bPasswdOk =
diff --git a/cui/source/inc/hltpbase.hxx b/cui/source/inc/hltpbase.hxx
index 942f97f..9ccd268 100644
--- a/cui/source/inc/hltpbase.hxx
+++ b/cui/source/inc/hltpbase.hxx
@@ -53,10 +53,7 @@ protected:
virtual sal_Int8 AcceptDrop( const AcceptDropEvent& rEvt ) override;
virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ) override;
- virtual bool Notify( NotifyEvent& rNEvt ) override;
- virtual void Select() override;
virtual void Modify() override;
- virtual bool PreNotify( NotifyEvent& rNEvt ) override;
public:
SvxHyperURLBox( vcl::Window* pParent, INetProtocol eSmart = INetProtocol::File );
@@ -136,8 +133,8 @@ public:
Size GetSizeExtraWnd () { return ( mpMarkWnd->GetSizePixel() ); }
bool MoveToExtraWnd ( Point aNewPos, bool bDisConnectDlg = false );
- virtual void ActivatePage() override;
- virtual void DeactivatePage() override;
+ using TabPage::ActivatePage;
+ using TabPage::DeactivatePage;
virtual bool QueryClose() override;
protected:
diff --git a/cui/source/inc/iconcdlg.hxx b/cui/source/inc/iconcdlg.hxx
index b592f7f..4c2b1d5 100644
--- a/cui/source/inc/iconcdlg.hxx
+++ b/cui/source/inc/iconcdlg.hxx
@@ -62,9 +62,6 @@ struct IconChoicePageData
class IconChoicePage : public TabPage
{
- using TabPage::ActivatePage;
- using TabPage::DeactivatePage;
-
private:
const SfxItemSet* pSet;
OUString aUserString;
@@ -74,6 +71,9 @@ private:
void ImplInitSettings();
protected:
+ using TabPage::ActivatePage;
+ using TabPage::DeactivatePage;
+
IconChoicePage( vcl::Window *pParent, const OString& rID, const OUString& rUIXMLDescription, const SfxItemSet &rAttrSet );
public:
diff --git a/cui/source/inc/passwdomdlg.hxx b/cui/source/inc/passwdomdlg.hxx
index 8736329..d35d9f3 100644
--- a/cui/source/inc/passwdomdlg.hxx
+++ b/cui/source/inc/passwdomdlg.hxx
@@ -39,7 +39,6 @@ public:
sal_uInt16 nMaxPasswdLen /* 0 -> no max len enforced */,
bool bIsPasswordToModify );
virtual ~PasswordToOpenModifyDialog();
- virtual void dispose() override;
// AbstractPasswordToOpenModifyDialog
OUString GetPasswordToOpen() const;
diff --git a/cui/source/inc/radiobtnbox.hxx b/cui/source/inc/radiobtnbox.hxx
index e93dc7b..b9af0af 100644
--- a/cui/source/inc/radiobtnbox.hxx
+++ b/cui/source/inc/radiobtnbox.hxx
@@ -33,7 +33,6 @@ private:
Point m_aCurMousePoint;
protected:
- virtual void SetTabs() override;
virtual void MouseButtonUp( const MouseEvent& _rMEvt ) override;
virtual void KeyInput( const KeyEvent& rKEvt ) override;
diff --git a/cui/source/options/radiobtnbox.cxx b/cui/source/options/radiobtnbox.cxx
index 02a5c04..4e304a9 100644
--- a/cui/source/options/radiobtnbox.cxx
+++ b/cui/source/options/radiobtnbox.cxx
@@ -33,11 +33,6 @@ SvxRadioButtonListBox::SvxRadioButtonListBox(SvSimpleTableContainer& rParent, Wi
EnableCheckButton( new SvLBoxButtonData( this, true ) );
}
-void SvxRadioButtonListBox::SetTabs()
-{
- SvSimpleTable::SetTabs();
-}
-
void SvxRadioButtonListBox::MouseButtonUp( const MouseEvent& _rMEvt )
{
m_aCurMousePoint = _rMEvt.GetPosPixel();
diff --git a/dbaccess/source/core/dataaccess/ComponentDefinition.hxx b/dbaccess/source/core/dataaccess/ComponentDefinition.hxx
index 3b21c42..f98103a 100644
--- a/dbaccess/source/core/dataaccess/ComponentDefinition.hxx
+++ b/dbaccess/source/core/dataaccess/ComponentDefinition.hxx
@@ -139,7 +139,7 @@ public:
virtual css::uno::Reference< css::beans::XPropertySet > createColumnDescriptor() override;
virtual void columnAppended( const css::uno::Reference< css::beans::XPropertySet >& _rxSourceDescriptor ) override;
virtual void columnDropped(const OUString& _sName) override;
- virtual void notifyDataSourceModified() override { OContentHelper::notifyDataSourceModified(); }
+ using OContentHelper::notifyDataSourceModified;
protected:
// OPropertyArrayUsageHelper
diff --git a/dbaccess/source/core/misc/apitools.cxx b/dbaccess/source/core/misc/apitools.cxx
index f460adc..06f6a1f 100644
--- a/dbaccess/source/core/misc/apitools.cxx
+++ b/dbaccess/source/core/misc/apitools.cxx
@@ -55,10 +55,6 @@ Sequence< Type > OSubComponent::getTypes() throw (RuntimeException, std::excepti
}
// XInterface
-void OSubComponent::acquire() throw ( )
-{
- OComponentHelper::acquire();
-}
void OSubComponent::release() throw ( )
{
diff --git a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
index 78b51f5..fa5176b 100644
--- a/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
+++ b/dbaccess/source/ext/macromigration/macromigrationwizard.cxx
@@ -87,7 +87,6 @@ namespace dbmm
protected:
virtual VclPtr<Dialog> createDialog( vcl::Window* _pParent ) override;
- virtual void destroyDialog() override;
private:
Reference<XComponentContext> m_aContext;
@@ -124,11 +123,6 @@ namespace dbmm
return VclPtr<MacroMigrationDialog>::Create( _pParent, m_aContext, m_xDocument );
}
- void MacroMigrationDialogService::destroyDialog()
- {
- MacroMigrationDialogService_Base::destroyDialog();
- }
-
Sequence< sal_Int8 > SAL_CALL MacroMigrationDialogService::getImplementationId() throw(RuntimeException, std::exception)
{
return css::uno::Sequence<sal_Int8>();
diff --git a/dbaccess/source/inc/apitools.hxx b/dbaccess/source/inc/apitools.hxx
index 4c43f95..b6dfd10 100644
--- a/dbaccess/source/inc/apitools.hxx
+++ b/dbaccess/source/inc/apitools.hxx
@@ -50,7 +50,6 @@ public:
// css::uno::XInterface
virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type & rType )
throw(css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL acquire() throw() override;
virtual void SAL_CALL release() throw() override;
inline operator css::uno::Reference< css::uno::XInterface > () const
diff --git a/dbaccess/source/ui/app/AppController.cxx b/dbaccess/source/ui/app/AppController.cxx
index b6d7c75..ed47cff 100644
--- a/dbaccess/source/ui/app/AppController.cxx
+++ b/dbaccess/source/ui/app/AppController.cxx
@@ -2281,16 +2281,6 @@ void OApplicationController::onDeleteEntry()
executeChecked(nId,Sequence<PropertyValue>());
}
-void OApplicationController::executeUnChecked(const URL& _rCommand, const Sequence< PropertyValue>& aArgs)
-{
- OGenericUnoController::executeUnChecked( _rCommand, aArgs );
-}
-
-void OApplicationController::executeChecked(const URL& _rCommand, const Sequence< PropertyValue>& aArgs)
-{
- OGenericUnoController::executeChecked( _rCommand, aArgs );
-}
-
void OApplicationController::executeUnChecked(sal_uInt16 _nCommandId, const Sequence< PropertyValue>& aArgs)
{
OGenericUnoController::executeUnChecked( _nCommandId, aArgs );
@@ -2311,26 +2301,11 @@ bool OApplicationController::isCommandEnabled( const OUString& _rCompleteCommand
return OGenericUnoController::isCommandEnabled( _rCompleteCommandURL );
}
-sal_uInt16 OApplicationController::registerCommandURL( const OUString& _rCompleteCommandURL )
-{
- return OGenericUnoController::registerCommandURL( _rCompleteCommandURL );
-}
-
-void OApplicationController::notifyHiContrastChanged()
-{
- OGenericUnoController::notifyHiContrastChanged();
-}
-
Reference< XController > OApplicationController::getXController() throw( RuntimeException )
{
return OGenericUnoController::getXController();
}
-bool OApplicationController::interceptUserInput( const NotifyEvent& _rEvent )
-{
- return OGenericUnoController::interceptUserInput( _rEvent );
-}
-
VclPtr<PopupMenu> OApplicationController::getContextMenu( Control& /*_rControl*/ ) const
{
return VclPtr<PopupMenu>::Create( ModuleRes( RID_MENU_APP_EDIT ) );
diff --git a/dbaccess/source/ui/app/AppController.hxx b/dbaccess/source/ui/app/AppController.hxx
index afde26c..f882e3c 100644
--- a/dbaccess/source/ui/app/AppController.hxx
+++ b/dbaccess/source/ui/app/AppController.hxx
@@ -512,18 +512,15 @@ namespace dbaui
void containerFound( const css::uno::Reference< css::container::XContainer >& _xContainer);
// IController
- virtual void executeUnChecked(const css::util::URL& _rCommand, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
- virtual void executeChecked(const css::util::URL& _rCommand, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
+ using OGenericUnoController::executeUnChecked;
virtual void executeUnChecked(sal_uInt16 _nCommandId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
+ using OGenericUnoController::executeChecked;
virtual void executeChecked(sal_uInt16 _nCommandId, const css::uno::Sequence< css::beans::PropertyValue>& aArgs) override;
virtual bool isCommandEnabled(sal_uInt16 _nCommandId) const override;
virtual bool isCommandEnabled( const OUString& _rCompleteCommandURL ) const override;
- virtual sal_uInt16 registerCommandURL( const OUString& _rCompleteCommandURL ) override;
- virtual void notifyHiContrastChanged() override;
virtual bool isDataSourceReadOnly() const override;
virtual css::uno::Reference< css::frame::XController >
getXController() throw( css::uno::RuntimeException ) override;
- virtual bool interceptUserInput( const NotifyEvent& _rEvent ) override;
// IControlActionListener overridables
virtual bool requestQuickHelp( const SvTreeListEntry* _pEntry, OUString& _rText ) const override;
diff --git a/dbaccess/source/ui/app/AppDetailView.cxx b/dbaccess/source/ui/app/AppDetailView.cxx
index 4e26e02..879dcd5 100644
--- a/dbaccess/source/ui/app/AppDetailView.cxx
+++ b/dbaccess/source/ui/app/AppDetailView.cxx
@@ -601,11 +601,6 @@ void OApplicationDetailView::DataChanged( const DataChangedEvent& rDCEvt )
}
}
-void OApplicationDetailView::GetFocus()
-{
- OSplitterView::GetFocus();
-}
-
void OApplicationDetailView::setTaskExternalMnemonics( MnemonicGenerator& _rMnemonics )
{
m_aExternalMnemonics = _rMnemonics;
diff --git a/dbaccess/source/ui/app/AppDetailView.hxx b/dbaccess/source/ui/app/AppDetailView.hxx
index 5c09203..1a2f430 100644
--- a/dbaccess/source/ui/app/AppDetailView.hxx
+++ b/dbaccess/source/ui/app/AppDetailView.hxx
@@ -163,7 +163,6 @@ namespace dbaui
virtual ~OApplicationDetailView();
// Window overrides
virtual void dispose() override;
- virtual void GetFocus() override;
/** creates the tables page
@param _xConnection
diff --git a/dbaccess/source/ui/browser/sbagrid.cxx b/dbaccess/source/ui/browser/sbagrid.cxx
index fdd1299..64c68b1 100644
--- a/dbaccess/source/ui/browser/sbagrid.cxx
+++ b/dbaccess/source/ui/browser/sbagrid.cxx
@@ -1135,11 +1135,6 @@ void SbaGridControl::StartDrag( sal_Int8 _nAction, const Point& _rPosPixel )
FmGridControl::StartDrag(_nAction, _rPosPixel);
}
-void SbaGridControl::Command(const CommandEvent& rEvt)
-{
- FmGridControl::Command(rEvt);
-}
-
void SbaGridControl::DoColumnDrag(sal_uInt16 nColumnPos)
{
Reference< XPropertySet > xDataSource(getDataSource(), UNO_QUERY);
@@ -1501,9 +1496,4 @@ OUString SbaGridControl::GetAccessibleObjectDescription( ::svt::AccessibleBrowse
return sRet;
}
-void SbaGridControl::DeleteSelectedRows()
-{
- FmGridControl::DeleteSelectedRows();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx
index 3ebaef0..1a588f4 100644
--- a/dbaccess/source/ui/control/RelationControl.cxx
+++ b/dbaccess/source/ui/control/RelationControl.cxx
@@ -109,7 +109,7 @@ namespace dbaui
virtual bool IsTabAllowed(bool bForward) const override;
void Init(const TTableConnectionData::value_type& _pConnData);
- virtual void Init() override { ORelationControl_Base::Init(); }
+ using ORelationControl_Base::Init;
virtual void InitController( ::svt::CellControllerRef& rController, long nRow, sal_uInt16 nCol ) override;
virtual ::svt::CellController* GetController( long nRow, sal_uInt16 nCol ) override;
virtual void PaintCell( OutputDevice& rDev, const Rectangle& rRect, sal_uInt16 nColId ) const override;
diff --git a/dbaccess/source/ui/control/TableGrantCtrl.cxx b/dbaccess/source/ui/control/TableGrantCtrl.cxx
index 15d4b94..f696857 100644
--- a/dbaccess/source/ui/control/TableGrantCtrl.cxx
+++ b/dbaccess/source/ui/control/TableGrantCtrl.cxx
@@ -144,11 +144,6 @@ void OTableGrantControl::Init()
SetMode(nMode);
}
-void OTableGrantControl::Resize()
-{
- EditBrowseBox::Resize();
-}
-
bool OTableGrantControl::PreNotify(NotifyEvent& rNEvt)
{
if (rNEvt.GetType() == MouseNotifyEvent::LOSEFOCUS)
diff --git a/dbaccess/source/ui/inc/JoinController.hxx b/dbaccess/source/ui/inc/JoinController.hxx
index 2756ec2..797770c 100644
--- a/dbaccess/source/ui/inc/JoinController.hxx
+++ b/dbaccess/source/ui/inc/JoinController.hxx
@@ -116,7 +116,7 @@ namespace dbaui
// UNO interface overridables
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw(css::uno::RuntimeException, std::exception) override;
+ using OJoinController_BASE::disposing;
// css::lang::XComponent
virtual void SAL_CALL disposing() override;
diff --git a/dbaccess/source/ui/inc/QueryTableView.hxx b/dbaccess/source/ui/inc/QueryTableView.hxx
index 4b27fa3..03a8c03 100644
--- a/dbaccess/source/ui/inc/QueryTableView.hxx
+++ b/dbaccess/source/ui/inc/QueryTableView.hxx
@@ -34,7 +34,6 @@ namespace dbaui
{
protected:
virtual void ConnDoubleClicked(VclPtr<OTableConnection>& rConnection) override;
- virtual void KeyInput(const KeyEvent& rEvt) override;
virtual VclPtr<OTableWindow> createWindow(const TTableWindowData::value_type& _pData) override;
diff --git a/dbaccess/source/ui/inc/TableGrantCtrl.hxx b/dbaccess/source/ui/inc/TableGrantCtrl.hxx
index ec7d589..244eb61 100644
--- a/dbaccess/source/ui/inc/TableGrantCtrl.hxx
+++ b/dbaccess/source/ui/inc/TableGrantCtrl.hxx
@@ -81,8 +81,6 @@ public:
CreateAccessibleCell( sal_Int32 nRow, sal_uInt16 nColumnId ) override;
protected:
- virtual void Resize() override;
-
virtual bool PreNotify(NotifyEvent& rNEvt ) override;
virtual bool IsTabAllowed(bool bForward) const override;
diff --git a/dbaccess/source/ui/inc/sbagrid.hxx b/dbaccess/source/ui/inc/sbagrid.hxx
index 54af4da..123cee3 100644
--- a/dbaccess/source/ui/inc/sbagrid.hxx
+++ b/dbaccess/source/ui/inc/sbagrid.hxx
@@ -227,7 +227,6 @@ namespace dbaui
virtual ~SbaGridControl();
virtual void dispose() override;
- virtual void Command( const CommandEvent& rCEvt ) override;
virtual void Select() override;
void SetMasterListener(SbaGridListener* pListener) { m_pMasterListener = pListener; }
@@ -250,7 +249,7 @@ namespace dbaui
*/
virtual OUString GetAccessibleObjectDescription( ::svt::AccessibleBrowseBoxObjType eObjType,sal_Int32 _nPosition = -1) const override;
- virtual void DeleteSelectedRows() override;
+ using FmGridControl::DeleteSelectedRows;
/** copies the currently selected rows to the clipboard
@precond
at least one row is selected
diff --git a/dbaccess/source/ui/querydesign/JoinController.cxx b/dbaccess/source/ui/querydesign/JoinController.cxx
index 31dfbee..bdb72d6 100644
--- a/dbaccess/source/ui/querydesign/JoinController.cxx
+++ b/dbaccess/source/ui/querydesign/JoinController.cxx
@@ -155,11 +155,6 @@ OJoinController::~OJoinController()
{
}
-void SAL_CALL OJoinController::disposing( const EventObject& _rSource ) throw(RuntimeException, std::exception)
-{
- OJoinController_BASE::disposing( _rSource );
-}
-
OJoinDesignView* OJoinController::getJoinView()
{
return static_cast< OJoinDesignView* >( getView() );
diff --git a/dbaccess/source/ui/querydesign/QueryTableView.cxx b/dbaccess/source/ui/querydesign/QueryTableView.cxx
index 67bd063..a2af2d8 100644
--- a/dbaccess/source/ui/querydesign/QueryTableView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryTableView.cxx
@@ -689,11 +689,6 @@ bool OQueryTableView::RemoveConnection(VclPtr<OTableConnection>& rConnection, bo
return bRet;
}
-void OQueryTableView::KeyInput( const KeyEvent& rEvt )
-{
- OJoinTableView::KeyInput( rEvt );
-}
-
OQueryTableWindow* OQueryTableView::FindTable(const OUString& rAliasName)
{
OSL_ENSURE(!rAliasName.isEmpty(), "OQueryTableView::FindTable : the AliasName should not be empty !");
diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx
index dd348e5..9787efd 100644
--- a/dbaccess/source/ui/querydesign/querycontroller.cxx
+++ b/dbaccess/source/ui/querydesign/querycontroller.cxx
@@ -1166,7 +1166,7 @@ void SAL_CALL OQueryController::disposing( const EventObject& Source ) throw(Run
}
}
- OJoinController::disposing(Source);
+ OJoinController_BASE::disposing(Source);
}
void OQueryController::reconnect(bool _bUI)
diff --git a/desktop/source/deployment/registry/component/dp_component.cxx b/desktop/source/deployment/registry/component/dp_component.cxx
index 80d6e06..1036ab0 100644
--- a/desktop/source/deployment/registry/component/dp_component.cxx
+++ b/desktop/source/deployment/registry/component/dp_component.cxx
@@ -128,8 +128,6 @@ class BackendImpl : public ::dp_registry::backend::PackageRegistryBackend
void componentLiveRemoval(ComponentBackendDb::Data const & data);
- virtual void SAL_CALL disposing() override;
-
// Package
virtual beans::Optional< beans::Ambiguous<sal_Bool> > isRegistered_(
::osl::ResettableMutexGuard & guard,
@@ -184,8 +182,6 @@ class BackendImpl : public ::dp_registry::backend::PackageRegistryBackend
const bool m_jarFile;
- virtual void SAL_CALL disposing() override;
-
// Package
virtual beans::Optional< beans::Ambiguous<sal_Bool> > isRegistered_(
::osl::ResettableMutexGuard & guard,
@@ -389,18 +385,6 @@ BackendImpl * BackendImpl::ComponentPackageImpl::getMyBackend() const
}
-void BackendImpl::ComponentPackageImpl::disposing()
-{
- Package::disposing();
-}
-
-
-void BackendImpl::TypelibraryPackageImpl::disposing()
-{
- Package::disposing();
-}
-
-
void BackendImpl::disposing()
{
try {
diff --git a/drawinglayer/CppunitTest_drawinglayer_border.mk b/drawinglayer/CppunitTest_drawinglayer_border.mk
index ea72b8c..db87032 100644
--- a/drawinglayer/CppunitTest_drawinglayer_border.mk
+++ b/drawinglayer/CppunitTest_drawinglayer_border.mk
@@ -24,6 +24,7 @@ $(eval $(call gb_CppunitTest_use_libraries,drawinglayer_border, \
vcl \
test \
tl \
+ unotest \
$(gb_UWINAPI) \
))
diff --git a/editeng/CppunitTest_editeng_core.mk b/editeng/CppunitTest_editeng_core.mk
index 36fb35b..00d2b80 100644
--- a/editeng/CppunitTest_editeng_core.mk
+++ b/editeng/CppunitTest_editeng_core.mk
@@ -35,6 +35,7 @@ $(eval $(call gb_CppunitTest_use_libraries,editeng_core, \
tk \
tl \
ucbhelper \
+ unotest \
utl \
vcl \
xo \
diff --git a/editeng/source/editeng/edtspell.cxx b/editeng/source/editeng/edtspell.cxx
index 16071bd0..627ead7 100644
--- a/editeng/source/editeng/edtspell.cxx
+++ b/editeng/source/editeng/edtspell.cxx
@@ -110,12 +110,6 @@ void EditSpellWrapper::SpellContinue()
SetLast( pEditView->GetImpEditEngine()->ImpSpell( pEditView ) );
}
-void EditSpellWrapper::SpellEnd()
-{
- // Base class will show language errors...
- SvxSpellWrapper::SpellEnd();
-}
-
bool EditSpellWrapper::HasOtherCnt()
{
return false;
diff --git a/editeng/source/editeng/edtspell.hxx b/editeng/source/editeng/edtspell.hxx
index a70881b..baf7b77 100644
--- a/editeng/source/editeng/edtspell.hxx
+++ b/editeng/source/editeng/edtspell.hxx
@@ -47,7 +47,6 @@ protected:
virtual void SpellStart( SvxSpellArea eArea ) override;
virtual void SpellContinue() override; // Check area
virtual void ReplaceAll( const OUString &rNewText, sal_Int16 nLanguage ) override;
- virtual void SpellEnd() override;
virtual bool SpellMore() override;
virtual bool HasOtherCnt() override;
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index 0cf844f..a81713f 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -580,16 +580,6 @@ void SvxRTFParser::ReadFontTable()
SetDefault( RTF_DEFF, nDfltFont );
}
-void SvxRTFParser::ReadBitmapData()
-{
- SvRTFParser::ReadBitmapData();
-}
-
-void SvxRTFParser::ReadOLEData()
-{
- SvRTFParser::ReadOLEData();
-}
-
OUString& SvxRTFParser::GetTextToEndGroup( OUString& rStr )
{
rStr.clear();
diff --git a/extensions/source/abpilot/fieldmappingpage.cxx b/extensions/source/abpilot/fieldmappingpage.cxx
index 91115e62..d135a19 100644
--- a/extensions/source/abpilot/fieldmappingpage.cxx
+++ b/extensions/source/abpilot/fieldmappingpage.cxx
@@ -55,12 +55,6 @@ namespace abp
}
- void FieldMappingPage::DeactivatePage()
- {
- AddressBookSourcePage::DeactivatePage();
- }
-
-
void FieldMappingPage::initializePage()
{
AddressBookSourcePage::initializePage();
diff --git a/extensions/source/abpilot/fieldmappingpage.hxx b/extensions/source/abpilot/fieldmappingpage.hxx
index 1d6c637..146ece8 100644
--- a/extensions/source/abpilot/fieldmappingpage.hxx
+++ b/extensions/source/abpilot/fieldmappingpage.hxx
@@ -43,7 +43,6 @@ namespace abp
// TabDialog overridables
virtual void ActivatePage() override;
- virtual void DeactivatePage() override;
private:
DECL_LINK_TYPED( OnInvokeDialog, Button*, void );
diff --git a/extensions/source/abpilot/tableselectionpage.cxx b/extensions/source/abpilot/tableselectionpage.cxx
index 21fcf27..9528685 100644
--- a/extensions/source/abpilot/tableselectionpage.cxx
+++ b/extensions/source/abpilot/tableselectionpage.cxx
@@ -55,12 +55,6 @@ namespace abp
}
- void TableSelectionPage::DeactivatePage()
- {
- AddressBookSourcePage::DeactivatePage();
- }
-
-
void TableSelectionPage::initializePage()
{
AddressBookSourcePage::initializePage();
diff --git a/extensions/source/abpilot/tableselectionpage.hxx b/extensions/source/abpilot/tableselectionpage.hxx
index 6f81126..dac8e5f 100644
--- a/extensions/source/abpilot/tableselectionpage.hxx
+++ b/extensions/source/abpilot/tableselectionpage.hxx
@@ -44,7 +44,6 @@ namespace abp
// TabDialog overridables
virtual void ActivatePage() override;
- virtual void DeactivatePage() override;
// OImportPage overridables
virtual bool canAdvance() const override;
diff --git a/extensions/source/dbpilots/controlwizard.cxx b/extensions/source/dbpilots/controlwizard.cxx
index f220adb..2619186 100644
--- a/extensions/source/dbpilots/controlwizard.cxx
+++ b/extensions/source/dbpilots/controlwizard.cxx
@@ -279,12 +279,6 @@ namespace dbp
}
- void OControlWizard::ActivatePage()
- {
- OControlWizard_Base::ActivatePage();
- }
-
-
void OControlWizard::implDetermineShape()
{
Reference< XIndexAccess > xPageObjects(m_aContext.xDrawPage, UNO_QUERY);
diff --git a/extensions/source/dbpilots/controlwizard.hxx b/extensions/source/dbpilots/controlwizard.hxx
index b445dbf..ba2be4c 100644
--- a/extensions/source/dbpilots/controlwizard.hxx
+++ b/extensions/source/dbpilots/controlwizard.hxx
@@ -147,7 +147,7 @@ namespace dbp
void implDetermineShape();
// made private. Not to be used by derived (or external) classes
- virtual void ActivatePage() override;
+ using OControlWizard_Base::ActivatePage;
};
diff --git a/extensions/source/propctrlr/composeduiupdate.cxx b/extensions/source/propctrlr/composeduiupdate.cxx
index 5fde3d3..398dea7 100644
--- a/extensions/source/propctrlr/composeduiupdate.cxx
+++ b/extensions/source/propctrlr/composeduiupdate.cxx
@@ -144,10 +144,6 @@ namespace pcr
virtual void SAL_CALL revokeControlObserver( const Reference< XPropertyControlObserver >& Observer ) throw (RuntimeException, std::exception) override;
virtual void SAL_CALL setHelpSectionText( const OUString& HelpText ) throw (NoSupportException, RuntimeException, std::exception) override;
- // UNOCompatibleNonUNOReference overridables
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
-
protected:
virtual ~CachedInspectorUI();
@@ -209,18 +205,6 @@ namespace pcr
}
- void SAL_CALL CachedInspectorUI::acquire() throw()
- {
- CachedInspectorUI_Base::acquire();
- }
-
-
- void SAL_CALL CachedInspectorUI::release() throw()
- {
- CachedInspectorUI_Base::release();
- }
-
-
void CachedInspectorUI::checkDisposed() const
{
if ( isDisposed() )
diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx
index 2410dc7..7b6c715 100644
--- a/forms/source/component/ImageControl.cxx
+++ b/forms/source/component/ImageControl.cxx
@@ -626,14 +626,6 @@ void OImageControlModel::doSetControlValue( const Any& _rValue )
}
}
-// OComponentHelper
-
-void SAL_CALL OImageControlModel::disposing()
-{
- OBoundControlModel::disposing();
-}
-
-
void OImageControlModel::resetNoBroadcast()
{
if ( hasField() ) // only reset when we are connected to a column
diff --git a/forms/source/component/ImageControl.hxx b/forms/source/component/ImageControl.hxx
index 6c3b432..60a9a33 100644
--- a/forms/source/component/ImageControl.hxx
+++ b/forms/source/component/ImageControl.hxx
@@ -81,9 +81,6 @@ public:
virtual css::uno::Sequence<OUString> SAL_CALL getSupportedServiceNames() throw(std::exception) override;
- // OComponentHelper
- virtual void SAL_CALL disposing() override;
-
// XPersistObject
virtual OUString SAL_CALL getServiceName() throw ( css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL write(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream) throw ( css::io::IOException, css::uno::RuntimeException, std::exception) override;
diff --git a/forms/source/component/navigationbar.cxx b/forms/source/component/navigationbar.cxx
index 2f9c0ff..a70f2cf 100644
--- a/forms/source/component/navigationbar.cxx
+++ b/forms/source/component/navigationbar.cxx
@@ -170,11 +170,6 @@ namespace frm
return aSupported;
}
- void SAL_CALL ONavigationBarModel::disposing()
- {
- OControlModel::disposing( );
- }
-
OUString SAL_CALL ONavigationBarModel::getServiceName() throw ( RuntimeException, std::exception )
{
return OUString(FRM_SUN_COMPONENT_NAVTOOLBAR);
diff --git a/forms/source/component/navigationbar.hxx b/forms/source/component/navigationbar.hxx
index 7bd2e75..536a1ca 100644
--- a/forms/source/component/navigationbar.hxx
+++ b/forms/source/component/navigationbar.hxx
@@ -83,9 +83,6 @@ namespace frm
// XTypeProvider
DECLARE_XTYPEPROVIDER()
- // OComponentHelper
- virtual void SAL_CALL disposing() override;
-
// XPersistObject
virtual OUString SAL_CALL getServiceName() throw ( css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL write(const css::uno::Reference< css::io::XObjectOutputStream>& _rxOutStream) throw ( css::io::IOException, css::uno::RuntimeException, std::exception) override;
diff --git a/forms/source/component/scrollbar.cxx b/forms/source/component/scrollbar.cxx
index 3b50a09..c2a02dd 100644
--- a/forms/source/component/scrollbar.cxx
+++ b/forms/source/component/scrollbar.cxx
@@ -132,12 +132,6 @@ namespace frm
IMPLEMENT_DEFAULT_CLONING( OScrollBarModel )
- void SAL_CALL OScrollBarModel::disposing()
- {
- OBoundControlModel::disposing();
- }
-
-
void OScrollBarModel::describeFixedProperties( Sequence< Property >& _rProps ) const
{
BEGIN_DESCRIBE_PROPERTIES( 3, OControlModel )
diff --git a/forms/source/component/scrollbar.hxx b/forms/source/component/scrollbar.hxx
index ee0b2b7..a228a41 100644
--- a/forms/source/component/scrollbar.hxx
+++ b/forms/source/component/scrollbar.hxx
@@ -70,9 +70,6 @@ namespace frm
virtual css::uno::Any translateExternalValueToControlValue( const css::uno::Any& _rExternalValue ) const override;
virtual css::uno::Any translateControlValueToExternalValue( ) const override;
- // XCoponent and related helpers
- virtual void SAL_CALL disposing() override;
-
// prevent method hiding
using OBoundControlModel::disposing;
using OBoundControlModel::getFastPropertyValue;
diff --git a/forms/source/component/spinbutton.cxx b/forms/source/component/spinbutton.cxx
index 6c71bf9..a2b551d 100644
--- a/forms/source/component/spinbutton.cxx
+++ b/forms/source/component/spinbutton.cxx
@@ -86,12 +86,6 @@ namespace frm
IMPLEMENT_DEFAULT_CLONING( OSpinButtonModel )
- void SAL_CALL OSpinButtonModel::disposing()
- {
- OBoundControlModel::disposing();
- }
-
-
void OSpinButtonModel::describeFixedProperties( Sequence< Property >& _rProps ) const
{
BEGIN_DESCRIBE_PROPERTIES( 3, OControlModel )
diff --git a/forms/source/component/spinbutton.hxx b/forms/source/component/spinbutton.hxx
index 886c797..a93f732 100644
--- a/forms/source/component/spinbutton.hxx
+++ b/forms/source/component/spinbutton.hxx
@@ -71,9 +71,6 @@ namespace frm
virtual css::uno::Any translateExternalValueToControlValue( const css::uno::Any& _rExternalValue ) const override;
virtual css::uno::Any translateControlValueToExternalValue( ) const override;
- // XCoponent and related helpers
- virtual void SAL_CALL disposing() override;
-
// prevent method hiding
using OBoundControlModel::disposing;
using OBoundControlModel::getFastPropertyValue;
diff --git a/forms/source/richtext/richtextmodel.cxx b/forms/source/richtext/richtextmodel.cxx
index 6ec032d..205c86e 100644
--- a/forms/source/richtext/richtextmodel.cxx
+++ b/forms/source/richtext/richtextmodel.cxx
@@ -500,20 +500,6 @@ namespace frm
}
- void SAL_CALL ORichTextModel::write(const Reference< XObjectOutputStream >& _rxOutStream) throw ( IOException, RuntimeException, std::exception)
- {
- OControlModel::write( _rxOutStream );
- // TODO: place your code here
- }
-
-
- void SAL_CALL ORichTextModel::read(const Reference< XObjectInputStream >& _rxInStream) throw ( IOException, RuntimeException, std::exception)
- {
- OControlModel::read( _rxInStream );
- // TODO: place your code here
- }
-
-
RichTextEngine* ORichTextModel::getEditEngine( const Reference< XControlModel >& _rxModel )
{
RichTextEngine* pEngine = nullptr;
diff --git a/forms/source/richtext/richtextmodel.hxx b/forms/source/richtext/richtextmodel.hxx
index f3ed474..efea602 100644
--- a/forms/source/richtext/richtextmodel.hxx
+++ b/forms/source/richtext/richtextmodel.hxx
@@ -112,7 +112,7 @@ namespace frm
virtual ::css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (::css::uno::RuntimeException, std::exception) override;
// XPersistObject
- DECLARE_XPERSISTOBJECT()
+ virtual OUString SAL_CALL getServiceName() throw(css::uno::RuntimeException, std::exception) override;
// XTypeProvider
DECLARE_XTYPEPROVIDER()
diff --git a/framework/source/fwe/classes/addonmenu.cxx b/framework/source/fwe/classes/addonmenu.cxx
index 2e20b30..09176d5 100644
--- a/framework/source/fwe/classes/addonmenu.cxx
+++ b/framework/source/fwe/classes/addonmenu.cxx
@@ -56,11 +56,6 @@ AddonMenu::~AddonMenu()
disposeOnce();
}
-void AddonMenu::dispose()
-{
- PopupMenu::dispose();
-}
-
// Check if command URL string has the unique prefix to identify addon popup menus
bool AddonPopupMenu::IsCommandURLPrefix( const OUString& aCmdURL )
{
diff --git a/i18npool/inc/transliteration_OneToOne.hxx b/i18npool/inc/transliteration_OneToOne.hxx
index 2ef7c97..98b380a 100644
--- a/i18npool/inc/transliteration_OneToOne.hxx
+++ b/i18npool/inc/transliteration_OneToOne.hxx
@@ -74,11 +74,33 @@ public: \
};
TRANSLITERATION_ONETOONE( fullwidthToHalfwidth )
-TRANSLITERATION_ONETOONE(halfwidthToFullwidth)
TRANSLITERATION_ONETOONE( fullwidthKatakanaToHalfwidthKatakana )
-TRANSLITERATION_ONETOONE(halfwidthKatakanaToFullwidthKatakana)
TRANSLITERATION_ONETOONE( fullwidthToHalfwidthLikeASC )
-TRANSLITERATION_ONETOONE( halfwidthToFullwidthLikeJIS )
+
+class halfwidthToFullwidth : public transliteration_OneToOne
+{
+public:
+ halfwidthToFullwidth();
+ OUString SAL_CALL
+ transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset )
+ throw(css::uno::RuntimeException, std::exception) override;
+};
+class halfwidthKatakanaToFullwidthKatakana : public transliteration_OneToOne
+{
+public:
+ halfwidthKatakanaToFullwidthKatakana();
+ OUString SAL_CALL
+ transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset )
+ throw(css::uno::RuntimeException, std::exception) override;
+};
+class halfwidthToFullwidthLikeJIS : public transliteration_OneToOne
+{
+public:
+ halfwidthToFullwidthLikeJIS();
+ OUString SAL_CALL
+ transliterate( const OUString& inStr, sal_Int32 startPos, sal_Int32 nCount, css::uno::Sequence< sal_Int32 >& offset )
+ throw(css::uno::RuntimeException, std::exception) override;
+};
#undef TRANSLITERATION_ONETOONE
diff --git a/i18npool/source/transliteration/halfwidthToFullwidth.cxx b/i18npool/source/transliteration/halfwidthToFullwidth.cxx
index 4410525..f422dd3 100644
--- a/i18npool/source/transliteration/halfwidthToFullwidth.cxx
+++ b/i18npool/source/transliteration/halfwidthToFullwidth.cxx
@@ -49,14 +49,6 @@ halfwidthToFullwidth::transliterate( const OUString& inStr, sal_Int32 startPos,
return widthfolding::compose_ja_voiced_sound_marks ( newStr, 0, newStr.getLength(), offset, _useOffset );
}
-sal_Unicode SAL_CALL
-halfwidthToFullwidth::transliterateChar2Char( sal_Unicode inChar)
- throw(RuntimeException, MultipleCharsOutputException, std::exception)
-{
- return transliteration_OneToOne::transliterateChar2Char(inChar);
-}
-
-
halfwidthKatakanaToFullwidthKatakana::halfwidthKatakanaToFullwidthKatakana()
{
func = nullptr;
@@ -79,14 +71,6 @@ halfwidthKatakanaToFullwidthKatakana::transliterate( const OUString& inStr, sal_
return widthfolding::compose_ja_voiced_sound_marks ( newStr, 0, newStr.getLength(), offset, _useOffset );
}
-sal_Unicode SAL_CALL
-halfwidthKatakanaToFullwidthKatakana::transliterateChar2Char( sal_Unicode inChar)
- throw(RuntimeException, MultipleCharsOutputException, std::exception)
-{
- return transliteration_OneToOne::transliterateChar2Char(inChar);
-}
-
-
halfwidthToFullwidthLikeJIS::halfwidthToFullwidthLikeJIS()
{
func = nullptr;
@@ -109,12 +93,6 @@ halfwidthToFullwidthLikeJIS::transliterate( const OUString& inStr, sal_Int32 sta
return widthfolding::compose_ja_voiced_sound_marks ( newStr, 0, newStr.getLength(), offset, _useOffset, WIDTHFOLDNIG_DONT_USE_COMBINED_VU );
}
-sal_Unicode SAL_CALL
-halfwidthToFullwidthLikeJIS::transliterateChar2Char( sal_Unicode inChar)
- throw(RuntimeException, MultipleCharsOutputException, std::exception)
-{
- return transliteration_OneToOne::transliterateChar2Char(inChar);
-}
} } } }
diff --git a/idlc/inc/astenum.hxx b/idlc/inc/astenum.hxx
index c60ff28..d7c8977 100644
--- a/idlc/inc/astenum.hxx
+++ b/idlc/inc/astenum.hxx
@@ -38,7 +38,6 @@ public:
virtual bool dump(RegistryKey& rKey) override;
- virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl) override;
private:
sal_Int32 m_enumValueCount;
};
diff --git a/idlc/inc/astoperation.hxx b/idlc/inc/astoperation.hxx
index 775c74f..5a5194f 100644
--- a/idlc/inc/astoperation.hxx
+++ b/idlc/inc/astoperation.hxx
@@ -47,8 +47,6 @@ public:
bool dumpBlob(typereg::Writer & rBlob, sal_uInt16 index);
- // scope management
- virtual AstDeclaration* addDeclaration(AstDeclaration* pDecl) override;
private:
AstType const * m_pReturnType;
DeclList m_exceptions;
diff --git a/idlc/source/astenum.cxx b/idlc/source/astenum.cxx
index f3a20fc..f006f61 100644
--- a/idlc/source/astenum.cxx
+++ b/idlc/source/astenum.cxx
@@ -104,9 +104,4 @@ bool AstEnum::dump(RegistryKey& rKey)
return true;
}
-AstDeclaration* AstEnum::addDeclaration(AstDeclaration* pDecl)
-{
- return AstScope::addDeclaration(pDecl);
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/idlc/source/astoperation.cxx b/idlc/source/astoperation.cxx
index 78c4e45..cd6076b 100644
--- a/idlc/source/astoperation.cxx
+++ b/idlc/source/astoperation.cxx
@@ -118,9 +118,4 @@ bool AstOperation::dumpBlob(typereg::Writer & rBlob, sal_uInt16 index)
return true;
}
-AstDeclaration* AstOperation::addDeclaration(AstDeclaration* pDecl)
-{
- return AstScope::addDeclaration(pDecl);
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/include/connectivity/TTableHelper.hxx b/include/connectivity/TTableHelper.hxx
index 0953a7d..0000cf9 100644
--- a/include/connectivity/TTableHelper.hxx
+++ b/include/connectivity/TTableHelper.hxx
@@ -138,9 +138,6 @@ namespace connectivity
virtual css::uno::Reference< css::sdbc::XDatabaseMetaData> getMetaData() const override;
css::uno::Reference< css::sdbc::XConnection> getConnection() const;
- virtual void SAL_CALL acquire() throw() override;
- virtual void SAL_CALL release() throw() override;
-
// XRename
virtual void SAL_CALL rename( const OUString& newName ) throw(css::sdbc::SQLException, css::container::ElementExistException, css::uno::RuntimeException, std::exception) override;
diff --git a/include/editeng/svxrtf.hxx b/include/editeng/svxrtf.hxx
index 2a94161..ede52eb 100644
--- a/include/editeng/svxrtf.hxx
+++ b/include/editeng/svxrtf.hxx
@@ -254,9 +254,6 @@ protected:
// is called for each token that is recognized in CallParser
virtual void NextToken( int nToken ) override;
- virtual void ReadBitmapData() override;
- virtual void ReadOLEData() override;
-
void ReadStyleTable();
void ReadColorTable();
void ReadFontTable();
diff --git a/include/framework/addonmenu.hxx b/include/framework/addonmenu.hxx
index fec0de7..a8478ed 100644
--- a/include/framework/addonmenu.hxx
+++ b/include/framework/addonmenu.hxx
@@ -39,7 +39,6 @@ class FWE_DLLPUBLIC AddonMenu : public PopupMenu
public:
AddonMenu( const css::uno::Reference< css::frame::XFrame >& rFrame );
virtual ~AddonMenu();
- virtual void dispose() override;
protected:
css::uno::Reference< css::frame::XFrame > m_xFrame;
diff --git a/include/sfx2/sidebar/Panel.hxx b/include/sfx2/sidebar/Panel.hxx
index 2cb5e6c..1ea28de 100644
--- a/include/sfx2/sidebar/Panel.hxx
+++ b/include/sfx2/sidebar/Panel.hxx
@@ -56,10 +56,8 @@ public:
bool HasIdPredicate (const OUString& rsId) const;
const OUString& GetId() const { return msPanelId;}
- virtual void Paint (vcl::RenderContext& rRenderContext, const Rectangle& rUpdateArea) override;
virtual void Resize() override;
virtual void DataChanged (const DataChangedEvent& rEvent) override;
- virtual void Activate() override;
virtual void ApplySettings(vcl::RenderContext& rRenderContext) override;
private:
diff --git a/include/sfx2/sidebar/SidebarDockingWindow.hxx b/include/sfx2/sidebar/SidebarDockingWindow.hxx
index 382b48d..e725031 100644
--- a/include/sfx2/sidebar/SidebarDockingWindow.hxx
+++ b/include/sfx2/sidebar/SidebarDockingWindow.hxx
@@ -37,7 +37,7 @@ public:
virtual ~SidebarDockingWindow();
virtual void dispose() override;
- virtual bool Close() override;
+ using SfxDockingWindow::Close;
protected:
// Window overridables
diff --git a/include/sfx2/stbitem.hxx b/include/sfx2/stbitem.hxx
index 8ec6cc1..f4970d8 100644
--- a/include/sfx2/stbitem.hxx
+++ b/include/sfx2/stbitem.hxx
@@ -70,10 +70,10 @@ protected:
virtual void SAL_CALL release() throw() override;
// XEventListener
- virtual void SAL_CALL disposing( const css::lang::EventObject& aEvent ) throw( css::uno::RuntimeException, std::exception ) override;
+ using svt::StatusbarController::disposing;
// XComponent
- virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override;
+ using svt::StatusbarController::dispose;
// XStatusListener
virtual void SAL_CALL statusChanged( const css::frame::FeatureStateEvent& Event )
diff --git a/include/sfx2/styledlg.hxx b/include/sfx2/styledlg.hxx
index 93ae6db..a1c799e 100644
--- a/include/sfx2/styledlg.hxx
+++ b/include/sfx2/styledlg.hxx
@@ -33,8 +33,6 @@ private:
SfxStyleSheetBase* pStyle;
DECL_DLLPRIVATE_LINK_TYPED( CancelHdl, Button *, void );
sal_uInt16 m_nOrganizerId;
-protected:
- virtual void RefreshInputSet() override;
public:
SfxStyleDialog(vcl::Window* pParent, const OUString& rID,
diff --git a/include/sfx2/tbxctrl.hxx b/include/sfx2/tbxctrl.hxx
index 6e66fb7..6c0d322 100644
--- a/include/sfx2/tbxctrl.hxx
+++ b/include/sfx2/tbxctrl.hxx
@@ -173,10 +173,6 @@ protected:
bool hasBigImages() const;
public:
- // XEventListener
- using ::cppu::OPropertySetHelper::disposing;
- virtual void SAL_CALL disposing( const css::lang::EventObject& aEvent ) throw( css::uno::RuntimeException, std::exception ) override;
-
// XComponent
virtual void SAL_CALL dispose() throw (css::uno::RuntimeException, std::exception) override;
diff --git a/include/svtools/brwhead.hxx b/include/svtools/brwhead.hxx
index 08fe07b..3f07347 100644
--- a/include/svtools/brwhead.hxx
+++ b/include/svtools/brwhead.hxx
@@ -35,7 +35,6 @@ public:
virtual void dispose() override;
protected:
virtual void Command( const CommandEvent& rCEvt ) override;
- virtual void Select() override;
virtual void EndDrag() override;
public:
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx
index 497321e..b46c124 100644
--- a/include/svtools/editbrowsebox.hxx
+++ b/include/svtools/editbrowsebox.hxx
@@ -542,7 +542,6 @@ namespace svt
// callbacks for the data window
virtual void ImplStartTracking() override;
- virtual void ImplTracking() override;
virtual void ImplEndTracking() override;
// when changing a row:
diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx
index 686ad59..108c877 100644
--- a/include/svtools/inettbc.hxx
+++ b/include/svtools/inettbc.hxx
@@ -54,7 +54,6 @@ friend class SvtURLBox_Impl;
protected:
virtual bool Notify( NotifyEvent& rNEvt ) override;
virtual void Select() override;
- virtual void Modify() override;
virtual bool PreNotify( NotifyEvent& rNEvt ) override;
public:
diff --git a/include/svtools/popupwindowcontroller.hxx b/include/svtools/popupwindowcontroller.hxx
index 73475c4..0d87f17 100644
--- a/include/svtools/popupwindowcontroller.hxx
+++ b/include/svtools/popupwindowcontroller.hxx
@@ -64,8 +64,6 @@ public:
// XToolbarController
virtual void SAL_CALL execute( sal_Int16 KeyModifier ) throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL click() throw (css::uno::RuntimeException, std::exception) override;
- virtual void SAL_CALL doubleClick() throw (css::uno::RuntimeException, std::exception) override;
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createPopupWindow() throw (css::uno::RuntimeException, std::exception) override;
virtual css::uno::Reference< css::awt::XWindow > SAL_CALL createItemWindow( const css::uno::Reference< css::awt::XWindow >& Parent ) throw (css::uno::RuntimeException, std::exception) override;
private:
diff --git a/include/svtools/svtabbx.hxx b/include/svtools/svtabbx.hxx
index 6a0b866..03b4a2a 100644
--- a/include/svtools/svtabbx.hxx
+++ b/include/svtools/svtabbx.hxx
@@ -104,7 +104,6 @@ public:
sal_uLong GetEntryPos( const OUString&, sal_uInt16 nCol = 0xffff );
sal_uLong GetEntryPos( const SvTreeListEntry* pEntry ) const;
- virtual void Resize() override;
void SetTabJustify( sal_uInt16 nTab, SvTabJustify );
};
diff --git a/include/svtools/wizardmachine.hxx b/include/svtools/wizardmachine.hxx
index 4289d6b..fd41de1 100644
--- a/include/svtools/wizardmachine.hxx
+++ b/include/svtools/wizardmachine.hxx
@@ -104,7 +104,6 @@ namespace svt
*/
OWizardPage(vcl::Window *pParent, const OString& rID, const OUString& rUIXMLDescription);
virtual ~OWizardPage();
- virtual void dispose() override;
// IWizardPageController overridables
virtual void initializePage() override;
diff --git a/include/svx/itemwin.hxx b/include/svx/itemwin.hxx
index 90167d5..d5f96cf 100644
--- a/include/svx/itemwin.hxx
+++ b/include/svx/itemwin.hxx
@@ -75,8 +75,6 @@ class SVX_DLLPUBLIC SvxMetricField : public MetricField
protected:
virtual void Modify() override;
- virtual void Down() override;
- virtual void Up() override; // just to be sure
virtual bool PreNotify( NotifyEvent& rNEvt ) override;
virtual bool Notify( NotifyEvent& rNEvt ) override;
diff --git a/include/svx/linectrl.hxx b/include/svx/linectrl.hxx
index 555ce47..b41d261 100644
--- a/include/svx/linectrl.hxx
+++ b/include/svx/linectrl.hxx
@@ -98,7 +98,6 @@ private:
protected:
virtual void Resizing( Size& rSize ) override;
virtual void Resize() override;
- virtual bool Close() override;
virtual void PopupModeEnd() override;
/** This function is called when the window gets the focus. It grabs
diff --git a/include/svx/svdoashp.hxx b/include/svx/svdoashp.hxx
index 4ff7100..69cd93f 100644
--- a/include/svx/svdoashp.hxx
+++ b/include/svx/svdoashp.hxx
@@ -188,8 +188,6 @@ public:
virtual void SetModel(SdrModel* pNewModel) override;
- virtual void RecalcSnapRect() override;
-
virtual const Rectangle& GetSnapRect() const override;
virtual const Rectangle& GetCurrentBoundRect() const override;
virtual const Rectangle& GetLogicRect() const override;
@@ -217,7 +215,6 @@ public:
virtual bool beginSpecialDrag(SdrDragStat& rDrag) const override;
virtual bool applySpecialDrag(SdrDragStat& rDrag) override;
- virtual bool BegCreate( SdrDragStat& rStat ) override;
virtual bool MovCreate(SdrDragStat& rStat) override; // #i37448#
virtual bool EndCreate(SdrDragStat& rStat, SdrCreateCmd eCmd) override;
@@ -233,7 +230,6 @@ public:
virtual bool IsAutoGrowHeight() const override;
virtual bool IsAutoGrowWidth() const override;
virtual void SetVerticalWriting( bool bVertical ) override;
- virtual bool BegTextEdit( SdrOutliner& rOutl ) override;
virtual void TakeTextEditArea(Size* pPaperMin, Size* pPaperMax, Rectangle* pViewInit, Rectangle* pViewMin) const override;
virtual void EndTextEdit( SdrOutliner& rOutl ) override;
virtual void TakeTextAnchorRect( Rectangle& rAnchorRect ) const override;
diff --git a/include/svx/svdocapt.hxx b/include/svx/svdocapt.hxx
index 24d9e0b..3409399 100644
--- a/include/svx/svdocapt.hxx
+++ b/include/svx/svdocapt.hxx
@@ -121,9 +121,7 @@ public:
virtual void NbcSetAnchorPos(const Point& rPnt) override;
virtual const Point& GetAnchorPos() const override;
- virtual void RecalcSnapRect() override;
virtual const Rectangle& GetSnapRect() const override;
- virtual void NbcSetSnapRect(const Rectangle& rRect) override;
virtual const Rectangle& GetLogicRect() const override;
virtual void NbcSetLogicRect(const Rectangle& rRect) override;
diff --git a/include/svx/svdograf.hxx b/include/svx/svdograf.hxx
index 22085c9..f52ef36 100644
--- a/include/svx/svdograf.hxx
+++ b/include/svx/svdograf.hxx
@@ -179,8 +179,6 @@ public:
virtual void NbcRotate(const Point& rRef, long nAngle, double sn, double cs) override;
virtual void NbcMirror(const Point& rRef1, const Point& rRef2) override;
virtual void NbcShear (const Point& rRef, long nAngle, double tn, bool bVShear) override;
- virtual void NbcSetSnapRect(const Rectangle& rRect) override;
- virtual void NbcSetLogicRect(const Rectangle& rRect) override;
virtual SdrObjGeoData* NewGeoData() const override;
virtual void SaveGeoData(SdrObjGeoData& rGeo) const override;
virtual void RestGeoData(const SdrObjGeoData& rGeo) override;
diff --git a/include/svx/svdotable.hxx b/include/svx/svdotable.hxx
index d81d37d..b39a9c6 100644
--- a/include/svx/svdotable.hxx
+++ b/include/svx/svdotable.hxx
@@ -267,11 +267,6 @@ public:
// with the base geometry and returns TRUE. Otherwise it returns FALSE.
virtual bool TRGetBaseGeometry(basegfx::B2DHomMatrix& rMatrix, basegfx::B2DPolyPolygon& rPolyPolygon) const override;
- // Sets the base geometry of the object using infos contained in the homogen 3x3 matrix.
- // If it's an SdrPathObj it will use the provided geometry information. The Polygon has
- // to use (0,0) as upper left and will be scaled to the given size in the matrix.
- virtual void TRSetBaseGeometry(const basegfx::B2DHomMatrix& rMatrix, const basegfx::B2DPolyPolygon& rPolyPolygon) override;
-
// #103836# iterates over the paragraphs of a given SdrObject and removes all
// hard set character attributes with the which ids contained in the
// given vector
diff --git a/include/svx/svdovirt.hxx b/include/svx/svdovirt.hxx
index 7ee8c6f..64f5caf 100644
--- a/include/svx/svdovirt.hxx
+++ b/include/svx/svdovirt.hxx
@@ -62,7 +62,6 @@ public:
virtual const Rectangle& GetCurrentBoundRect() const override;
virtual const Rectangle& GetLastBoundRect() const override;
virtual void RecalcBoundRect() override;
- virtual void SetChanged() override;
virtual SdrVirtObj* Clone() const override;
SdrVirtObj& operator=(const SdrVirtObj& rObj);
diff --git a/include/test/bootstrapfixture.hxx b/include/test/bootstrapfixture.hxx
index 5e24753..3930f8a 100644
--- a/include/test/bootstrapfixture.hxx
+++ b/include/test/bootstrapfixture.hxx
@@ -53,7 +53,6 @@ public:
virtual ~BootstrapFixture();
virtual void setUp() override;
- virtual void tearDown() override;
static void validate(const OUString& rURL, ValidationFormat);
};
diff --git a/include/test/unoapi_test.hxx b/include/test/unoapi_test.hxx
index d728175..32c2099 100644
--- a/include/test/unoapi_test.hxx
+++ b/include/test/unoapi_test.hxx
@@ -26,7 +26,6 @@ public:
void createFileURL(const OUString& aFileBase, OUString& rFilePath);
virtual void setUp() override;
- virtual void tearDown() override;
protected:
void closeDocument( css::uno::Reference< css::lang::XComponent > const & xDocument );
diff --git a/include/unotools/streamhelper.hxx b/include/unotools/streamhelper.hxx
index 7b6091a..c4c586f 100644
--- a/include/unotools/streamhelper.hxx
+++ b/include/unotools/streamhelper.hxx
@@ -52,10 +52,6 @@ public:
,m_nActPos(0)
,m_nAvailable(_nAvailable){}
-// css::uno::XInterface
- virtual void SAL_CALL acquire() throw () override;
- virtual void SAL_CALL release() throw () override;
-
// css::io::XInputStream
virtual sal_Int32 SAL_CALL readBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nBytesToRead ) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
virtual sal_Int32 SAL_CALL readSomeBytes( css::uno::Sequence< sal_Int8 >& aData, sal_Int32 nMaxBytesToRead ) throw(css::io::NotConnectedException, css::io::BufferSizeExceededException, css::io::IOException, css::uno::RuntimeException, std::exception) override;
diff --git a/include/vcl/ctrl.hxx b/include/vcl/ctrl.hxx
index dede22f..c72a0d3 100644
--- a/include/vcl/ctrl.hxx
+++ b/include/vcl/ctrl.hxx
@@ -126,8 +126,6 @@ public:
virtual void EnableRTL ( bool bEnable = true ) override;
- virtual void GetFocus() override;
- virtual void LoseFocus() override;
virtual bool Notify( NotifyEvent& rNEvt ) override;
virtual void StateChanged( StateChangedType nStateChange ) override;
virtual void Resize() override;
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index 31cceaa..b6a0d28 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -319,9 +319,7 @@ public:
virtual void setPosSizePixel( long nX, long nY,
long nWidth, long nHeight,
PosSizeFlags nFlags = PosSizeFlags::All ) override;
- void SetPosSizePixel( const Point& rNewPos,
- const Size& rNewSize ) override
- { Window::SetPosSizePixel( rNewPos, rNewSize ); }
+ using Window::SetPosSizePixel;
Point GetPosPixel() const override;
Size GetSizePixel() const override;
void SetOutputSizePixel( const Size& rNewSize ) override;
diff --git a/include/vcl/spinfld.hxx b/include/vcl/spinfld.hxx
index f334643..17e0c82 100644
--- a/include/vcl/spinfld.hxx
+++ b/include/vcl/spinfld.hxx
@@ -59,7 +59,6 @@ protected:
explicit SpinField( WindowType nTyp );
virtual bool Notify( NotifyEvent& rNEvt ) override;
- virtual void Command( const CommandEvent& rCEvt ) override;
void EndDropDown();
diff --git a/include/vcl/split.hxx b/include/vcl/split.hxx
index 8557d77..9d92b47 100644
--- a/include/vcl/split.hxx
+++ b/include/vcl/split.hxx
@@ -71,8 +71,6 @@ public:
virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
virtual void Tracking( const TrackingEvent& rTEvt ) override;
- virtual bool Notify( NotifyEvent& rNEvt ) override;
-
virtual void GetFocus() override;
virtual void LoseFocus() override;
virtual void KeyInput( const KeyEvent& rKEvt ) override;
diff --git a/include/vcl/status.hxx b/include/vcl/status.hxx
index e31a694..e8fa7c0 100644
--- a/include/vcl/status.hxx
+++ b/include/vcl/status.hxx
@@ -111,7 +111,6 @@ public:
virtual void MouseButtonDown( const MouseEvent& rMEvt ) override;
virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) override;
- virtual void Move() override;
virtual void Resize() override;
virtual void RequestHelp( const HelpEvent& rHEvt ) override;
virtual void StateChanged( StateChangedType nType ) override;
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index f87e8ef..06df859 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -284,7 +284,6 @@ public:
virtual void LoseFocus() override;
virtual void KeyInput( const KeyEvent& rKEvt ) override;
- virtual bool PrepareToggleFloatingMode() override;
virtual void ToggleFloatingMode() override;
virtual void StartDocking() override;
virtual bool Docking( const Point& rPos, Rectangle& rRect ) override;
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index 923fc77..bab4395 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -784,12 +784,6 @@ protected:
virtual void ClipToPaintRegion( Rectangle& rDstRect ) override;
virtual bool UsePolyPolygonForComplexGradient() override;
- virtual void DrawGradientWallpaper(long nX, long nY, long nWidth, long nHeight,
- const Wallpaper& rWallpaper) override
- {
- OutputDevice::DrawGradientWallpaper(nX, nY, nWidth, nHeight, rWallpaper);
- }
-
virtual void ApplySettings(vcl::RenderContext& rRenderContext);
public:
bool HasMirroredGraphics() const override;
@@ -812,18 +806,9 @@ public:
virtual void KeyUp( const KeyEvent& rKEvt );
virtual void PrePaint(vcl::RenderContext& rRenderContext);
virtual void Paint(vcl::RenderContext& rRenderContext, const Rectangle& rRect);
+ using OutputDevice::Erase;
void Erase(vcl::RenderContext& rRenderContext);
- virtual void Erase() override
- {
- OutputDevice::Erase();
- }
-
- virtual void Erase(const Rectangle& rRect) override
- {
- OutputDevice::Erase(rRect);
- }
-
virtual void Draw( ::OutputDevice* pDev, const Point& rPos, const Size& rSize, DrawFlags nFlags );
virtual void Move();
virtual void Resize();
diff --git a/io/source/stm/streamhelper.hxx b/io/source/stm/streamhelper.hxx
index 064d12bd1..a9edbb1 100644
--- a/io/source/stm/streamhelper.hxx
+++ b/io/source/stm/streamhelper.hxx
@@ -80,8 +80,6 @@ public:
throw( css::io::BufferSizeExceededException );
sal_Int32 getSize() const throw()
{ return MemRingBuffer::getSize(); }
- virtual void shrink() throw() override
- { MemRingBuffer::shrink(); }
};
diff --git a/linguistic/source/convdicxml.cxx b/linguistic/source/convdicxml.cxx
index 747401e..039067a 100644
--- a/linguistic/source/convdicxml.cxx
+++ b/linguistic/source/convdicxml.cxx
@@ -379,12 +379,6 @@ void SAL_CALL ConvDicXMLImport::startDocument()
SvXMLImport::startDocument();
}
-void SAL_CALL ConvDicXMLImport::endDocument()
- throw( xml::sax::SAXException, uno::RuntimeException, std::exception )
-{
- SvXMLImport::endDocument();
-}
-
SvXMLImportContext * ConvDicXMLImport::CreateContext(
sal_uInt16 nPrefix,
const OUString &rLocalName,
diff --git a/linguistic/source/convdicxml.hxx b/linguistic/source/convdicxml.hxx
index f20599a..44dc4e8 100644
--- a/linguistic/source/convdicxml.hxx
+++ b/linguistic/source/convdicxml.hxx
@@ -94,7 +94,6 @@ public:
}
virtual void SAL_CALL startDocument() throw( css::xml::sax::SAXException, css::uno::RuntimeException, std::exception ) override;
- virtual void SAL_CALL endDocument() throw( css::xml::sax::SAXException, css::uno::RuntimeException, std::exception ) override;
virtual SvXMLImportContext * CreateContext(
sal_uInt16 nPrefix, const OUString &rLocalName,
diff --git a/postprocess/CppunitTest_services.mk b/postprocess/CppunitTest_services.mk
index 23df019..daa98d9 100644
--- a/postprocess/CppunitTest_services.mk
+++ b/postprocess/CppunitTest_services.mk
@@ -22,6 +22,7 @@ $(eval $(call gb_CppunitTest_use_libraries,services, \
cppuhelper \
sal \
test \
+ unotest \
vcl \
$(gb_UWINAPI) \
))
diff --git a/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx b/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
index c865e1c..b5af7b7 100644
--- a/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
+++ b/reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx
@@ -89,7 +89,6 @@ ExportDocumentHandler::~ExportDocumentHandler()
}
}
IMPLEMENT_GET_IMPLEMENTATION_ID(ExportDocumentHandler)
-IMPLEMENT_FORWARD_REFCOUNT( ExportDocumentHandler, ExportDocumentHandler_BASE )
OUString SAL_CALL ExportDocumentHandler::getImplementationName( ) throw(uno::RuntimeException, std::exception)
{
diff --git a/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx b/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx
index 27184d8..def0b03 100644
--- a/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx
+++ b/reportdesign/source/filter/xml/xmlExportDocumentHandler.hxx
@@ -57,7 +57,8 @@ private:
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(css::uno::RuntimeException, std::exception) override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override;
- DECLARE_XINTERFACE( )
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override;
+
DECLARE_XTYPEPROVIDER( )
// css::xml::sax::XDocumentHandler:
diff --git a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx
index bb2da0c..f204ecb 100644
--- a/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx
+++ b/reportdesign/source/filter/xml/xmlImportDocumentHandler.cxx
@@ -62,7 +62,6 @@ ImportDocumentHandler::~ImportDocumentHandler()
}
}
IMPLEMENT_GET_IMPLEMENTATION_ID(ImportDocumentHandler)
-IMPLEMENT_FORWARD_REFCOUNT( ImportDocumentHandler, ImportDocumentHandler_BASE )
OUString SAL_CALL ImportDocumentHandler::getImplementationName( ) throw(uno::RuntimeException, std::exception)
{
diff --git a/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx b/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx
index f79ea49..123c3ab 100644
--- a/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx
+++ b/reportdesign/source/filter/xml/xmlImportDocumentHandler.hxx
@@ -55,7 +55,8 @@ private:
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(css::uno::RuntimeException, std::exception) override;
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(css::uno::RuntimeException, std::exception) override;
- DECLARE_XINTERFACE( )
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& aType ) throw (css::uno::RuntimeException, std::exception) override;
+
DECLARE_XTYPEPROVIDER( )
// css::xml::sax::XDocumentHandler:
diff --git a/reportdesign/source/ui/inc/ReportSection.hxx b/reportdesign/source/ui/inc/ReportSection.hxx
index 22f4289..2d2e932 100644
--- a/reportdesign/source/ui/inc/ReportSection.hxx
+++ b/reportdesign/source/ui/inc/ReportSection.hxx
@@ -72,7 +72,6 @@ namespace rptui
virtual void Paint( vcl::RenderContext& rRenderContext, const Rectangle& rRect ) override;
virtual void MouseMove( const MouseEvent& rMEvt ) override;
virtual void Command( const CommandEvent& rCEvt ) override;
- virtual void Resize() override;
// OPropertyChangeListener
virtual void _propertyChanged(const css::beans::PropertyChangeEvent& _rEvent) throw( css::uno::RuntimeException) override;
diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx
index 0430e4b..247545f 100644
--- a/reportdesign/source/ui/report/ReportSection.cxx
+++ b/reportdesign/source/ui/report/ReportSection.cxx
@@ -169,11 +169,6 @@ void OReportSection::Paint( vcl::RenderContext& rRenderContext, const Rectangle&
}
}
-void OReportSection::Resize()
-{
- Window::Resize();
-}
-
void OReportSection::fill()
{
if ( !m_xSection.is() )
diff --git a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
index 164e4a5..e4469fb 100644
--- a/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
+++ b/sal/qa/rtl/doublelock/rtl_doublelocking.cxx
@@ -125,11 +125,6 @@ protected:
public:
- virtual void SAL_CALL suspend() override
- {
- ::osl::Thread::suspend();
- }
-
virtual ~OGetThread()
{
if (isRunning())
diff --git a/sax/CppunitTest_sax_parser.mk b/sax/CppunitTest_sax_parser.mk
index 9c7245c..f94d7b0 100644
--- a/sax/CppunitTest_sax_parser.mk
+++ b/sax/CppunitTest_sax_parser.mk
@@ -17,6 +17,7 @@ $(eval $(call gb_CppunitTest_use_libraries,sax_parser, \
comphelper \
cppu \
cppuhelper \
+ unotest \
expwrap \
sal \
test \
diff --git a/sc/qa/extras/sccondformats.cxx b/sc/qa/extras/sccondformats.cxx
index 135d78c..f8f5871 100644
--- a/sc/qa/extras/sccondformats.cxx
+++ b/sc/qa/extras/sccondformats.cxx
@@ -34,7 +34,6 @@ class ScConditionalFormatTest : public CalcUnoApiTest
public:
ScConditionalFormatTest();
- virtual void setUp() override;
virtual void tearDown() override;
uno::Reference< uno::XInterface > init();
@@ -215,11 +214,6 @@ void ScConditionalFormatTest::testUndoAnchor()
xComponent->dispose();
}
-void ScConditionalFormatTest::setUp()
-{
- CalcUnoApiTest::setUp();
-}
-
void ScConditionalFormatTest::tearDown()
{
if (mxComponent.is())
diff --git a/sc/qa/extras/sctablesheetobj.cxx b/sc/qa/extras/sctablesheetobj.cxx
index ecc5406..e41bb42 100644
--- a/sc/qa/extras/sctablesheetobj.cxx
+++ b/sc/qa/extras/sctablesheetobj.cxx
@@ -26,7 +26,6 @@ class ScTableSheetObj : public CalcUnoApiTest, public apitest::XSearchable, publ
public:
ScTableSheetObj();
- virtual void setUp() override;
virtual void tearDown() override;
virtual uno::Reference< uno::XInterface > init() override;
@@ -68,11 +67,6 @@ uno::Reference< uno::XInterface > ScTableSheetObj::init()
return xSheet;
}
-void ScTableSheetObj::setUp()
-{
- CalcUnoApiTest::setUp();
-}
-
void ScTableSheetObj::tearDown()
{
closeDocument(mxComponent);
diff --git a/sc/source/ui/app/lnktrans.cxx b/sc/source/ui/app/lnktrans.cxx
index 213ec96..62c87f2 100644
--- a/sc/source/ui/app/lnktrans.cxx
+++ b/sc/source/ui/app/lnktrans.cxx
@@ -65,11 +65,6 @@ bool ScLinkTransferObj::GetData(
return bOK;
}
-void ScLinkTransferObj::ObjectReleased()
-{
- TransferableHelper::ObjectReleased();
-}
-
void ScLinkTransferObj::DragFinished( sal_Int8 nDropAction )
{
ScModule* pScMod = SC_MOD();
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx
index 407a3b4..7b72f7b 100644
--- a/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx
+++ b/sc/source/ui/dbgui/PivotLayoutTreeListBase.cxx
@@ -52,11 +52,6 @@ DragDropMode ScPivotLayoutTreeListBase::NotifyStartDrag(TransferDataContainer& /
void ScPivotLayoutTreeListBase::DragFinished(sal_Int8 /*nDropAction*/)
{}
-sal_Int8 ScPivotLayoutTreeListBase::AcceptDrop(const AcceptDropEvent& rEvent)
-{
- return SvTreeListBox::AcceptDrop(rEvent);
-}
-
bool ScPivotLayoutTreeListBase::NotifyAcceptDrop(SvTreeListEntry* /*pEntry*/)
{
return true;
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index d700e16..84b80ac 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -1715,12 +1715,6 @@ bool ScDocShell::SaveAs( SfxMedium& rMedium )
return bRet;
}
-bool ScDocShell::IsInformationLost()
-{
- //FIXME: If we have time build a correct own way how to handle this
- return SfxObjectShell::IsInformationLost();
-}
-
namespace {
// Xcl-like column width measured in characters of standard font.
@@ -2464,11 +2458,6 @@ bool ScDocShell::ConvertTo( SfxMedium &rMed )
return bRet;
}
-bool ScDocShell::SaveCompleted( const uno::Reference < embed::XStorage >& xStor )
-{
- return SfxObjectShell::SaveCompleted( xStor );
-}
-
bool ScDocShell::DoSaveCompleted( SfxMedium * pNewStor, bool bRegisterRecent )
{
bool bRet = SfxObjectShell::DoSaveCompleted( pNewStor, bRegisterRecent );
diff --git a/sc/source/ui/drawfunc/fuconarc.cxx b/sc/source/ui/drawfunc/fuconarc.cxx
index 780af9e..73e5c60 100644
--- a/sc/source/ui/drawfunc/fuconarc.cxx
+++ b/sc/source/ui/drawfunc/fuconarc.cxx
@@ -79,17 +79,6 @@ bool FuConstArc::MouseButtonDown( const MouseEvent& rMEvt )
/*************************************************************************
|*
-|* MouseMove-event
-|*
-\************************************************************************/
-
-bool FuConstArc::MouseMove( const MouseEvent& rMEvt )
-{
- return FuConstruct::MouseMove(rMEvt);
-}
-
-/*************************************************************************
-|*
|* MouseButtonUp-event
|*
\************************************************************************/
@@ -111,20 +100,6 @@ bool FuConstArc::MouseButtonUp( const MouseEvent& rMEvt )
/*************************************************************************
|*
-|* Tastaturereignisse bearbeiten
-|*
-|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert sal_True, andernfalls
-|* FALSE.
-|*
-\************************************************************************/
-
-bool FuConstArc::KeyInput(const KeyEvent& rKEvt)
-{
- return FuConstruct::KeyInput(rKEvt);
-}
-
-/*************************************************************************
-|*
|* Function aktivieren
|*
\************************************************************************/
diff --git a/sc/source/ui/drawfunc/fuconcustomshape.cxx b/sc/source/ui/drawfunc/fuconcustomshape.cxx
index b53cf0f4..db31dfb 100644
--- a/sc/source/ui/drawfunc/fuconcustomshape.cxx
+++ b/sc/source/ui/drawfunc/fuconcustomshape.cxx
@@ -101,17 +101,6 @@ bool FuConstCustomShape::MouseButtonDown(const MouseEvent& rMEvt)
/*************************************************************************
|*
-|* MouseMove-event
-|*
-\************************************************************************/
-
-bool FuConstCustomShape::MouseMove(const MouseEvent& rMEvt)
-{
- return FuConstruct::MouseMove(rMEvt);
-}
-
-/*************************************************************************
-|*
|* MouseButtonUp-event
|*
\************************************************************************/
@@ -133,20 +122,6 @@ bool FuConstCustomShape::MouseButtonUp(const MouseEvent& rMEvt)
/*************************************************************************
|*
-|* Tastaturereignisse bearbeiten
-|*
-|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert sal_True, andernfalls
-|* FALSE.
-|*
-\************************************************************************/
-
-bool FuConstCustomShape::KeyInput(const KeyEvent& rKEvt)
-{
- return FuConstruct::KeyInput(rKEvt);
-}
-
-/*************************************************************************
-|*
|* Function aktivieren
|*
\************************************************************************/
diff --git a/sc/source/ui/drawfunc/fuconpol.cxx b/sc/source/ui/drawfunc/fuconpol.cxx
index 001f7f3..a3b3686 100644
--- a/sc/source/ui/drawfunc/fuconpol.cxx
+++ b/sc/source/ui/drawfunc/fuconpol.cxx
@@ -129,20 +129,6 @@ bool FuConstPolygon::MouseButtonUp(const MouseEvent& rMEvt)
/*************************************************************************
|*
-|* Tastaturereignisse bearbeiten
-|*
-|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert sal_True, andernfalls
-|* FALSE.
-|*
-\************************************************************************/
-
-bool FuConstPolygon::KeyInput(const KeyEvent& rKEvt)
-{
- return FuConstruct::KeyInput(rKEvt);
-}
-
-/*************************************************************************
-|*
|* Function aktivieren
|*
\************************************************************************/
diff --git a/sc/source/ui/drawfunc/fuconrec.cxx b/sc/source/ui/drawfunc/fuconrec.cxx
index c9ff32f..a5b4990 100644
--- a/sc/source/ui/drawfunc/fuconrec.cxx
+++ b/sc/source/ui/drawfunc/fuconrec.cxx
@@ -94,17 +94,6 @@ bool FuConstRectangle::MouseButtonDown(const MouseEvent& rMEvt)
/*************************************************************************
|*
-|* MouseMove-event
-|*
-\************************************************************************/
-
-bool FuConstRectangle::MouseMove(const MouseEvent& rMEvt)
-{
- return FuConstruct::MouseMove(rMEvt);
-}
-
-/*************************************************************************
-|*
|* MouseButtonUp-event
|*
\************************************************************************/
@@ -144,20 +133,6 @@ bool FuConstRectangle::MouseButtonUp(const MouseEvent& rMEvt)
/*************************************************************************
|*
-|* Tastaturereignisse bearbeiten
-|*
-|* Wird ein KeyEvent bearbeitet, so ist der Return-Wert sal_True, andernfalls
-|* FALSE.
-|*
-\************************************************************************/
-
-bool FuConstRectangle::KeyInput(const KeyEvent& rKEvt)
-{
- return FuConstruct::KeyInput(rKEvt);
-}
-
-/*************************************************************************
-|*
|* Function aktivieren
|*
\************************************************************************/
diff --git a/sc/source/ui/drawfunc/fuconstr.cxx b/sc/source/ui/drawfunc/fuconstr.cxx
index 5318084..f8920c2 100644
--- a/sc/source/ui/drawfunc/fuconstr.cxx
+++ b/sc/source/ui/drawfunc/fuconstr.cxx
@@ -341,26 +341,4 @@ bool FuConstruct::KeyInput(const KeyEvent& rKEvt)
return bReturn;
}
-/*************************************************************************
-|*
-|* Function aktivieren
-|*
-\************************************************************************/
-
-void FuConstruct::Activate()
-{
- FuDraw::Activate();
-}
-
-/*************************************************************************
-|*
-|* Function deaktivieren
-|*
-\************************************************************************/
-
-void FuConstruct::Deactivate()
-{
- FuDraw::Deactivate();
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/drawfunc/fuconuno.cxx b/sc/source/ui/drawfunc/fuconuno.cxx
index d6bb3d5..53fe19f 100644
--- a/sc/source/ui/drawfunc/fuconuno.cxx
... etc. - the rest is truncated
More information about the Libreoffice-commits
mailing list