diff options
Diffstat (limited to 'sfx2/source/appl/openuriexternally.cxx')
-rw-r--r-- | sfx2/source/appl/openuriexternally.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sfx2/source/appl/openuriexternally.cxx b/sfx2/source/appl/openuriexternally.cxx index beb4deed9ec3..77c412bff0e9 100644 --- a/sfx2/source/appl/openuriexternally.cxx +++ b/sfx2/source/appl/openuriexternally.cxx @@ -53,10 +53,10 @@ bool sfx2::openUriExternally( throw; } SolarMutexGuard g; - MessageDialog( + ScopedVclPtrInstance<MessageDialog> eb( SfxGetpApp()->GetTopWindow(), - SfxResId(STR_NO_WEBBROWSER_FOUND)). - Execute(); + SfxResId(STR_NO_WEBBROWSER_FOUND)); + eb->Execute(); } return false; } |