summaryrefslogtreecommitdiff
path: root/vcl/source/window/splitwin.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-05-08 17:04:25 +0200
committerJulien Nabet <serval2412@yahoo.fr>2011-05-08 17:04:25 +0200
commit5d80ddea6888fbe075907ea427105900906b57dd (patch)
tree414566884b0eabe76fb093efacf3fd67397f8f90 /vcl/source/window/splitwin.cxx
parentafb1f2e918f392b70749de51599ef64c8223b1de (diff)
Some cppcheck cleaning
Diffstat (limited to 'vcl/source/window/splitwin.cxx')
-rw-r--r--vcl/source/window/splitwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/splitwin.cxx b/vcl/source/window/splitwin.cxx
index d0bf60b6412c..0a9a9dd70407 100644
--- a/vcl/source/window/splitwin.cxx
+++ b/vcl/source/window/splitwin.cxx
@@ -97,7 +97,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;