diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:12:07 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-02-07 12:35:57 +0100 |
commit | d8ade650a7fb3cb5919234226622ca1972f03dc6 (patch) | |
tree | 641858c436098ab43af68b0d80b993b6ce1027f1 /cui | |
parent | edbb1b6be7ea0121d52b22ece5e16b8ef252d724 (diff) |
loplugin:deletedspecial
Change-Id: I80e009f4fc4fcef9df20619ca97783ed1f2e7e6f
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/eventdlg.hxx | 5 | ||||
-rw-r--r-- | cui/source/inc/cuisrchdlg.hxx | 5 | ||||
-rw-r--r-- | cui/source/inc/passwdomdlg.hxx | 5 | ||||
-rw-r--r-- | cui/source/inc/thesdlg.hxx | 16 |
4 files changed, 12 insertions, 19 deletions
diff --git a/cui/source/customize/eventdlg.hxx b/cui/source/customize/eventdlg.hxx index b6b6c61fdcb2..06d5433fa67b 100644 --- a/cui/source/customize/eventdlg.hxx +++ b/cui/source/customize/eventdlg.hxx @@ -39,9 +39,8 @@ class SvxEventConfigPage : public _SvxMacroTabPage DECL_LINK( SelectHdl_Impl, ListBox* ); - // Forbidden and not implemented. - SvxEventConfigPage (const SvxEventConfigPage &); - SvxEventConfigPage & operator= (const SvxEventConfigPage &); + SvxEventConfigPage (const SvxEventConfigPage &) SAL_DELETED_FUNCTION; + SvxEventConfigPage & operator= (const SvxEventConfigPage &) SAL_DELETED_FUNCTION; public: diff --git a/cui/source/inc/cuisrchdlg.hxx b/cui/source/inc/cuisrchdlg.hxx index 10b3b5bccd11..3dc19f0a1c97 100644 --- a/cui/source/inc/cuisrchdlg.hxx +++ b/cui/source/inc/cuisrchdlg.hxx @@ -39,9 +39,8 @@ class SvxJSearchOptionsDialog : public SfxSingleTabDialog sal_Int32 nInitialTlFlags; SvxJSearchOptionsPage *pPage; - // disallow copy-constructor and assignment-operator for now - SvxJSearchOptionsDialog( const SvxJSearchOptionsDialog & ); - SvxJSearchOptionsDialog & operator == ( const SvxJSearchOptionsDialog & ); + SvxJSearchOptionsDialog( const SvxJSearchOptionsDialog & ) SAL_DELETED_FUNCTION; + SvxJSearchOptionsDialog & operator == ( const SvxJSearchOptionsDialog & ) SAL_DELETED_FUNCTION; public: SvxJSearchOptionsDialog(vcl::Window *pParent, diff --git a/cui/source/inc/passwdomdlg.hxx b/cui/source/inc/passwdomdlg.hxx index 5a81d8b9c06b..9dd7aca1e11b 100644 --- a/cui/source/inc/passwdomdlg.hxx +++ b/cui/source/inc/passwdomdlg.hxx @@ -32,9 +32,8 @@ class PasswordToOpenModifyDialog : public SfxModalDialog { std::unique_ptr< PasswordToOpenModifyDialog_Impl > m_pImpl; - // disallow use of copy c-tor and assignment operator - PasswordToOpenModifyDialog( const PasswordToOpenModifyDialog & ); - PasswordToOpenModifyDialog & operator = ( const PasswordToOpenModifyDialog & ); + PasswordToOpenModifyDialog( const PasswordToOpenModifyDialog & ) SAL_DELETED_FUNCTION; + PasswordToOpenModifyDialog & operator = ( const PasswordToOpenModifyDialog & ) SAL_DELETED_FUNCTION; public: PasswordToOpenModifyDialog( vcl::Window * pParent, sal_uInt16 nMinPasswdLen, diff --git a/cui/source/inc/thesdlg.hxx b/cui/source/inc/thesdlg.hxx index 729fb8ff87c0..2e93d00646c9 100644 --- a/cui/source/inc/thesdlg.hxx +++ b/cui/source/inc/thesdlg.hxx @@ -34,12 +34,10 @@ class SvxThesaurusDialog; class LookUpComboBox : public ComboBox { Idle m_aModifyIdle; - Selection m_aSelection; SvxThesaurusDialog* m_pDialog; - /// disable copy ctor and assignment operator - LookUpComboBox( const LookUpComboBox & ); - LookUpComboBox& operator = ( const LookUpComboBox & ); + LookUpComboBox( const LookUpComboBox & ) SAL_DELETED_FUNCTION; + LookUpComboBox& operator = ( const LookUpComboBox & ) SAL_DELETED_FUNCTION; public: LookUpComboBox(vcl::Window *pParent); @@ -78,9 +76,8 @@ class ThesaurusAlternativesCtrl typedef std::map< const SvTreeListEntry *, AlternativesExtraData > UserDataMap_t; UserDataMap_t m_aUserData; - /// disable copy ctor and assignment operator - ThesaurusAlternativesCtrl( const ThesaurusAlternativesCtrl & ); - ThesaurusAlternativesCtrl & operator = ( const ThesaurusAlternativesCtrl & ); + ThesaurusAlternativesCtrl( const ThesaurusAlternativesCtrl & ) SAL_DELETED_FUNCTION; + ThesaurusAlternativesCtrl & operator = ( const ThesaurusAlternativesCtrl & ) SAL_DELETED_FUNCTION; public: ThesaurusAlternativesCtrl(vcl::Window* pParent); @@ -103,9 +100,8 @@ class ReplaceEdit : public Edit { Button * m_pBtn; - /// disable copy ctor and assignment operator - ReplaceEdit( const ReplaceEdit & ); - ReplaceEdit & operator = ( const ReplaceEdit & ); + ReplaceEdit( const ReplaceEdit & ) SAL_DELETED_FUNCTION; + ReplaceEdit & operator = ( const ReplaceEdit & ) SAL_DELETED_FUNCTION; public: ReplaceEdit(vcl::Window *pParent); |