incubator-ooo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject svn commit: r1350618 - /incubator/ooo/trunk/main/vcl/source/window/splitwin.cxx
Date Fri, 15 Jun 2012 13:46:26 GMT
Author: hdu
Date: Fri Jun 15 13:46:26 2012
New Revision: 1350618

URL: http://svn.apache.org/viewvc?rev=1350618&view=rev
Log:
#c705604# fix accidential copy by value of big object

Modified:
    incubator/ooo/trunk/main/vcl/source/window/splitwin.cxx

Modified: incubator/ooo/trunk/main/vcl/source/window/splitwin.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/vcl/source/window/splitwin.cxx?rev=1350618&r1=1350617&r2=1350618&view=diff
==============================================================================
--- incubator/ooo/trunk/main/vcl/source/window/splitwin.cxx (original)
+++ incubator/ooo/trunk/main/vcl/source/window/splitwin.cxx Fri Jun 15 13:46:26 2012
@@ -96,7 +96,7 @@ struct ImplSplitSet
     size has not lower or upper bound.
 */
 namespace {
-    long ValidateSize (const long nSize, const ImplSplitItem rItem)
+    long ValidateSize (const long nSize, const ImplSplitItem& rItem)
     {
         if (rItem.mnMinSize>=0 && nSize<rItem.mnMinSize)
             return rItem.mnMinSize;



Mime
View raw message