[Bug 5] invisible text in oowriter from openoffice.org 2.1 and 2.2

btsadmin at pld-linux.org btsadmin at pld-linux.org
Mon Apr 2 22:28:42 CEST 2007


http://bugs.pld-linux.org/show_bug.cgi?id=5





--- Comment #4 from Arkadiusz Miskiewicz <arekm at pld-linux.org>  2007-04-02 22:28:42 ---
Dropping inline from InsertRect() (which fixes the problem) and replacing the
code with "manual" inlining

                       //Jetzt aufteilen das Teil: Es sollen diejenigen
Rechtecke
                        //zurueckbleiben, die im alten aber nicht im neuen
liegen.
                        //Sprich alle Rechtecke die im alten aber nicht in der
Intersection
                        //liegen.
                        long nTmp = aInter.Top() - aTmp.Top();
                        if ( 0 < nTmp )
                        {
                                const long nOldVal = aTmp.Height();
                                aTmp.SSize().Height() = nTmp;
-                              InsertRect( aTmp, i, bDel );
+                              // InsertRect( aTmp, i, bDel );
+
+                                if( bDel )
+                                {
+                                        *(pData+i) = aTmp;
+                                        bDel = FALSE;
+                                }
+                                else
+                                        Insert( aTmp, Count() );


                                aTmp.Height( nOldVal );
                        }

also makes the problem visible.


-- 
Configure bugmail: http://bugs.pld-linux.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.


More information about the pld-bugs mailing list