diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-31 20:57:16 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 13:27:16 +0100 |
commit | 5d133eb62187ae910772ff5dfeb8f2c3276e8481 (patch) | |
tree | de10fa41a70071dfb3e36ed061e19328e883d206 /desktop/source/app/lockfile2.cxx | |
parent | 28a863756b5891e6074a2ce432f97a1ff0271aed (diff) |
first half of non-scriptable, Instance constructor conversion.
Change-Id: If73bb41bfa805e22609748f25971724b4778edb3
Diffstat (limited to 'desktop/source/app/lockfile2.cxx')
-rw-r--r-- | desktop/source/app/lockfile2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/app/lockfile2.cxx b/desktop/source/app/lockfile2.cxx index 679258c88dd3..7636431048a6 100644 --- a/desktop/source/app/lockfile2.cxx +++ b/desktop/source/app/lockfile2.cxx @@ -38,8 +38,8 @@ bool Lockfile_execWarning( Lockfile * that ) OString aTime = aConfig.ReadKey( LOCKFILE_TIMEKEY ); // display warning and return response - ScopedVclPtr<MessageDialog> aBox(new MessageDialog(NULL, DesktopResId(STR_QUERY_USERDATALOCKED), - VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO)); + ScopedVclPtrInstance<MessageDialog> aBox(nullptr, DesktopResId(STR_QUERY_USERDATALOCKED), + VCL_MESSAGE_QUESTION, VCL_BUTTONS_YES_NO); // set box title OUString aTitle = OUString( DesktopResId( STR_TITLE_USERDATALOCKED )); aBox->SetText( aTitle ); |