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

Noel Grandin noel at peralex.com
Mon Jun 8 03:13:23 PDT 2015


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

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

    vclptr fix in ScrollableWrapper
    
    Change-Id: I28b0c9712d3eb35181ccd323e583d947db06094d

diff --git a/toolkit/source/awt/scrollabledialog.cxx b/toolkit/source/awt/scrollabledialog.cxx
index a615bd2..b1d898d 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