rpms/openoffice.org/devel pseudoworkspace.valgrind1.patch, 1.29, 1.30

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Mon Apr 7 10:23:06 UTC 2008


Author: caolanm

Update of /cvs/pkgs/rpms/openoffice.org/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31875

Modified Files:
	pseudoworkspace.valgrind1.patch 
Log Message:
fix up sd iterator

pseudoworkspace.valgrind1.patch:

Index: pseudoworkspace.valgrind1.patch
===================================================================
RCS file: /cvs/pkgs/rpms/openoffice.org/devel/pseudoworkspace.valgrind1.patch,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- pseudoworkspace.valgrind1.patch	31 Mar 2008 13:02:02 -0000	1.29
+++ pseudoworkspace.valgrind1.patch	7 Apr 2008 10:22:49 -0000	1.30
@@ -83,3 +83,22 @@
  {
  	DBG_TRACE1( "VirtualDevice::VirtualDevice( %hu )", nBitCount );
  
+Index: source/ui/slidesorter/cache/SlsPageCacheManager.cxx
+===================================================================
+RCS file: /cvs/graphics/sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx,v
+retrieving revision 1.8
+diff -u -r1.8 SlsPageCacheManager.cxx
+--- openoffice.org.orig/sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx	12 Dec 2006 18:17:53 -0000	1.8
++++ openoffice.org/sd/source/ui/slidesorter/cache/SlsPageCacheManager.cxx	7 Apr 2008 10:16:55 -0000
+@@ -342,9 +342,10 @@
+             // Now, we can change the preview size of the existing one by
+             // removing the cache from the list and re-insert it with the
+             // updated size.
++            SdDrawDocument* pDocument = iCacheToChange->first.mpDocument;
+             mpPageCaches->erase(iCacheToChange);
+             mpPageCaches->insert(PageCacheContainer::value_type(
+-                CacheDescriptor(iCacheToChange->first.mpDocument,rNewPreviewSize),
++                CacheDescriptor(pDocument,rNewPreviewSize),
+                 rpCache));
+ 
+             pResult = rpCache;




More information about the fedora-extras-commits mailing list