diff --git a/src/support/lyxsum.cpp b/src/support/lyxsum.cpp index 161a964506..b547b4ecbc 100644 --- a/src/support/lyxsum.cpp +++ b/src/support/lyxsum.cpp @@ -136,10 +136,6 @@ unsigned long sum(char const * file) { //LYXERR(Debug::FILES, "lyx::sum() using istream_iterator (slow as a snail)"); - // a directory may be passed here so we need to test it. (bug 3622) - if (file.isDirectory()) - return 0; - ifstream ifs(file, std::ios_base::in | std::ios_base::binary); if (!ifs) return 0;