diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-24 18:59:09 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-24 21:27:04 +0000 |
commit | 59dc694c9f858f0c892818ba6370665b352de6a8 (patch) | |
tree | d1a0e88b9fbbcdb35a218b39f93808c531522ccd /chart2/inc | |
parent | 3a6e3d7811ceff077d4dd3f5f77b7e88cb223e00 (diff) |
C++11: disable ctors instead of not implementing them (chart2)
replace the old declare and don't implement pattern
with C++11 delete keyword
Change-Id: I10b14cece4ecaddc5f96ee098b5fa36a8782a0fc
Reviewed-on: https://gerrit.libreoffice.org/24340
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'chart2/inc')
-rw-r--r-- | chart2/inc/ChartView.hxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chart2/inc/ChartView.hxx b/chart2/inc/ChartView.hxx index 013335bffbf7..12421dcdd16b 100644 --- a/chart2/inc/ChartView.hxx +++ b/chart2/inc/ChartView.hxx @@ -107,6 +107,7 @@ private: void init(); public: + ChartView() = delete; ChartView(css::uno::Reference< css::uno::XComponentContext > const & xContext, ChartModel& rModel); @@ -209,8 +210,6 @@ public: void updateOpenGLWindow(); private: //methods - ChartView(); - void createShapes(); void createShapes2D( const css::awt::Size& rPageSize ); bool createAxisTitleShapes2D( CreateShapeParam2D& rParam, const css::awt::Size& rPageSize ); |