diff options
Diffstat (limited to 'extensions/source/scanner/scanunx.cxx')
-rw-r--r-- | extensions/source/scanner/scanunx.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/scanner/scanunx.cxx b/extensions/source/scanner/scanunx.cxx index dd439dc3c9bf..a9ee05e5164e 100644 --- a/extensions/source/scanner/scanunx.cxx +++ b/extensions/source/scanner/scanunx.cxx @@ -23,9 +23,9 @@ #include <sal/log.hxx> #include <tools/solar.h> #include <cppuhelper/queryinterface.hxx> +#include <vcl/svapp.hxx> #include <memory> - BitmapTransporter::BitmapTransporter() { SAL_INFO("extensions.scanner", "BitmapTransporter"); @@ -264,7 +264,7 @@ sal_Bool ScannerManager::configureScannerAndScan( ScannerContext& scanner_contex ); pHolder->m_bBusy = true; - SaneDlg aDlg(nullptr, pHolder->m_aSane, listener.is()); + SaneDlg aDlg(Application::GetFrameWeld(mxDialogParent), pHolder->m_aSane, listener.is()); bRet = aDlg.run(); bScan = aDlg.getDoScan(); pHolder->m_bBusy = false; |