diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-30 14:46:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-30 14:48:18 +0000 |
commit | cfdfe1be91101654456bdf1f16d92461e1e5dbfa (patch) | |
tree | 04265911ce97c82a9ec930af675dbafb3aed973c /cui | |
parent | 57e696742c61297023ddeb21d8e8a8305b6844f8 (diff) |
crash on exit from undisposed insert special character dialog
right click on style combobox in writer toolbar, insert character, esc,
ctrl+f4 and crash
Change-Id: I83c88584c6d772bf629121a2bcdc16076bee8003
Diffstat (limited to 'cui')
-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 ) |