diff options
author | Maxim Monastirsky <momonasmon@gmail.com> | 2016-10-27 19:21:58 +0300 |
---|---|---|
committer | Maxim Monastirsky <momonasmon@gmail.com> | 2016-10-27 19:25:41 +0300 |
commit | a3b44da9482eb8a0095c85314cd71b7bafb38b29 (patch) | |
tree | b6704905e3420a20fcab70db727af41ace3fc6bd /sw | |
parent | d4398c776706fd3a5bc3b3fa9f8a3e965a7a6306 (diff) |
Fix insert special character crash
Change-Id: Id75567f5f6689d15d62f88ed0907c296434b8f0a
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/shells/textsh.cxx | 2 |
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() ) { |