summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbarange.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-04 16:29:43 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-04 17:01:52 +0000
commit429ff8877a0a8c864b6b1fc227f6efccb61b5be6 (patch)
tree4e04d30ec3cf0044a7cbefc7ca7c20c38ad67e37 /sc/source/ui/vba/vbarange.cxx
parent2567d8040d060525a1125a36e4e3704421833787 (diff)
V813: Decreased performance
Change-Id: Ib40140b97b53ed7affaf3a209a0a12a60ee7434c
Diffstat (limited to 'sc/source/ui/vba/vbarange.cxx')
-rw-r--r--sc/source/ui/vba/vbarange.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 64897586a5e2..992dce44e17b 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -213,10 +213,10 @@ static double lcl_Round2DecPlaces( double nVal )
return nVal;
}
-static uno::Any lcl_makeRange( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Any aAny, bool bIsRows, bool bIsColumns )
+static uno::Any lcl_makeRange( const uno::Reference< XHelperInterface >& rParent, const uno::Reference< uno::XComponentContext >& rContext, const uno::Any& rAny, bool bIsRows, bool bIsColumns )
{
- uno::Reference< table::XCellRange > xCellRange( aAny, uno::UNO_QUERY_THROW );
- return uno::makeAny( uno::Reference< excel::XRange >( new ScVbaRange( xParent, xContext, xCellRange, bIsRows, bIsColumns ) ) );
+ uno::Reference< table::XCellRange > xCellRange(rAny, uno::UNO_QUERY_THROW);
+ return uno::makeAny( uno::Reference< excel::XRange >( new ScVbaRange( rParent, rContext, xCellRange, bIsRows, bIsColumns ) ) );
}
static uno::Reference< excel::XRange > lcl_makeXRangeFromSheetCellRanges( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< sheet::XSheetCellRanges >& xLocSheetCellRanges, ScDocShell* pDoc )
@@ -1102,9 +1102,9 @@ public:
if ( !m_xCellRange.is() )
throw uno::RuntimeException();
}
- RangeHelper( const uno::Any aCellRange ) throw (uno::RuntimeException)
+ RangeHelper( const uno::Any& rCellRange ) throw (uno::RuntimeException)
{
- m_xCellRange.set( aCellRange, uno::UNO_QUERY_THROW );
+ m_xCellRange.set(rCellRange, uno::UNO_QUERY_THROW);
}
uno::Reference< sheet::XSheetCellRange > getSheetCellRange() throw (uno::RuntimeException)
{