summaryrefslogtreecommitdiff
path: root/extensions/source/scanner/sanedlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-17 09:25:04 +0200
committerNoel Grandin <noel@peralex.com>2015-09-17 12:22:47 +0200
commit061934621664c61dd04de2e48935a7fcfe00e552 (patch)
treeb8357db65af20fd46a5b89855401384d6162bad1 /extensions/source/scanner/sanedlg.cxx
parentbd1da371633c8df7f31da1cdaeb6f9e61dee4429 (diff)
convert Link<> to typed
Change-Id: Id600a5ee28440ee91c7089c8f7aa05f83bc0e63c
Diffstat (limited to 'extensions/source/scanner/sanedlg.cxx')
-rw-r--r--extensions/source/scanner/sanedlg.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx
index 4d245941ab74..0d3290890e3b 100644
--- a/extensions/source/scanner/sanedlg.cxx
+++ b/extensions/source/scanner/sanedlg.cxx
@@ -662,7 +662,7 @@ IMPL_LINK_TYPED( SaneDlg, ClickBtnHdl, Button*, pButton, void )
}
else if( pButton == mpAdvancedBox )
{
- ReloadSaneOptionsHdl( NULL );
+ ReloadSaneOptionsHdl( mrSane );
}
}
if( pButton == mpOKButton || pButton == mpScanButton )
@@ -873,14 +873,13 @@ IMPL_LINK( SaneDlg, ModifyHdl, Edit*, pEdit )
return 0;
}
-IMPL_LINK( SaneDlg, ReloadSaneOptionsHdl, Sane*, /*pSane*/ )
+IMPL_LINK_NOARG_TYPED( SaneDlg, ReloadSaneOptionsHdl, Sane&, void )
{
mnCurrentOption = -1;
mnCurrentElement = 0;
DisableOption();
InitFields();
mpPreview->Invalidate();
- return 0;
}
void SaneDlg::AcquirePreview()