This should have gone in r33524.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33526 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2010-02-21 13:51:06 +00:00
parent 5d235f5251
commit 220f0f9f5b
2 changed files with 2 additions and 2 deletions

View File

@ -531,7 +531,7 @@ unsigned long FileName::checksum() const
#else // QT_VERSION
string const encoded = toFilesystemEncoding();
string const encoded = toSafeFilesystemEncoding();
char const * file = encoded.c_str();
#ifdef SUM_WITH_MMAP

View File

@ -507,7 +507,7 @@ bool autoOpenFile(string const & filename, auto_open_mode const mode)
string real_path(string const & path)
{
// See http://msdn.microsoft.com/en-us/library/aa366789(VS.85).aspx
QString qpath = get_long_path(toqstr(path));
QString const qpath = get_long_path(toqstr(path));
HANDLE hpath = CreateFileW((wchar_t *) qpath.utf16(), GENERIC_READ,
FILE_SHARE_READ, NULL, OPEN_EXISTING, 0, NULL);