summaryrefslogtreecommitdiffstats
path: root/include/unotools/tempfile.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-07 12:33:27 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-07 12:36:04 +0100
commit5516df0aee8139bdc3ccba6f3f16c084d8ad85ee (patch)
tree96908e465c7de975a9f0b059540efbf0caa16362 /include/unotools/tempfile.hxx
parentloplugin:deletedspecial (diff)
downloadcore-5516df0aee8139bdc3ccba6f3f16c084d8ad85ee.tar.gz
core-5516df0aee8139bdc3ccba6f3f16c084d8ad85ee.zip
loplugin:deletedspecial
Change-Id: I53a088b74b95230aa3842bcac0bb1fd09e39cc12
Diffstat (limited to 'include/unotools/tempfile.hxx')
-rw-r--r--include/unotools/tempfile.hxx7
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:
/**