diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 20:27:49 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 21:07:50 +0000 |
commit | 986a0709e25e5148bf6003aba25ca16bba1b43db (patch) | |
tree | 4c79b7fae02931e7ba97496ea761f8a9c0e66a0b /sw/source/uibase/sidebar/PageMarginControl.hxx | |
parent | 6727b20c71962eb41e4f878bd932902fa13e315f (diff) |
V801: Decreased performance
Change-Id: I342cbf679e50175808f64469c7e5c208cb75d8db
Diffstat (limited to 'sw/source/uibase/sidebar/PageMarginControl.hxx')
-rw-r--r-- | sw/source/uibase/sidebar/PageMarginControl.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/sidebar/PageMarginControl.hxx b/sw/source/uibase/sidebar/PageMarginControl.hxx index 253a56b18278..908b1c6ba180 100644 --- a/sw/source/uibase/sidebar/PageMarginControl.hxx +++ b/sw/source/uibase/sidebar/PageMarginControl.hxx @@ -56,7 +56,7 @@ public: const SvxLongLRSpaceItem& aPageLRMargin, const SvxLongULSpaceItem& aPageULMargin, const bool bMirrored, - const Size aPageSize, + const Size& rPageSize, const bool bLandscape, const FieldUnit eFUnit, const SfxMapUnit eUnit ); @@ -103,7 +103,7 @@ private: DECL_LINK( ModifyLRMarginHdl, MetricField* ); DECL_LINK( ModifyULMarginHdl, MetricField* ); - void SetMetricFieldMaxValues( const Size aPageSize ); + void SetMetricFieldMaxValues(const Size& rPageSize); bool GetUserCustomValues(); void StoreUserCustomValues(); |