ooo-build r11262 - in trunk: . patches/src680
- From: strba svn gnome org
- To: svn-commits-list gnome org
- Subject: ooo-build r11262 - in trunk: . patches/src680
- Date: Tue, 15 Jan 2008 10:32:34 +0000 (GMT)
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]