ooo-build r11262 - in trunk: . patches/src680



Author: strba
Date: Tue Jan 15 10:32:34 2008
New Revision: 11262
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11262&view=rev

Log:
avoid superfluos copies

Modified:
   trunk/ChangeLog
   trunk/patches/src680/transogl01-transitions.diff

Modified: trunk/patches/src680/transogl01-transitions.diff
==============================================================================
--- trunk/patches/src680/transogl01-transitions.diff	(original)
+++ trunk/patches/src680/transogl01-transitions.diff	Tue Jan 15 10:32:34 2008
@@ -223,7 +223,7 @@
 +    }
 +}
 +
-+void SceneObject::pushPrimitive(Primitive p)
++void SceneObject::pushPrimitive(const Primitive &p)
 +{
 +    maPrimitives.push_back(p);
 +}
@@ -568,7 +568,7 @@
 +    virtual void display(double nTime, double SlideWidth, double SlideHeight, double DispWidth, double DispHeight);
 +    virtual void finish() {};
 +
-+    void pushPrimitive (Primitive p);
++    void pushPrimitive (const Primitive &p);
 +
 +protected:
 +    /** All the surrounding scene primitives



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