Commits

Anonymous committed f83826d

fs34c: #i117666# check first if value is null

  • Participants
  • Parent commits a9158b4

Comments (0)

Files changed (1)

connectivity/source/commontools/FValue.cxx

 
 bool ORowSetValue::operator==(const ORowSetValue& _rRH) const
 {
+	if ( m_bNull != _rRH.isNull() )
+        return false;
+
+	if(m_bNull && _rRH.isNull())
+		return true;
+
 	if ( m_eTypeKind != _rRH.m_eTypeKind )
     {
         switch(m_eTypeKind)
             }
         return false;
     }
-    if ( m_bNull != _rRH.isNull() )
-            return false;
-	if(m_bNull && _rRH.isNull())
-		return true;
 
 	bool bRet = false;
 	OSL_ENSURE(!m_bNull,"SHould not be null!");