summaryrefslogtreecommitdiff
path: root/include/unotools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-05-14 13:38:23 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-05-14 13:38:23 +0200
commitc8695c6cce4aaa07ab2d615783d74037abb241b5 (patch)
treea611b43279dd7b70815becec34edd9c70fb2692f /include/unotools
parent8db493240a2caced1ab72a9e0fc87d39a6d3f12d (diff)
Unify utl::TempFile ctors
Change-Id: I0a781a86804808cebf7756506d9299971c13e2ff
Diffstat (limited to 'include/unotools')
-rw-r--r--include/unotools/tempfile.hxx10
1 files changed, 1 insertions, 9 deletions
diff --git a/include/unotools/tempfile.hxx b/include/unotools/tempfile.hxx
index 3299e581b016..67f03fbace0a 100644
--- a/include/unotools/tempfile.hxx
+++ b/include/unotools/tempfile.hxx
@@ -69,17 +69,9 @@ public:
Same as above; additionally the name starts with some given characters followed by a counter ( example:
rLeadingChars="abc" means "abc0","abc1" and so on, depending on existing files in the folder ).
The extension string may be f.e. ".txt" or "", if no extension string is given, ".tmp" is used
- */
- TempFile( const OUString& rLeadingChars, const OUString* pExtension=NULL, const OUString* pParent=NULL,
- bool bDirectory=false);
-
- /**
- Same as above; additionally the name starts with some given characters followed by a counter ( example:
- rLeadingChars="abc" means "abc0","abc1" and so on, depending on existing files in the folder ).
- The extension string may be f.e. ".txt" or "", if no extension string is given, ".tmp" is used
@param _bStartWithZero If set to false names will be generated like "abc","abc0","abc1"
*/
- TempFile( const OUString& rLeadingChars, bool _bStartWithZero, const OUString* pExtension=NULL, const OUString* pParent=NULL, bool bDirectory=false);
+ 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.