[Libreoffice-commits] .: sal/inc
Josh Heidenreich
jheidenreich at kemper.freedesktop.org
Mon Mar 12 22:34:52 PDT 2012
sal/inc/osl/file.hxx | 16 ----------------
1 file changed, 16 deletions(-)
New commits:
commit bde32dc95d33943e301bd165955655eb02e1e223
Author: Josh Heidenreich <josh.sickmate at gmail.com>
Date: Tue Mar 13 16:02:18 2012 +1030
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.
diff --git a/sal/inc/osl/file.hxx b/sal/inc/osl/file.hxx
index 2cc43d0..16f7a06 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.
More information about the Libreoffice-commits
mailing list