summaryrefslogtreecommitdiff
path: root/uui/source/iahndl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'uui/source/iahndl.cxx')
-rw-r--r--uui/source/iahndl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/uui/source/iahndl.cxx b/uui/source/iahndl.cxx
index ba0608021c35..f8ec35ec28f3 100644
--- a/uui/source/iahndl.cxx
+++ b/uui/source/iahndl.cxx
@@ -1059,8 +1059,8 @@ NameClashResolveDialogResult executeSimpleNameClashResolveDialog( vcl::Window *p
if ( !xManager.get() )
return ABORT;
- ScopedVclPtr<NameClashDialog> aDialog(new NameClashDialog(pParent, xManager.get(), rTargetFolderURL,
- rClashingName, rProposedNewName, bAllowOverwrite) );
+ ScopedVclPtrInstance<NameClashDialog> aDialog(pParent, xManager.get(), rTargetFolderURL,
+ rClashingName, rProposedNewName, bAllowOverwrite);
NameClashResolveDialogResult eResult = (NameClashResolveDialogResult) aDialog->Execute();
rProposedNewName = aDialog->getNewName();
@@ -1207,8 +1207,8 @@ UUIInteractionHelper::handleMacroConfirmRequest(
if ( pResMgr.get() )
{
bool bShowSignatures = aSignInfo.getLength() > 0;
- ScopedVclPtr<MacroWarning> aWarning(new MacroWarning(
- getParentProperty(), bShowSignatures, *pResMgr.get()) );
+ ScopedVclPtrInstance<MacroWarning> aWarning(
+ getParentProperty(), bShowSignatures, *pResMgr.get() );
aWarning->SetDocumentURL( aDocumentURL );
if ( aSignInfo.getLength() > 1 )