sc/source/ui/view/cellsh2.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 937cbdb579820aa1dd0526682df1ea98a34168c5
Author: Caolán McNamara <caol...@redhat.com>
Date:   Thu Jun 30 09:14:05 2016 +0100

    fix Window::~Window: inconsistency in top window chain leak
    
    Change-Id: I4f32b77a4b107e5315e0c2bc9b20db897135c8b0

diff --git a/sc/source/ui/view/cellsh2.cxx b/sc/source/ui/view/cellsh2.cxx
index fec2ae4..e85e369 100644
--- a/sc/source/ui/view/cellsh2.cxx
+++ b/sc/source/ui/view/cellsh2.cxx
@@ -335,8 +335,8 @@ void ScCellShell::ExecuteDB( SfxRequest& rReq )
                 ScAbstractDialogFactory* pFact = 
ScAbstractDialogFactory::Create();
                 OSL_ENSURE(pFact, "ScAbstractFactory create fail!");
 
-                AbstractScDataFormDlg* pDlg = pFact->CreateScDataFormDlg(
-                    pTabViewShell->GetDialogParent(), pTabViewShell);
+                std::unique_ptr<AbstractScDataFormDlg> 
pDlg(pFact->CreateScDataFormDlg(
+                    pTabViewShell->GetDialogParent(), pTabViewShell));
                 OSL_ENSURE(pDlg, "Dialog create fail!");
 
                 pDlg->Execute();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to