You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2012/06/15 15:46:26 UTC
svn commit: r1350618 -
/incubator/ooo/trunk/main/vcl/source/window/splitwin.cxx
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;