summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-03-19 10:52:27 +0200
committerNoel Grandin <noel@peralex.com>2013-03-20 07:32:51 +0200
commit286a86221b0b666fb9c54ffc30fdf1fd99a1316d (patch)
tree9f5b292c981bfca0be9b4e79770fbf51bae87e13 /sw
parent24d53ed075b9c904c6947cf3ca7096d3d4a70bce (diff)
fdo#46808, Convert sdb::TextConnectionSettings to new style
The service already existed, it just needed an IDL file Change-Id: If86cb14d107077da5f10bddd81deda7cf61442ed
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/dbui/dbmgr.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/dbui/dbmgr.cxx b/sw/source/ui/dbui/dbmgr.cxx
index b6bca9d25baf..7279ef1163a7 100644
--- a/sw/source/ui/dbui/dbmgr.cxx
+++ b/sw/source/ui/dbui/dbmgr.cxx
@@ -2322,14 +2322,14 @@ String SwNewDBMgr::LoadAndRegisterDataSource()
if( bTextConnection )
{
- uno::Reference < ui::dialogs::XExecutableDialog > xSettingsDlg = sdb::TextConnectionSettings::create(xContext);
+ uno::Reference < sdb::XTextConnectionSettings > xSettingsDlg = sdb::TextConnectionSettings::create(xContext);
if( xSettingsDlg->execute() )
{
uno::Any aSettings = xDataProperties->getPropertyValue( "Settings" );
uno::Reference < beans::XPropertySet > xDSSettings;
aSettings >>= xDSSettings;
::comphelper::copyProperties(
- uno::Reference < beans::XPropertySet >( xSettingsDlg, uno::UNO_QUERY ),
+ uno::Reference < beans::XPropertySet >( xSettingsDlg, uno::UNO_QUERY_THROW ),
xDSSettings );
xDSSettings->setPropertyValue( "Extension", uno::makeAny( ::rtl::OUString( sExt )));
}