sal/inc/osl/file.hxx | 16 ---------------- 1 file changed, 16 deletions(-)
New commits: commit bde32dc95d33943e301bd165955655eb02e1e223 Author: Josh Heidenreich <josh.sickm...@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. _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits