Kaydet (Commit) 945f9001 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

warning C4505: unreferenced local function has been removed

Change-Id: I4a96bc7156e0d4369bf3bfe599529df9f12ab318
üst bcad6c7e
......@@ -1196,29 +1196,6 @@ void VistaFilePickerImpl::impl_SetDefaultExtension( const OUString& currentFilte
}
}
static void impl_refreshFileDialog( TFileDialog iDialog )
{
if ( SUCCEEDED(iDialog->SetFileName(L"")) &&
SUCCEEDED(iDialog->SetFileName(L"*.*")) )
{
IOleWindow* iOleWindow;
#ifdef __MINGW32__
if (SUCCEEDED(iDialog->QueryInterface(IID_IOleWindow, reinterpret_cast<void**>(&iOleWindow))))
#else
if (SUCCEEDED(iDialog->QueryInterface(IID_PPV_ARGS(&iOleWindow))))
#endif
{
HWND hwnd;
if (SUCCEEDED(iOleWindow->GetWindow(&hwnd)))
{
PostMessage(hwnd, WM_COMMAND, IDOK, 0);
}
iOleWindow->Release();
}
}
}
void VistaFilePickerImpl::onAutoExtensionChanged (bool bChecked)
{
// SYNCHRONIZED->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment