diff options
Diffstat (limited to 'chart2/source/tools/ChartViewHelper.cxx')
-rw-r--r-- | chart2/source/tools/ChartViewHelper.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chart2/source/tools/ChartViewHelper.cxx b/chart2/source/tools/ChartViewHelper.cxx index f11ea7421c5a..8caaeddb1e94 100644 --- a/chart2/source/tools/ChartViewHelper.cxx +++ b/chart2/source/tools/ChartViewHelper.cxx @@ -30,23 +30,23 @@ namespace chart using namespace ::com::sun::star; using ::com::sun::star::uno::Reference; -void ChartViewHelper::setViewToDirtyState( const uno::Reference< frame::XModel >& xChartModel ) +void ChartViewHelper::setViewToDirtyState(const uno::Reference<frame::XModel>& xChartModel) { try { - uno::Reference< lang::XMultiServiceFactory > xFact( xChartModel, uno::UNO_QUERY ); - if( xFact.is() ) + uno::Reference<lang::XMultiServiceFactory> xFact(xChartModel, uno::UNO_QUERY); + if (xFact.is()) { - Reference< util::XModifyListener > xModifyListener( - xFact->createInstance( CHART_VIEW_SERVICE_NAME ), uno::UNO_QUERY ); - if( xModifyListener.is() ) + Reference<util::XModifyListener> xModifyListener( + xFact->createInstance(CHART_VIEW_SERVICE_NAME), uno::UNO_QUERY); + if (xModifyListener.is()) { - lang::EventObject aEvent( xChartModel ); - xModifyListener->modified( aEvent ); + lang::EventObject aEvent(xChartModel); + xModifyListener->modified(aEvent); } } } - catch( const uno::Exception & ) + catch (const uno::Exception&) { DBG_UNHANDLED_EXCEPTION("chart2"); } |