From 03a9f139bd9ea1a4f9096fc982e6b326def58532 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 19 Sep 2012 13:15:15 +0200 Subject: ComponentContext::getUnoContext -> getComponentContext simplification ...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea --- reportdesign/source/ui/report/ReportController.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'reportdesign/source/ui') diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx index ad1074589e46..e1f076fa974f 100644 --- a/reportdesign/source/ui/report/ReportController.cxx +++ b/reportdesign/source/ui/report/ReportController.cxx @@ -57,9 +57,9 @@ #include "rptui_slotid.hrc" #include "reportformula.hxx" -#include #include #include +#include #include #include #include @@ -1701,7 +1701,7 @@ void OReportController::impl_initialize( ) listen(true); setEditable( !m_aReportModel->IsReadOnly() ); - m_xFormatter.set(util::NumberFormatter::create(comphelper::ComponentContext(getORB()).getUNOContext()), UNO_QUERY_THROW); + m_xFormatter.set(util::NumberFormatter::create(comphelper::getComponentContext(getORB())), UNO_QUERY_THROW); m_xFormatter->attachNumberFormatsSupplier(Reference< XNumberFormatsSupplier>(m_xReportDefinition,uno::UNO_QUERY)); ::comphelper::MediaDescriptor aDescriptor( m_xReportDefinition->getArgs() ); -- cgit