summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/VAxisProperties.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 09:31:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-06-14 10:49:55 +0200
commitbba7ca803cfcb316882c5f32cd28f0aa0c67591b (patch)
tree4a26499c6571bc24fc4d73782bf4c452a33bce6a /chart2/source/view/axes/VAxisProperties.cxx
parentaf37bb23f63b209af1193e20177c3aacbd777543 (diff)
loplugin:logexceptionnicely in chart2
Change-Id: Ib7933723e5506578bbc85cc431d54d1ed8466376 Reviewed-on: https://gerrit.libreoffice.org/74019 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view/axes/VAxisProperties.cxx')
-rw-r--r--chart2/source/view/axes/VAxisProperties.cxx13
1 files changed, 7 insertions, 6 deletions
diff --git a/chart2/source/view/axes/VAxisProperties.cxx b/chart2/source/view/axes/VAxisProperties.cxx
index ee94a6dacf52..098401db5754 100644
--- a/chart2/source/view/axes/VAxisProperties.cxx
+++ b/chart2/source/view/axes/VAxisProperties.cxx
@@ -29,6 +29,7 @@
#include <com/sun/star/chart2/XAxis.hpp>
#include <sal/log.hxx>
+#include <tools/diagnose_ex.h>
#include <rtl/math.hxx>
using namespace ::com::sun::star;
@@ -235,9 +236,9 @@ void AxisProperties::initAxisPositioning( const uno::Reference< beans::XProperty
m_eTickmarkPos = css::chart::ChartAxisMarkPosition_AT_LABELS;
}
}
- catch( const uno::Exception& e )
+ catch( const uno::Exception& )
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
}
@@ -325,9 +326,9 @@ void AxisProperties::init( bool bCartesian )
m_aTickmarkPropertiesList.push_back( aTickmarkProperties );
}
}
- catch( const uno::Exception& e )
+ catch( const uno::Exception& )
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
}
@@ -376,9 +377,9 @@ void AxisLabelProperties::init( const uno::Reference< XAxis >& xAxisModel )
break;
}
}
- catch( const uno::Exception& e )
+ catch( const uno::Exception& )
{
- SAL_WARN("chart2", "Exception caught. " << e );
+ TOOLS_WARN_EXCEPTION("chart2", "" );
}
}
}