[Libreoffice-commits] core.git: sw/source

Maxim Monastirsky momonasmon at gmail.com
Thu Oct 27 16:27:16 UTC 2016


 sw/source/uibase/shells/textsh.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a3b44da9482eb8a0095c85314cd71b7bafb38b29
Author: Maxim Monastirsky <momonasmon at gmail.com>
Date:   Thu Oct 27 19:21:58 2016 +0300

    Fix insert special character crash
    
    Change-Id: Id75567f5f6689d15d62f88ed0907c296434b8f0a

diff --git a/sw/source/uibase/shells/textsh.cxx b/sw/source/uibase/shells/textsh.cxx
index b5663ae..7613cad 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() )
         {


More information about the Libreoffice-commits mailing list