[Libreoffice-commits] core.git: Branch 'libreoffice-4-1' - dbaccess/source

Lionel Elie Mamane lionel at mamane.lu
Mon Dec 16 00:51:58 PST 2013


 dbaccess/source/core/api/RowSet.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 4f93ef75127d32da84bbf0275e679a0c9ce7b98d
Author: Lionel Elie Mamane <lionel at mamane.lu>
Date:   Mon Dec 2 23:55:43 2013 +0100

    fdo#72163: fix safer way
    
    Do not dispose m_xComposer, might still be used by our m_pCache.
    
    Change-Id: I6540c035c9159017c694b36e676721ec3e42db51
    Reviewed-on: https://gerrit.libreoffice.org/7094
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx
index 6002747..6a3ba0a 100644
--- a/dbaccess/source/core/api/RowSet.cxx
+++ b/dbaccess/source/core/api/RowSet.cxx
@@ -2260,7 +2260,6 @@ sal_Bool ORowSet::impl_initComposer_throw( OUString& _out_rCommandToExecute )
     {
         try
         {
-            ::comphelper::disposeComponent( m_xComposer );
             m_xComposer.set( xFactory->createInstance( SERVICE_NAME_SINGLESELECTQUERYCOMPOSER ), UNO_QUERY_THROW );
         }
         catch (const Exception& ) { m_xComposer = NULL; }


More information about the Libreoffice-commits mailing list