summaryrefslogtreecommitdiffstats
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-01-30 14:46:21 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-01-30 14:48:18 +0000
commitcfdfe1be91101654456bdf1f16d92461e1e5dbfa (patch)
tree04265911ce97c82a9ec930af675dbafb3aed973c /cui
parentoffapi: improve some Settings documentation (diff)
downloadcore-cfdfe1be91101654456bdf1f16d92461e1e5dbfa.tar.gz
core-cfdfe1be91101654456bdf1f16d92461e1e5dbfa.zip
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.cxx2
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 )