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/source/controller/inc/dlg_CreationWizard.hxx | |
parent | tdf#99140 DOCX import: fix table horizontal aligment to be 'from left' ... (diff) | |
download | core-25934decf8bfd94506bccd48ac66be9d7eb4dce2.tar.gz core-25934decf8bfd94506bccd48ac66be9d7eb4dce2.zip |
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/source/controller/inc/dlg_CreationWizard.hxx')
-rw-r--r-- | chart2/source/controller/inc/dlg_CreationWizard.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/controller/inc/dlg_CreationWizard.hxx b/chart2/source/controller/inc/dlg_CreationWizard.hxx index 7e7255c4cadc..18b2904b91e2 100644 --- a/chart2/source/controller/inc/dlg_CreationWizard.hxx +++ b/chart2/source/controller/inc/dlg_CreationWizard.hxx @@ -28,7 +28,6 @@ #include <svtools/roadmapwizard.hxx> #include <com/sun/star/uno/XComponentContext.hpp> -#include <boost/noncopyable.hpp> #include <memory> namespace chart @@ -44,7 +43,11 @@ public: CreationWizard( vcl::Window* pParent, const css::uno::Reference< css::frame::XModel >& xChartModel , const css::uno::Reference< css::uno::XComponentContext >& xContext - , sal_Int32 nOnePageOnlyIndex=-1 );//if nOnePageOnlyIndex is an index of an exsisting page starting with 0, then only this page is displayed without next/previous and roadmap + // if nOnePageOnlyIndex is an index of an exsisting page starting with 0 + // then only this page is displayed without next/previous and roadmap + , sal_Int32 nOnePageOnlyIndex=-1 ); + + CreationWizard() = delete; bool isClosable() { /*@todo*/ return m_bIsClosable;} @@ -60,9 +63,6 @@ protected: virtual OUString getStateDisplayName( WizardState nState ) const override; private: - //no default constructor - CreationWizard(); - virtual VclPtr<TabPage> createPage(WizardState nState) override; css::uno::Reference< css::chart2::XChartDocument > m_xChartModel; |