summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-09 16:52:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-09 20:56:26 +0000
commit924b2923b8b1515a4c37079e72a2a9cc6010a4f4 (patch)
tree111cf075f4085a9d1b4f1a69e7d5cbcaff57133c /include/vcl
parentb926671283837ccf4ee1b283ff4fb286e29cedfd (diff)
V801: Decreased performance
Change-Id: I9e9a00acf9503980f0c6c7cd0a20378e5ca7390d
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/seleng.hxx2
-rw-r--r--include/vcl/splitwin.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/seleng.hxx b/include/vcl/seleng.hxx
index 141a68690ac0..cbfd9c3a0970 100644
--- a/include/vcl/seleng.hxx
+++ b/include/vcl/seleng.hxx
@@ -119,7 +119,7 @@ public:
// is needed to generate a Move event via a Timer
// when the mouse is outside the area
- void SetVisibleArea( const Rectangle rNewArea )
+ void SetVisibleArea( const Rectangle& rNewArea )
{ aArea = rNewArea; }
const Rectangle& GetVisibleArea() const { return aArea; }
diff --git a/include/vcl/splitwin.hxx b/include/vcl/splitwin.hxx
index 715b08324a06..157f0c23ed60 100644
--- a/include/vcl/splitwin.hxx
+++ b/include/vcl/splitwin.hxx
@@ -161,11 +161,11 @@ public:
upper and a lower bound (both are valid values themselves.)
@param nId
Id of the item for which the size limits are set.
- @param aRange
+ @param rRange
Values of -1 define missing bounds, thus setting a range (-1,-1)
(the default) removes the size limitiation.
*/
- void SetItemSizeRange (sal_uInt16 nId, const Range aRange);
+ void SetItemSizeRange (sal_uInt16 nId, const Range& rRange);
/** Return the current size limits for the specified item.
*/
long GetItemSize( sal_uInt16 nId, SplitWindowItemBits nBits ) const;