summaryrefslogtreecommitdiff
path: root/include/vcl/dialog.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/dialog.hxx')
-rw-r--r--include/vcl/dialog.hxx15
1 files changed, 6 insertions, 9 deletions
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx
index 11b862541bfa..0b00ebeccdda 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/dialog.hxx
@@ -53,9 +53,8 @@ private:
SAL_DLLPRIVATE void ImplInitDialogData();
SAL_DLLPRIVATE void ImplInitSettings();
- // Copy assignment is forbidden and not implemented.
- SAL_DLLPRIVATE Dialog (const Dialog &);
- SAL_DLLPRIVATE Dialog & operator= (const Dialog &);
+ SAL_DLLPRIVATE Dialog (const Dialog &) SAL_DELETED_FUNCTION;
+ SAL_DLLPRIVATE Dialog & operator= (const Dialog &) SAL_DELETED_FUNCTION;
DECL_DLLPRIVATE_LINK( ImplAsyncCloseHdl, void* );
@@ -126,9 +125,8 @@ public:
// - ModelessDialog -
class VCL_DLLPUBLIC ModelessDialog : public Dialog
{
- // Copy assignment is forbidden and not implemented.
- SAL_DLLPRIVATE ModelessDialog (const ModelessDialog &);
- SAL_DLLPRIVATE ModelessDialog & operator= (const ModelessDialog &);
+ ModelessDialog (const ModelessDialog &) SAL_DELETED_FUNCTION;
+ ModelessDialog & operator= (const ModelessDialog &) SAL_DELETED_FUNCTION;
public:
explicit ModelessDialog( vcl::Window* pParent, const OUString& rID, const OUString& rUIXMLDescription );
@@ -149,9 +147,8 @@ protected:
private:
- // Copy assignment is forbidden and not implemented.
- SAL_DLLPRIVATE ModalDialog (const ModalDialog &);
- SAL_DLLPRIVATE ModalDialog & operator= (const ModalDialog &);
+ SAL_DLLPRIVATE ModalDialog (const ModalDialog &) SAL_DELETED_FUNCTION;
+ SAL_DLLPRIVATE ModalDialog & operator= (const ModalDialog &) SAL_DELETED_FUNCTION;
};
#endif // INCLUDED_VCL_DIALOG_HXX