diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/view.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx index 0086cadda2a1..4e4ad7902b3e 100644 --- a/starmath/source/view.cxx +++ b/starmath/source/view.cxx @@ -1787,7 +1787,7 @@ void SmViewShell::Execute(SfxRequest& rReq) SAL_WARN_IF( !pDev, "starmath", "device for font list missing" ); SmModule *pp = SM_MOD(); - SmSymbolDialog( NULL, pDev, pp->GetSymbolManager(), *this ).Execute(); + ScopedVclPtrInstance<SmSymbolDialog>::Create( nullptr, pDev, pp->GetSymbolManager(), *this )->Execute(); } break; } |