summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-10-05 12:06:47 +0200
committerNoel Grandin <noel@peralex.com>2016-10-05 12:06:47 +0200
commit7618302b9c15580c1e00af042c586837f6f0bb0f (patch)
tree0df2f3617c4287f786ee042c57c34cd5906de243 /starmath
parent315c06d79256ddcc50c4817a2c93c161a01c9f8d (diff)
loplugin:unnecessaryoverride in sd/starmath
Change-Id: I5a9d776af761fcaed7a6961e151feb38fc6353ed
Diffstat (limited to 'starmath')
-rw-r--r--starmath/inc/dialog.hxx5
-rw-r--r--starmath/source/dialog.cxx5
-rw-r--r--starmath/source/uiobject.cxx6
-rw-r--r--starmath/source/uiobject.hxx3
4 files changed, 1 insertions, 18 deletions
diff --git a/starmath/inc/dialog.hxx b/starmath/inc/dialog.hxx
index f5a5621980dc..047f1157515f 100644
--- a/starmath/inc/dialog.hxx
+++ b/starmath/inc/dialog.hxx
@@ -238,10 +238,7 @@ public:
virtual void dispose() override;
void ReadFrom(const SmFormat &rFormat);
- void WriteTo (SmFormat &rFormat) /*const*/;
-
- // Window
- virtual void DataChanged( const DataChangedEvent &rEvt ) override;
+ void WriteTo (SmFormat &rFormat);
};
diff --git a/starmath/source/dialog.cxx b/starmath/source/dialog.cxx
index a1a15aefa285..7421c1e3e5c5 100644
--- a/starmath/source/dialog.cxx
+++ b/starmath/source/dialog.cxx
@@ -941,11 +941,6 @@ void SmDistanceDialog::dispose()
ModalDialog::dispose();
}
-void SmDistanceDialog::DataChanged( const DataChangedEvent &rEvt )
-{
- ModalDialog::DataChanged( rEvt );
-}
-
void SmDistanceDialog::ReadFrom(const SmFormat &rFormat)
{
Categories[0]->SetValue(0, rFormat.GetDistance(DIS_HORIZONTAL));
diff --git a/starmath/source/uiobject.cxx b/starmath/source/uiobject.cxx
index 63509756ef61..0ed9468c00d7 100644
--- a/starmath/source/uiobject.cxx
+++ b/starmath/source/uiobject.cxx
@@ -70,12 +70,6 @@ StringMap ElementSelectorUIObject::get_state()
return aMap;
}
-void ElementSelectorUIObject::execute(const OUString& rAction,
- const StringMap& rParameters)
-{
- WindowUIObject::execute(rAction, rParameters);
-}
-
std::unique_ptr<UIObject> ElementSelectorUIObject::get_child(const OUString& rID)
{
size_t nID = rID.toInt32();
diff --git a/starmath/source/uiobject.hxx b/starmath/source/uiobject.hxx
index 4ad22491d48c..e2c6828bada3 100644
--- a/starmath/source/uiobject.hxx
+++ b/starmath/source/uiobject.hxx
@@ -46,9 +46,6 @@ public:
virtual StringMap get_state() override;
- virtual void execute(const OUString& rAction,
- const StringMap& rParameters) override;
-
static std::unique_ptr<UIObject> create(vcl::Window* pWindow);
virtual std::unique_ptr<UIObject> get_child(const OUString& rID) override;