diff options
Diffstat (limited to 'include/unotools/tempfile.hxx')
-rw-r--r-- | include/unotools/tempfile.hxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/include/unotools/tempfile.hxx b/include/unotools/tempfile.hxx index 0af9aa5a614a..51d901ac77a7 100644 --- a/include/unotools/tempfile.hxx +++ b/include/unotools/tempfile.hxx @@ -50,11 +50,8 @@ class UNOTOOLS_DLLPUBLIC TempFile bool bIsDirectory; bool bKillingFileEnabled; - // prevent copy c'tor - TempFile( const TempFile& ); - TempFile& operator=(const TempFile&); - -protected: + TempFile( const TempFile& ) SAL_DELETED_FUNCTION; + TempFile& operator=(const TempFile&) SAL_DELETED_FUNCTION; public: /** |