diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-08-12 09:47:54 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-08-13 10:10:45 +0200 |
commit | 945f9001ed2fee3ede105063933f01f12f8fd881 (patch) | |
tree | 6afc0a0113f5b711015e28e6845e1b320980143a /fpicker/source/win32 | |
parent | bcad6c7e93861ca23eba4a44f1c11d2a3d9c48e9 (diff) |
warning C4505: unreferenced local function has been removed
Change-Id: I4a96bc7156e0d4369bf3bfe599529df9f12ab318
Diffstat (limited to 'fpicker/source/win32')
-rw-r--r-- | fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx index 1014ad5eecd6..b0cfdc412ba9 100644 --- a/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx +++ b/fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx @@ -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-> |