Blob Blame History Raw
From 4f93ef75127d32da84bbf0275e679a0c9ce7b98d Mon Sep 17 00:00:00 2001
From: Lionel Elie Mamane <lionel@mamane.lu>
Date: Mon, 2 Dec 2013 23:55:43 +0100
Subject: [PATCH 068/109] 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@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
---
 dbaccess/source/core/api/RowSet.cxx | 1 -
 1 file changed, 1 deletion(-)

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; }
-- 
1.8.4.2