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

Andras Timar andras.timar at collabora.com
Wed Dec 28 14:45:31 UTC 2016


 dictionaries                     |    2 +-
 sw/source/uibase/dbui/dbtree.cxx |    1 -
 sw/source/uibase/inc/dbtree.hxx  |    2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit 6c2b8cb5b136b63b3ea295528b845d37b5dd9000
Author: Andras Timar <andras.timar at collabora.com>
Date:   Wed Dec 28 15:42:09 2016 +0100

    Updated core
    Project: dictionaries  639505f3ef841742919dd7eba5d55efa3535f529
    
    tdf#97349: typo fixes in control words
    
    Change-Id: I4896dd4084582e893914f09e730a2dd7d5a08acd
    Reviewed-on: https://gerrit.libreoffice.org/32475
    Reviewed-by: Andras Timar <andras.timar at collabora.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>

diff --git a/dictionaries b/dictionaries
index 4ca949b..639505f3 160000
--- a/dictionaries
+++ b/dictionaries
@@ -1 +1 @@
-Subproject commit 4ca949b4cb3b783ea30a266f03e35f72069b296e
+Subproject commit 639505f3ef841742919dd7eba5d55efa3535f529
commit aa0cacbbc5c582722962b140640bba8c6c745e8f
Author: G_Zoltan <zolicsaba at yahoo.com>
Date:   Tue Dec 27 22:59:51 2016 +0200

    tdf#89329 pImpl changed to unique_ptr
    
    In dbtree.cxx and dbtree.hxx manual allocated pImpl is changed to
    std::unique_ptr.
    
    Change-Id: I19e76147f79733139c2535269431eeb94f85f557
    Reviewed-on: https://gerrit.libreoffice.org/32463
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/sw/source/uibase/dbui/dbtree.cxx b/sw/source/uibase/dbui/dbtree.cxx
index d4d786a..5691f3d 100644
--- a/sw/source/uibase/dbui/dbtree.cxx
+++ b/sw/source/uibase/dbui/dbtree.cxx
@@ -161,7 +161,6 @@ SwDBTreeList::~SwDBTreeList()
 
 void SwDBTreeList::dispose()
 {
-    delete pImpl;
     pImpl = nullptr;
     SvTreeListBox::dispose();
 }
diff --git a/sw/source/uibase/inc/dbtree.hxx b/sw/source/uibase/inc/dbtree.hxx
index a9a43b5..47d179d 100644
--- a/sw/source/uibase/inc/dbtree.hxx
+++ b/sw/source/uibase/inc/dbtree.hxx
@@ -33,7 +33,7 @@ class SW_DLLPUBLIC SwDBTreeList : public SvTreeListBox
     bool            bInitialized;
     bool            bShowColumns;
 
-    SwDBTreeList_Impl* pImpl;
+    std::unique_ptr<SwDBTreeList_Impl> pImpl;
 
     DECL_DLLPRIVATE_LINK( DBCompare, const SvSortData&, sal_Int32 );
 


More information about the Libreoffice-commits mailing list