[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - toolkit/source

Noel Grandin noel at peralex.com
Wed Jun 10 04:19:50 PDT 2015


 toolkit/source/awt/scrollabledialog.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e0d249c81936b1438e8d3586ed6999a02af27f80
Author: Noel Grandin <noel at peralex.com>
Date:   Mon Jun 8 12:11:58 2015 +0200

    vclptr fix in ScrollableWrapper
    
    Change-Id: I28b0c9712d3eb35181ccd323e583d947db06094d
    (cherry picked from commit f6e5a0ac09eb1b02caf62980e4caaf3f239b9ca7)

diff --git a/toolkit/source/awt/scrollabledialog.cxx b/toolkit/source/awt/scrollabledialog.cxx
index 4e552d3..a8cd527 100644
--- a/toolkit/source/awt/scrollabledialog.cxx
+++ b/toolkit/source/awt/scrollabledialog.cxx
@@ -82,7 +82,7 @@ void ScrollableWrapper<T>::setScrollVisibility( ScrollBarVisibility rVisState )
 template< class T>
 ScrollableWrapper<T>::~ScrollableWrapper()
 {
-    dispose();
+    T::disposeOnce();
 }
 
 template< class T>


More information about the Libreoffice-commits mailing list