diff options
Diffstat (limited to 'extensions/source/scanner/sanedlg.cxx')
-rw-r--r-- | extensions/source/scanner/sanedlg.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index a73033579796..d23384b868a3 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -892,7 +892,7 @@ void SaneDlg::AcquirePreview() mrSane.SetOptionValue( nOption, true ); rtl::Reference<BitmapTransporter> xTransporter(new BitmapTransporter); - if( ! mrSane.Start( *xTransporter.get() ) ) + if (!mrSane.Start(*xTransporter)) { std::unique_ptr<weld::MessageDialog> xErrorBox(Application::CreateMessageDialog(GetFrameWeld(), VclMessageType::Warning, VclButtonsType::Ok, |