rpms/openoffice.org/F-9 pseudoworkspace.valgrind1.patch,1.27,1.28

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


Author: caolanm

Update of /cvs/pkgs/rpms/openoffice.org/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31799

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/F-9/pseudoworkspace.valgrind1.patch,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- pseudoworkspace.valgrind1.patch	24 Jan 2008 18:47:12 -0000	1.27
+++ pseudoworkspace.valgrind1.patch	7 Apr 2008 10:21:56 -0000	1.28
@@ -160,3 +160,22 @@
  	{
  	}
  
+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 scm-commits mailing list