summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/CommandDispatchContainer.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-06 15:49:35 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-06 17:08:55 +0000
commit567f51192483059ec57c16a6045141746d4b01f9 (patch)
treee3f998a5fc8466ab30a2e11aa7ea1d16c2523fa5 /chart2/source/controller/main/CommandDispatchContainer.cxx
parentvcldemo: add a tooltip to debug rendering issue. (diff)
downloadcore-567f51192483059ec57c16a6045141746d4b01f9.tar.gz
core-567f51192483059ec57c16a6045141746d4b01f9.zip
V801: Decreased performance
Change-Id: I97c7977fdfea57b5d1c45ce0c5902b74cc719db9
Diffstat (limited to 'chart2/source/controller/main/CommandDispatchContainer.cxx')
-rw-r--r--chart2/source/controller/main/CommandDispatchContainer.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/main/CommandDispatchContainer.cxx b/chart2/source/controller/main/CommandDispatchContainer.cxx
index 7c6e72d6bcf2..172f8b17be3b 100644
--- a/chart2/source/controller/main/CommandDispatchContainer.cxx
+++ b/chart2/source/controller/main/CommandDispatchContainer.cxx
@@ -64,11 +64,11 @@ void CommandDispatchContainer::setModel(
}
void CommandDispatchContainer::setChartDispatch(
- const Reference< frame::XDispatch > xChartDispatch,
+ const Reference< frame::XDispatch >& rChartDispatch,
const ::std::set< OUString > & rChartCommands )
{
- OSL_ENSURE(xChartDispatch.is(),"Invalid fall back dispatcher!");
- m_xChartDispatcher.set( xChartDispatch );
+ OSL_ENSURE(rChartDispatch.is(),"Invalid fall back dispatcher!");
+ m_xChartDispatcher.set( rChartDispatch );
m_aChartCommands = rChartCommands;
m_aToBeDisposedDispatches.push_back( m_xChartDispatcher );
}