summaryrefslogtreecommitdiff
path: root/sd/source/filter/html/pubdlg.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/filter/html/pubdlg.cxx')
-rw-r--r--sd/source/filter/html/pubdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/html/pubdlg.cxx b/sd/source/filter/html/pubdlg.cxx
index ab64b187142c..f8b1dbb297b8 100644
--- a/sd/source/filter/html/pubdlg.cxx
+++ b/sd/source/filter/html/pubdlg.cxx
@@ -1162,7 +1162,7 @@ IMPL_LINK_NOARG(SdPublishingDlg, FinishHdl)
{
bRetry = false;
- VclPtr<SdDesignNameDlg> aDlg(new SdDesignNameDlg(this, aName ));
+ ScopedVclPtr<SdDesignNameDlg> aDlg(new SdDesignNameDlg(this, aName ));
if ( aDlg->Execute() == RET_OK )
{
@@ -1177,7 +1177,7 @@ IMPL_LINK_NOARG(SdPublishingDlg, FinishHdl)
if (iter != m_aDesignList.end())
{
- VclPtr<MessageDialog> aErrorBox(new MessageDialog(this, SD_RESSTR(STR_PUBDLG_SAMENAME),
+ ScopedVclPtr<MessageDialog> aErrorBox(new MessageDialog(this, SD_RESSTR(STR_PUBDLG_SAMENAME),
VCL_MESSAGE_ERROR, VCL_BUTTONS_YES_NO));
bRetry = aErrorBox->Execute() == RET_NO;