ooo-build r15390 - in trunk: . patches/dev300



Author: pmladek
Date: Fri Feb 20 17:18:01 2009
New Revision: 15390
URL: http://svn.gnome.org/viewvc/ooo-build?rev=15390&view=rev

Log:
2009-02-20  Petr Mladek  <pmladek novell com>

	* patches/dev300/writerfilter-docx-import-tables.diff: use (-1) instead
	  of the -- operator for PropertyMapVector2::const_iterator;
	  it fixes build on SLED10



Modified:
   trunk/ChangeLog
   trunk/patches/dev300/writerfilter-docx-import-tables.diff

Modified: trunk/patches/dev300/writerfilter-docx-import-tables.diff
==============================================================================
--- trunk/patches/dev300/writerfilter-docx-import-tables.diff	(original)
+++ trunk/patches/dev300/writerfilter-docx-import-tables.diff	Fri Feb 20 17:18:01 2009
@@ -348,7 +348,7 @@
      // std::vector< std::vector<PropertyMapPtr> > m_aCellProperties
      PropertyMapVector2::const_iterator aRowOfCellsIterator = m_aCellProperties.begin();
      PropertyMapVector2::const_iterator aRowOfCellsIteratorEnd = m_aCellProperties.end();
-+    PropertyMapVector2::const_iterator aLastRowIterator = --m_aCellProperties.end();
++    PropertyMapVector2::const_iterator aLastRowIterator = m_aCellProperties.end() - 1;
      sal_Int32 nRow = 0;
 -    
 +
@@ -363,7 +363,7 @@
 -        //contains the default border of the line
 -        PropertyMapPtr aCellBorders( new PropertyMap );
 -
-+        PropertyMapVector1::const_iterator aLastCellIterator = --aRowOfCellsIterator->end();
++        PropertyMapVector1::const_iterator aLastCellIterator = aRowOfCellsIterator->end() - 1;
 +        
 +        // Get the row style properties
 +        sal_Int32 nRowStyleMask = sal_Int32( 0 );



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]