summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2016-10-27 19:21:58 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2016-10-27 19:25:41 +0300
commita3b44da9482eb8a0095c85314cd71b7bafb38b29 (patch)
treeb6704905e3420a20fcab70db727af41ace3fc6bd /sw
parentRemove bogus comments about ~IPropertyArrayHelper not being virtual (diff)
downloadcore-a3b44da9482eb8a0095c85314cd71b7bafb38b29.tar.gz
core-a3b44da9482eb8a0095c85314cd71b7bafb38b29.zip
Fix insert special character crash
Change-Id: Id75567f5f6689d15d62f88ed0907c296434b8f0a
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/shells/textsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index b5663aec62f9..7613cadb4673 100644
--- a/sw/source/uibase/shells/textsh.cxx
+++ b/sw/source/uibase/shells/textsh.cxx
@@ -942,7 +942,7 @@ void SwTextShell::InsertSymbol( SfxRequest& rReq )
aAllSet.Put( SfxStringItem( SID_FONT_NAME, aFont.GetFamilyName() ) );
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
- std::unique_ptr<SfxAbstractDialog> pDlg(pFact->CreateSfxDialog( GetView().GetWindow(), aAllSet,
+ ScopedVclPtr<SfxAbstractDialog> pDlg(pFact->CreateSfxDialog( GetView().GetWindow(), aAllSet,
GetView().GetViewFrame()->GetFrame().GetFrameInterface(), RID_SVXDLG_CHARMAP ));
if( RET_OK == pDlg->Execute() )
{