diff options
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/aqua/SalAquaFilePicker.hxx | 5 | ||||
-rw-r--r-- | fpicker/source/aqua/SalAquaFolderPicker.hxx | 5 |
2 files changed, 4 insertions, 6 deletions
diff --git a/fpicker/source/aqua/SalAquaFilePicker.hxx b/fpicker/source/aqua/SalAquaFilePicker.hxx index d0f2a542d23e..2f0d39d6f2d7 100644 --- a/fpicker/source/aqua/SalAquaFilePicker.hxx +++ b/fpicker/source/aqua/SalAquaFilePicker.hxx @@ -192,9 +192,8 @@ public: } private: - // prevent copy and assignment - SalAquaFilePicker( const SalAquaFilePicker& ); - SalAquaFilePicker& operator=( const SalAquaFilePicker& ); + SalAquaFilePicker( const SalAquaFilePicker& ) SAL_DELETED_FUNCTION; + SalAquaFilePicker& operator=( const SalAquaFilePicker& ) SAL_DELETED_FUNCTION; virtual void ensureFilterHelper(); diff --git a/fpicker/source/aqua/SalAquaFolderPicker.hxx b/fpicker/source/aqua/SalAquaFolderPicker.hxx index 313acb79dc34..e8f95d740d43 100644 --- a/fpicker/source/aqua/SalAquaFolderPicker.hxx +++ b/fpicker/source/aqua/SalAquaFolderPicker.hxx @@ -101,9 +101,8 @@ public: throw(::com::sun::star::uno::RuntimeException) SAL_OVERRIDE; private: - // prevent copy and assignment - SalAquaFolderPicker( const SalAquaFolderPicker& ); - SalAquaFolderPicker& operator=( const SalAquaFolderPicker& ); + SalAquaFolderPicker( const SalAquaFolderPicker& ) SAL_DELETED_FUNCTION; + SalAquaFolderPicker& operator=( const SalAquaFolderPicker& ) SAL_DELETED_FUNCTION; // to instantiate own services ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xServiceMgr; |