summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-29 11:21:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-30 12:55:56 +0200
commitf657ab7bbb36219f6270236ae0e6b8238b7dd9b5 (patch)
tree304a8c1f4ed88b2f836b49fd0706e09ad483b91b /chart2
parent2340536cf478f95e33b718d3f69da5345fc4d2b4 (diff)
loplugin:virtualdown in various
Change-Id: I4db71fda953ea1d20712ae8033f6fc09b3b2855d Reviewed-on: https://gerrit.libreoffice.org/52068 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/axes/Tickmarks.cxx4
-rw-r--r--chart2/source/view/axes/Tickmarks.hxx10
2 files changed, 4 insertions, 10 deletions
diff --git a/chart2/source/view/axes/Tickmarks.cxx b/chart2/source/view/axes/Tickmarks.cxx
index 05dfe08520d0..6d4b302fcf6b 100644
--- a/chart2/source/view/axes/Tickmarks.cxx
+++ b/chart2/source/view/axes/Tickmarks.cxx
@@ -132,10 +132,6 @@ void TickFactory::getAllTicksShifted( TickInfoArraysType& rAllTickInfos ) const
EquidistantTickFactory( m_rScale, m_rIncrement ).getAllTicksShifted( rAllTickInfos );
}
-void TickFactory::updateScreenValues( TickInfoArraysType& /*rAllTickInfos*/ ) const
-{
-}
-
// ___TickFactory_2D___
TickFactory2D::TickFactory2D(
const ExplicitScaleData& rScale, const ExplicitIncrementData& rIncrement
diff --git a/chart2/source/view/axes/Tickmarks.hxx b/chart2/source/view/axes/Tickmarks.hxx
index dbf51d9762bf..78434e25355a 100644
--- a/chart2/source/view/axes/Tickmarks.hxx
+++ b/chart2/source/view/axes/Tickmarks.hxx
@@ -92,11 +92,6 @@ public:
void getAllTicks( TickInfoArraysType& rAllTickInfos ) const;
void getAllTicksShifted( TickInfoArraysType& rAllTickInfos ) const;
- /**
- * Determine the screen positions of all ticks based on their numeric values.
- */
- virtual void updateScreenValues( TickInfoArraysType& rAllTickInfos ) const;
-
private: //methods
bool isDateAxis() const;
@@ -132,7 +127,10 @@ public:
, bool bIncludeFarAwayDistanceIfSo = false
, bool bIncludeSpaceBetweenTickAndText = true ) const;
- virtual void updateScreenValues( TickInfoArraysType& rAllTickInfos ) const override;
+ /**
+ * Determine the screen positions of all ticks based on their numeric values.
+ */
+ virtual void updateScreenValues( TickInfoArraysType& rAllTickInfos ) const;
bool isHorizontalAxis() const;
bool isVerticalAxis() const;