summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Heidenreich <josh.sickmate@gmail.com>2012-03-13 16:02:18 +1030
committerJosh Heidenreich <josh.sickmate@gmail.com>2012-03-13 16:03:32 +1030
commitbde32dc95d33943e301bd165955655eb02e1e223 (patch)
tree90df5c1134b0a11a637a79e2f2a097ef1b6c7f6a
parent32b3e93e04df2b09cb3bdeda8bea32a51bbf1b09 (diff)
Removed FileStatus::isFile. Use ::isRegular instead.
See: https://bugs.freedesktop.org/show_bug.cgi?id=44982#c6 https://bugs.freedesktop.org/show_bug.cgi?id=44982#c7 for why.
-rw-r--r--sal/inc/osl/file.hxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/sal/inc/osl/file.hxx b/sal/inc/osl/file.hxx
index 2cc43d03531d..16f7a06fe1ea 100644
--- a/sal/inc/osl/file.hxx
+++ b/sal/inc/osl/file.hxx
@@ -733,22 +733,6 @@ public:
return static_cast< Type >(_aStatus.eType);
}
- /** Is it a file?
- This method returns True for both regular files, and links.
-
- @return
- True if it's a file, False otherwise.
-
- @see getFileType
- @see isRegular
- @see isLink
- @since LibreOffice 3.6
- */
- inline sal_Bool isFile() const
- {
- return ( getFileType() == Regular || getFileType() == Link );
- }
-
/** Is it a directory?
This method returns True for both directories, and volumes.