summaryrefslogtreecommitdiff
path: root/chart2/source/tools/ChartViewHelper.cxx
diff options
context:
space:
mode:
authorPhilipp Hofer <philipp.hofer@protonmail.com>2020-11-12 12:50:27 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2020-11-22 01:57:32 +0100
commit79b6055acd1ea27a9f054e6980abbe2024cdc4a2 (patch)
tree1f441f303313ef5500e4b24a596c33640837b787 /chart2/source/tools/ChartViewHelper.cxx
parent315f270d2db7541e9400852b070afb30f371f644 (diff)
tdf#123936 Formatting files in module chart2 with clang-format
Change-Id: Ie4dea73190040e5716fe531cf35fae20d7e175db Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105650 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'chart2/source/tools/ChartViewHelper.cxx')
-rw-r--r--chart2/source/tools/ChartViewHelper.cxx18
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");
}