mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
Fix const pointer after JDK-8225032 fix
This commit is contained in:
committed by
jbrbot
parent
adba9ffd53
commit
854ca19a71
@@ -756,7 +756,7 @@ AwtFileDialog::Show(void *p)
|
||||
{
|
||||
IShellItemPtr directoryItem;
|
||||
OLE_TRY
|
||||
OLE_HRT(CreateShellItem(directoryBuffer, directoryItem));
|
||||
OLE_HRT(CreateShellItem(const_cast<LPTSTR>(static_cast<LPCTSTR>(directoryBuffer)), directoryItem));
|
||||
OLE_HRT(pfd->SetFolder(directoryItem));
|
||||
OLE_CATCH
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user