diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2021-04-09 17:20:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2021-04-09 21:16:11 +0200 |
commit | 6c6046a83e0285f4c4303ee8a049759113dac16d (patch) | |
tree | c667cd887691a633050b76be370d00e77fc7f6a7 /framework | |
parent | b721a1cecb6ea0013be8402350110822e50b4415 (diff) |
Avoid user interaction when determining recent documents' MIME types
After 6fcabbd6199869753fd6a266f23901962a77f556 "tdf#129153: Show MIME type icon
in main menu File>Recent documents list", I e.g. got an "Authentication
Required" dialog asking for user name and password if there was an sftp URI
among my recent documents.
Change-Id: Ic772c500f9dd2bc2418ea7dbea966e8478a35729
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113887
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'framework')
-rw-r--r-- | framework/source/uielement/recentfilesmenucontroller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/recentfilesmenucontroller.cxx b/framework/source/uielement/recentfilesmenucontroller.cxx index 343d719c1741..b25c84256cc2 100644 --- a/framework/source/uielement/recentfilesmenucontroller.cxx +++ b/framework/source/uielement/recentfilesmenucontroller.cxx @@ -204,7 +204,7 @@ void RecentFilesMenuController::fillPopupMenu( Reference< css::awt::XPopupMenu > pVCLPopupMenu->InsertItem( sal_uInt16( i+1 ), aMenuShortCut.makeStringAndClear() ); if ( bIsIconsAllowed ) { - Image aThumbnail = SvFileInformationManager::GetImage(aURL); + Image aThumbnail = SvFileInformationManager::GetImage(aURL, false, {}); pVCLPopupMenu->SetItemImage(sal_uInt16 ( i+1 ), aThumbnail); } |