summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-24 08:54:36 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-24 08:54:36 +0200
commitc0ec592ca65e844132be24b20a0c9daffe5f3a6d (patch)
treeab261388232163f289b4468f844d69f4a1abfd5e
parent11e72223f2a4ac424309bef34268b6ff5821cda8 (diff)
Define functions as deleted
Change-Id: I8227c439a9d74283d108514cdd349b9e534342f7
-rw-r--r--include/vcl/button.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index a020bd6769e8..1bd740c2c2f7 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -133,9 +133,9 @@ protected:
SAL_DLLPRIVATE bool IsSymbol() const { return ( (meSymbol != SymbolType::DONTKNOW) && (meSymbol != SymbolType::IMAGE) ); }
SAL_DLLPRIVATE bool IsImage() const { return Button::HasImage(); }
- // Copy assignment is forbidden and not implemented.
- SAL_DLLPRIVATE PushButton( const PushButton & );
- SAL_DLLPRIVATE PushButton& operator=( const PushButton & );
+ PushButton( const PushButton & ) = delete;
+ PushButton& operator=( const PushButton & )
+ = delete;
SAL_DLLPRIVATE void ImplInit( vcl::Window* pParent, WinBits nStyle );