diff options
Diffstat (limited to 'svx/source/form/datanavi.cxx')
-rw-r--r-- | svx/source/form/datanavi.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/svx/source/form/datanavi.cxx b/svx/source/form/datanavi.cxx index c90354bbc7b8..0cc5b768e009 100644 --- a/svx/source/form/datanavi.cxx +++ b/svx/source/form/datanavi.cxx @@ -218,8 +218,7 @@ namespace svxform desc.szServiceName = FM_COMPONENT_COMMANDBUTTON; desc.xPropSet = pItemNode->m_xPropSet; } - OXFormsTransferable *pTransferable = new OXFormsTransferable(desc); - Reference< XTransferable > xEnsureDelete = pTransferable; + rtl::Reference<OXFormsTransferable> pTransferable = new OXFormsTransferable(desc); EndSelection(); pTransferable->StartDrag( this, DND_ACTION_COPY ); } @@ -1639,8 +1638,7 @@ namespace svxform bool bLinkOnce = aDlg->IsLinkInstance(); try { - Reference< css::xml::dom::XDocument > xNewInst = - xUIHelper->newInstance( sName, sURL, !bLinkOnce ); + xUIHelper->newInstance( sName, sURL, !bLinkOnce ); } catch ( Exception& ) { |