summaryrefslogtreecommitdiff
path: root/fpicker/source/office/OfficeFolderPicker.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office/OfficeFolderPicker.cxx')
-rw-r--r--fpicker/source/office/OfficeFolderPicker.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/fpicker/source/office/OfficeFolderPicker.cxx b/fpicker/source/office/OfficeFolderPicker.cxx
index 28fd1cfb610f..f3cdafb33957 100644
--- a/fpicker/source/office/OfficeFolderPicker.cxx
+++ b/fpicker/source/office/OfficeFolderPicker.cxx
@@ -98,17 +98,16 @@ void SvtFolderPicker::prepareExecute()
}
}
-IMPL_LINK( SvtFolderPicker, DialogClosedHdl, Dialog*, pDlg )
+IMPL_LINK_TYPED( SvtFolderPicker, DialogClosedHdl, Dialog&, rDlg, void )
{
if ( m_xListener.is() )
{
- sal_Int16 nRet = static_cast< sal_Int16 >( pDlg->GetResult() );
+ sal_Int16 nRet = static_cast< sal_Int16 >( rDlg.GetResult() );
css::ui::dialogs::DialogClosedEvent aEvent( *this, nRet );
m_xListener->dialogClosed( aEvent );
m_xListener.clear();
}
- return 0;
- }
+}
void SAL_CALL SvtFolderPicker::setDisplayDirectory( const OUString& aDirectory )
throw( IllegalArgumentException, RuntimeException, std::exception )