summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/passwdomdlg.cxx
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2015-03-31 20:57:16 +0100
committerMichael Meeks <michael.meeks@collabora.com>2015-04-10 13:27:16 +0100
commit5d133eb62187ae910772ff5dfeb8f2c3276e8481 (patch)
treede10fa41a70071dfb3e36ed061e19328e883d206 /cui/source/dialogs/passwdomdlg.cxx
parent28a863756b5891e6074a2ce432f97a1ff0271aed (diff)
first half of non-scriptable, Instance constructor conversion.
Change-Id: If73bb41bfa805e22609748f25971724b4778edb3
Diffstat (limited to 'cui/source/dialogs/passwdomdlg.cxx')
-rw-r--r--cui/source/dialogs/passwdomdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/dialogs/passwdomdlg.cxx b/cui/source/dialogs/passwdomdlg.cxx
index e59e58183181..eade758348a5 100644
--- a/cui/source/dialogs/passwdomdlg.cxx
+++ b/cui/source/dialogs/passwdomdlg.cxx
@@ -101,8 +101,8 @@ IMPL_LINK( PasswordToOpenModifyDialog_Impl, OkBtnClickHdl, OKButton *, EMPTYARG
m_pPasswdToModifyED->GetText().isEmpty();
if (bInvalidState)
{
- ScopedVclPtr<MessageDialog> aErrorBox(new MessageDialog(m_pParent,
- m_bIsPasswordToModify? m_aInvalidStateForOkButton : m_aInvalidStateForOkButton_v2));
+ ScopedVclPtrInstance<MessageDialog> aErrorBox(m_pParent,
+ m_bIsPasswordToModify? m_aInvalidStateForOkButton : m_aInvalidStateForOkButton_v2);
aErrorBox->Execute();
}
else // check for mismatched passwords...