summaryrefslogtreecommitdiff
path: root/tools/inc/tools/tempfile.hxx
diff options
context:
space:
mode:
authorPhilipp Riemer <ruderphilipp@gmail.com>2012-08-13 23:42:18 +0200
committerPhilipp Riemer <ruderphilipp@gmail.com>2012-08-13 23:52:41 +0200
commitd170a36bbfc41d6a7d12a7ad242efe89b5f7e306 (patch)
tree41bd202bad8d311e6a38813823d3e82c0d8d78ca /tools/inc/tools/tempfile.hxx
parent70fc650319f8cfc0b3230ad2dea584eb1368a238 (diff)
re-indent LOC to match coding styles (in tools/inc/)
This is a follow-up patch of c8b7aa55138848fe07108779099267424bc03e3d. Change-Id: I368c1e119225bbee2adf71cbde0ebc41120c4b15
Diffstat (limited to 'tools/inc/tools/tempfile.hxx')
-rw-r--r--tools/inc/tools/tempfile.hxx16
1 files changed, 7 insertions, 9 deletions
diff --git a/tools/inc/tools/tempfile.hxx b/tools/inc/tools/tempfile.hxx
index 376de44c29c2..9e84adc96a51 100644
--- a/tools/inc/tools/tempfile.hxx
+++ b/tools/inc/tools/tempfile.hxx
@@ -31,7 +31,7 @@ class TOOLS_DLLPUBLIC TempFile
public:
/** Create a temporary file or directory in a given folder or the default
tempfile folder. */
- TempFile( const String* pParent=NULL, sal_Bool bDirectory=sal_False );
+ TempFile( const String* pParent=NULL, sal_Bool bDirectory=sal_False );
/** Create a temporary file or directory in a given folder or the default
tempfile folder; its name starts with some given characters followed by
@@ -41,24 +41,22 @@ public:
The extension string may be f.e. ".txt" or "", if no extension string is
given, ".tmp" is used.
*/
- TempFile( const String& rLeadingChars, const String* pExtension=NULL, const String* pParent=NULL, sal_Bool bDirectory=sal_False );
+ TempFile( const String& rLeadingChars, const String* pExtension=NULL, const String* pParent=NULL, sal_Bool bDirectory=sal_False );
/** TempFile will be removed from disk in dtor if EnableKillingTempFile was
called before. TempDirs will be removed recursively in that case. */
- ~TempFile();
+ ~TempFile();
- sal_Bool IsValid() const;
+ sal_Bool IsValid() const;
/** Returns the real name of the tempfile in file URL scheme. */
- String GetName() const;
+ String GetName() const;
/** If enabled the file will be removed from disk when the dtor is called
(default is not enabled) */
- void EnableKillingFile( sal_Bool bEnable=sal_True )
- { bKillingFileEnabled = bEnable; }
+ void EnableKillingFile( sal_Bool bEnable=sal_True ) { bKillingFileEnabled = bEnable; }
- sal_Bool IsKillingFileEnabled() const
- { return bKillingFileEnabled; }
+ sal_Bool IsKillingFileEnabled() const { return bKillingFileEnabled; }
/** Only create a name for a temporary file that would be valid at that moment. */
static String CreateTempName( const String* pParent=NULL );