incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r1348750 - /incubator/ooo/trunk/main/svtools/source/table/tablecontrol_impl.cxx
Date Mon, 11 Jun 2012 08:45:43 GMT
Author: jsc
Date: Mon Jun 11 08:45:42 2012
New Revision: 1348750

URL: http://svn.apache.org/viewvc?rev=1348750&view=rev
Log:
119403: AOO 3.4 - GridControl not refreshing after deleting rows

fix: take care of transparency attribute of the control

Patch By: Tsutomu Uchino
Found By: Wolfgang Becker
Review By: jsc
 

Modified:
    incubator/ooo/trunk/main/svtools/source/table/tablecontrol_impl.cxx

Modified: incubator/ooo/trunk/main/svtools/source/table/tablecontrol_impl.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/svtools/source/table/tablecontrol_impl.cxx?rev=1348750&r1=1348749&r2=1348750&view=diff
==============================================================================
--- incubator/ooo/trunk/main/svtools/source/table/tablecontrol_impl.cxx (original)
+++ incubator/ooo/trunk/main/svtools/source/table/tablecontrol_impl.cxx Mon Jun 11 08:45:42
2012
@@ -2170,7 +2170,8 @@ namespace svt { namespace table
         if ( i_lastRow == ROW_INVALID )
             aInvalidateRect.Bottom() = m_pDataWindow->GetOutputSizePixel().Height();
 
-        m_pDataWindow->Invalidate( aInvalidateRect );
+        m_pDataWindow->Invalidate( aInvalidateRect, 
+            m_pDataWindow->GetControlBackground().GetTransparency() ? INVALIDATE_TRANSPARENT
: 0 );
     }
 
     //------------------------------------------------------------------------------



Mime
View raw message