diff options
author | Dirk Voelzke <dv@openoffice.org> | 2010-08-13 15:25:54 +0200 |
---|---|---|
committer | Dirk Voelzke <dv@openoffice.org> | 2010-08-13 15:25:54 +0200 |
commit | 444d54e41c545f42705da35d2b87e03400eb6883 (patch) | |
tree | 3cc101b437174216ac32f291395e367b1ad7e389 /shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx | |
parent | e794eb3b50d14d86f9e24cb598b3c6b16a096005 (diff) |
dv20:#i95454# Use GetShortName to avoid problems with char versus wchar
Diffstat (limited to 'shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx')
-rwxr-xr-x | shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx index 89b0cc435d..07e1b06137 100755 --- a/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx +++ b/shell/source/win32/shlxthandler/ooofilt/ooofilt.cxx @@ -657,7 +657,8 @@ SCODE STDMETHODCALLTYPE COooFilter::IsDirty() SCODE STDMETHODCALLTYPE COooFilter::Load(LPCWSTR pszFileName, DWORD /*dwMode*/) { // Load just sets the filename for GetChunk to read and ignores the mode - m_pwszFileName = pszFileName; + m_pwszFileName = getShortPathName( pszFileName ); + // Open the file previously specified in call to IPersistFile::Load and get content. try { |