diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-05 17:56:09 +0300 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2011-10-05 18:03:52 +0300 |
commit | 8d6030fa420cb999572b0770fb52442e1b5b8190 (patch) | |
tree | f2004dc6df3771ae125d8a764f8f0710328dc3c7 /fpicker | |
parent | test fix: use setUp and tearDown not constructors to init LibreOffice (diff) | |
download | core-8d6030fa420cb999572b0770fb52442e1b5b8190.tar.gz core-8d6030fa420cb999572b0770fb52442e1b5b8190.zip |
Use OUString::getStr()
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx index 0e0a3ff8e322..17af33006c2a 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx @@ -709,7 +709,7 @@ void VistaFilePickerImpl::impl_sta_SetDirectory(const RequestRef& rRequest) #ifdef __MINGW32__ HRESULT hResult = SHCreateItemFromParsingName ( reinterpret_cast<LPCTSTR>(sDirectory.getStr()), NULL, IID_IShellItem, (void**)(&pFolder) ); #else - HRESULT hResult = SHCreateItemFromParsingName ( sDirectory, NULL, IID_PPV_ARGS(&pFolder) ); + HRESULT hResult = SHCreateItemFromParsingName ( sDirectory.getStr(), NULL, IID_PPV_ARGS(&pFolder) ); #endif if ( FAILED(hResult) ) return; @@ -902,7 +902,7 @@ void VistaFilePickerImpl::impl_sta_ShowDialogModal(const RequestRef& rRequest) #ifdef __MINGW32__ HRESULT hResult = SHCreateItemFromParsingName ( reinterpret_cast<LPCTSTR>(m_sDirectory.getStr()), NULL, IID_IShellItem, (void**)(&pFolder) ); #else - HRESULT hResult = SHCreateItemFromParsingName ( m_sDirectory, NULL, IID_PPV_ARGS(&pFolder) ); + HRESULT hResult = SHCreateItemFromParsingName ( m_sDirectory.getStr(), NULL, IID_PPV_ARGS(&pFolder) ); #endif if ( SUCCEEDED(hResult) ) { |