mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
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:
parent
5d235f5251
commit
220f0f9f5b
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user