diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2013-12-02 23:55:43 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2013-12-16 08:51:39 +0000 |
commit | 4f93ef75127d32da84bbf0275e679a0c9ce7b98d (patch) | |
tree | b189abdae2ff2cc9f8bb2c0eb130cb6b95ed7d1e | |
parent | c062276a068a14df530fa21e9099a489a26b2096 (diff) |
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>
-rw-r--r-- | dbaccess/source/core/api/RowSet.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/dbaccess/source/core/api/RowSet.cxx b/dbaccess/source/core/api/RowSet.cxx index 6002747b9ae4..6a3ba0a84d66 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; } |