[Libreoffice-commits] .: dbaccess/source

David Tardon dtardon at kemper.freedesktop.org
Thu Jun 30 01:24:34 PDT 2011


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

New commits:
commit 899c4c6c65da6190d4b2317d69d3bdec7f721f8e
Author: David Tardon <dtardon at redhat.com>
Date:   Fri May 27 12:03:12 2011 +0200

    make this more readable

diff --git a/dbaccess/source/core/api/CRowSetDataColumn.cxx b/dbaccess/source/core/api/CRowSetDataColumn.cxx
index 9e6bfe8..0aa72ec 100644
--- a/dbaccess/source/core/api/CRowSetDataColumn.cxx
+++ b/dbaccess/source/core/api/CRowSetDataColumn.cxx
@@ -203,7 +203,7 @@ Sequence< sal_Int8 > ORowSetDataColumn::getImplementationId() throw (RuntimeExce
 
 void ORowSetDataColumn::fireValueChange(const ORowSetValue& _rOldValue)
 {
-    if ( !m_aColumnValue.isNull() && m_aColumnValue->is() && (!(((*m_aColumnValue)->get())[m_nPos] == _rOldValue)) )
+    if ( !m_aColumnValue.isNull() && m_aColumnValue->is() && (((*m_aColumnValue)->get())[m_nPos] != _rOldValue) )
     {
         sal_Int32 nHandle = PROPERTY_ID_VALUE;
         m_aOldValue = _rOldValue.makeAny();


More information about the Libreoffice-commits mailing list