summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-15 11:35:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-15 11:35:38 +0200
commit3385b0da3d6ffec25538692d3c49b2e1924dddae (patch)
tree49ac13f0d243cacb2b717f86f5a548c179974871 /include
parent22aa9fce300f9953dc43fc75f8ced4caab5c3f83 (diff)
Minor utl::TempFile clean up
Change-Id: I20de8b2321d2656d17d25c6343d72c534d47e597
Diffstat (limited to 'include')
-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 67f03fbace0a..0af9aa5a614a 100644
--- a/include/unotools/tempfile.hxx
+++ b/include/unotools/tempfile.hxx
@@ -74,7 +74,7 @@ public:
TempFile( const OUString& rLeadingChars, bool _bStartWithZero=true, const OUString* pExtension=NULL, const OUString* pParent=NULL, bool bDirectory=false);
/**
- TempFile will be removed from disk in dtor if EnableKillingTempFile was called before.
+ TempFile will be removed from disk in dtor if EnableKillingFile(true) was called before.
Temporary directories will be removed recursively in that case.
*/
~TempFile();
@@ -105,7 +105,7 @@ public:
/**
Returns a stream to the tempfiles data; the stream is owned by the tempfile object, so you have to keep this
alive as long as you want to use the stream. If the TempFile object is destroyed, it also destroys the
- stream object, the underlying file is only deleted if EnableKillingFile( sal_True ) has been called before!
+ stream object, the underlying file is only deleted if EnableKillingFile(true) has been called before!
*/
SvStream* GetStream( StreamMode eMode );
@@ -120,9 +120,6 @@ public:
void EnableKillingFile( bool bEnable=true )
{ bKillingFileEnabled = bEnable; }
- bool IsKillingFileEnabled() const
- { return bKillingFileEnabled; }
-
/**
Only create a "physical" file name for a temporary file that would be valid at that moment.
Should only be used for 3rd party code with a file name interface that wants to create the file by itself.