diff options
-rw-r--r-- | cui/source/factory/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/factory/init.cxx b/cui/source/factory/init.cxx index 5f53852e20df..fd7cbc63e50c 100644 --- a/cui/source/factory/init.cxx +++ b/cui/source/factory/init.cxx @@ -27,7 +27,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool GetSpecialCharsForEdit(vcl::Window* i_pParent, const vcl::Font& i_rFont, OUString& o_rResult) { bool bRet = false; - VclPtrInstance< SvxCharacterMap > aDlg( i_pParent ); + ScopedVclPtrInstance<SvxCharacterMap> aDlg(i_pParent); aDlg->DisableFontSelection(); aDlg->SetCharFont(i_rFont); if ( aDlg->Execute() == RET_OK ) |