diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-04-07 20:24:27 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2016-04-08 17:40:14 +0000 |
commit | 25934decf8bfd94506bccd48ac66be9d7eb4dce2 (patch) | |
tree | faf19bc190d008d51ed9825be8a95f9b5dfb8632 /chart2/inc/ChartModel.hxx | |
parent | fd61dee6457a44687f1142dd55bfee6b64fda2ef (diff) |
tdf#94306 replace boost::noncopyable in chart2
Replace with C++11 delete copy-constructur
and copy-assignment.
Delete default-constructors when comments suggested it.
Change-Id: Ieeaf6ca998a4165d6eacf5e900c6a09aafdcfbe6
Reviewed-on: https://gerrit.libreoffice.org/23903
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'chart2/inc/ChartModel.hxx')
-rw-r--r-- | chart2/inc/ChartModel.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/inc/ChartModel.hxx b/chart2/inc/ChartModel.hxx index 215c0f04abd1..e3f9997a0535 100644 --- a/chart2/inc/ChartModel.hxx +++ b/chart2/inc/ChartModel.hxx @@ -213,7 +213,7 @@ private: void insertDefaultChart(); public: - //no default constructor + ChartModel() = delete; ChartModel(css::uno::Reference< css::uno::XComponentContext > const & xContext); explicit ChartModel( const ChartModel & rOther ); virtual ~ChartModel(); |