summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-14 11:14:39 +0100
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-12-14 11:15:41 +0100
commit007bf2b8c04090920b54e914ac75fc13720b450c (patch)
treedc090a521f5c89c277581e38f05efebcbd17a883 /include
parentaf7b4eca3db99a63202df285a7df7402e523ff54 (diff)
utl::TempFile should not be copied
Change-Id: I35d0c96d52b490ef70a0238e715d874f0ecd1012
Diffstat (limited to 'include')
-rw-r--r--include/unotools/tempfile.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/unotools/tempfile.hxx b/include/unotools/tempfile.hxx
index 85eda3dc75bd..26c0581c73ff 100644
--- a/include/unotools/tempfile.hxx
+++ b/include/unotools/tempfile.hxx
@@ -49,6 +49,10 @@ class UNOTOOLS_DLLPUBLIC TempFile
TempFile_Impl* pImp;
bool bKillingFileEnabled;
+ // prevent copy c'tor
+ TempFile( const TempFile& );
+ TempFile& operator=(const TempFile&);
+
protected:
public: