diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 09:28:31 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 13:07:40 +0000 |
commit | 32f95a35514701ed16413125b440c16d90f52b4a (patch) | |
tree | 25ac5edca15ee02bc937ee47116c2197559da4cd /tools | |
parent | 0f98299f7aa44bbb55c1bfeddca7799f727d14b0 (diff) |
V813: Decreased performance
Change-Id: I8a7528366156b288dc422b09cff0d5a32cde3c91
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/generic/b3dtrans.cxx | 4 | ||||
-rw-r--r-- | tools/source/rc/resmgr.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/source/generic/b3dtrans.cxx b/tools/source/generic/b3dtrans.cxx index f37048836e8b..d7c22b07be41 100644 --- a/tools/source/generic/b3dtrans.cxx +++ b/tools/source/generic/b3dtrans.cxx @@ -168,10 +168,10 @@ void B3dTransformationSet::PostSetObjectTrans() maInvObjectTrans.invert(); } -void B3dTransformationSet::SetOrientation( basegfx::B3DPoint aVRP, basegfx::B3DVector aVPN, basegfx::B3DVector aVUP) +void B3dTransformationSet::SetOrientation(const basegfx::B3DPoint& rVRP, const basegfx::B3DVector& rVPN, const basegfx::B3DVector& rVUP) { maOrientation.identity(); - Orientation(maOrientation, aVRP, aVPN, aVUP); + Orientation(maOrientation, rVRP, rVPN, rVUP); mbInvTransObjectToEyeValid = false; mbObjectToDeviceValid = false; diff --git a/tools/source/rc/resmgr.cxx b/tools/source/rc/resmgr.cxx index ebd6fc3a86ec..56ad50e00de5 100644 --- a/tools/source/rc/resmgr.cxx +++ b/tools/source/rc/resmgr.cxx @@ -1543,9 +1543,9 @@ SimpleResMgr::~SimpleResMgr() delete m_pResImpl; } -SimpleResMgr* SimpleResMgr::Create( const sal_Char* pPrefixName, LanguageTag aLocale ) +SimpleResMgr* SimpleResMgr::Create(const sal_Char* pPrefixName, const LanguageTag& rLocale) { - return new SimpleResMgr( pPrefixName, aLocale ); + return new SimpleResMgr(pPrefixName, rLocale); } bool SimpleResMgr::IsAvailable( RESOURCE_TYPE _resourceType, sal_uInt32 _resourceId ) |