diff options
author | Michael Meeks <michael.meeks@collabora.com> | 2015-03-31 21:06:51 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2015-04-10 13:28:52 +0100 |
commit | d46e0d9656670dcd7dcca2f32062606400ff6246 (patch) | |
tree | feec84bb694fe4d107c6aae2d66442ae046be31f /svtools/source/java | |
parent | 5d133eb62187ae910772ff5dfeb8f2c3276e8481 (diff) |
second half of non-scriptable, Instance constructor conversion.
Change-Id: I616c8c28255e0d90ae90033a128bd34d7570530c
Diffstat (limited to 'svtools/source/java')
-rw-r--r-- | svtools/source/java/javainteractionhandler.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/java/javainteractionhandler.cxx b/svtools/source/java/javainteractionhandler.cxx index d280de9b32ab..c2d4ad299e7d 100644 --- a/svtools/source/java/javainteractionhandler.cxx +++ b/svtools/source/java/javainteractionhandler.cxx @@ -158,8 +158,8 @@ void SAL_CALL JavaInteractionHandler::handle( const Reference< XInteractionReque SolarMutexGuard aSolarGuard; m_bJavaDisabled_Handled = true; // Java disabled. Give user a chance to enable Java inside Office. - ScopedVclPtr<MessageDialog> aQueryBox(new MessageDialog(NULL, "JavaDisabledDialog", - "svt/ui/javadisableddialog.ui")); + ScopedVclPtrInstance<MessageDialog> aQueryBox(nullptr , "JavaDisabledDialog", + "svt/ui/javadisableddialog.ui"); nResult = aQueryBox->Execute(); if ( nResult == RET_YES ) { |