[Libreoffice-commits] .: dbaccess/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Jan 17 13:13:07 PST 2011


 dbaccess/source/core/api/query.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 7810732ef8404b238980f555a0aeb1656098f2ab
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Jan 17 12:33:02 2011 +0000

    cppcheck: object destroyed immediately

diff --git a/dbaccess/source/core/api/query.cxx b/dbaccess/source/core/api/query.cxx
index e4ec3ac..847e2d8 100644
--- a/dbaccess/source/core/api/query.cxx
+++ b/dbaccess/source/core/api/query.cxx
@@ -307,7 +307,7 @@ void OQuery::setFastPropertyValue_NoBroadcast( sal_Int32 _nHandle, const Any& _r
     {	// the base class holds the property values itself, but we have to forward this to our CommandDefinition
 
         m_eDoingCurrently = SETTING_PROPERTIES;
-        OAutoActionReset(this);
+        OAutoActionReset aAutoReset(this);
         m_xCommandDefinition->setPropertyValue(sAggPropName, _rValue);
 
         if ( PROPERTY_ID_COMMAND == _nHandle )


More information about the Libreoffice-commits mailing list