summaryrefslogtreecommitdiff
path: root/chart2/source/tools/ErrorBar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/ErrorBar.cxx')
-rw-r--r--chart2/source/tools/ErrorBar.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/chart2/source/tools/ErrorBar.cxx b/chart2/source/tools/ErrorBar.cxx
index 8cb31099d166..04512746c8d6 100644
--- a/chart2/source/tools/ErrorBar.cxx
+++ b/chart2/source/tools/ErrorBar.cxx
@@ -209,11 +209,18 @@ OUString getSourceRangeStrFromLabeledSequences( const uno::Sequence< uno::Refere
}
}
}
+ catch (uno::Exception const &)
+ {
+ css::uno::Any ex( cppu::getCaughtException() );
+ // we can't be sure that this is 100% safe and we don't want to kill the export
+ // we should at least check why the exception is thrown
+ SAL_WARN("chart2", "unexpected exception! " << exceptionToString(ex));
+ }
catch (...)
{
// we can't be sure that this is 100% safe and we don't want to kill the export
// we should at least check why the exception is thrown
- SAL_WARN("chart2", "unexpected exception!");
+ SAL_WARN("chart2", "unexpected exception! ");
}
}