diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-09 10:09:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-09 10:10:13 +0200 |
commit | 184a00b96235f6432294ded63ce4a4a318effdb5 (patch) | |
tree | e4ae0e00cb168fa43d280cfb51a50515258b5320 /chart2/source/model | |
parent | 534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff) |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
Diffstat (limited to 'chart2/source/model')
-rw-r--r-- | chart2/source/model/main/ChartModel.cxx | 8 | ||||
-rw-r--r-- | chart2/source/model/template/StockDataInterpreter.cxx | 4 | ||||
-rw-r--r-- | chart2/source/model/template/StockDataInterpreter.hxx | 2 |
3 files changed, 1 insertions, 13 deletions
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx index e4b671892ce6..8da9ed76c9df 100644 --- a/chart2/source/model/main/ChartModel.cxx +++ b/chart2/source/model/main/ChartModel.cxx @@ -1357,10 +1357,6 @@ OUString SAL_CALL ChartModel::dump() return OUString(); } -bool ChartModel::isTimeBased() const -{ - return mbTimeBased; -} void ChartModel::setTimeBased(bool bTimeBased) { @@ -1433,10 +1429,6 @@ void ChartModel::update() mpChartView->update(); } -OpenGLWindow* ChartModel::getOpenGLWindow() -{ - return mpOpenGLWindow; -} } // namespace chart diff --git a/chart2/source/model/template/StockDataInterpreter.cxx b/chart2/source/model/template/StockDataInterpreter.cxx index a425a8583f19..a4adb844ec96 100644 --- a/chart2/source/model/template/StockDataInterpreter.cxx +++ b/chart2/source/model/template/StockDataInterpreter.cxx @@ -52,10 +52,6 @@ StockDataInterpreter::StockDataInterpreter( StockDataInterpreter::~StockDataInterpreter() {} -StockChartTypeTemplate::StockVariant StockDataInterpreter::GetStockVariant() const -{ - return m_eStockVariant; -} // ____ XDataInterpreter ____ InterpretedData SAL_CALL StockDataInterpreter::interpretDataSource( diff --git a/chart2/source/model/template/StockDataInterpreter.hxx b/chart2/source/model/template/StockDataInterpreter.hxx index 472b49e3841d..6190e08915e2 100644 --- a/chart2/source/model/template/StockDataInterpreter.hxx +++ b/chart2/source/model/template/StockDataInterpreter.hxx @@ -52,7 +52,7 @@ protected: private: StockChartTypeTemplate::StockVariant m_eStockVariant; - StockChartTypeTemplate::StockVariant GetStockVariant() const; + StockChartTypeTemplate::StockVariant GetStockVariant() const { return m_eStockVariant;} }; } // namespace chart |