diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-02 15:44:50 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-03 13:03:13 +0100 |
commit | c4abbb6e10ecd382fd4fe6816cd4f29ea7d931a5 (patch) | |
tree | 5103eb6d820d4c89f6c6a76d2bbfb419ed8372ce /chart2/source/tools/ChartModelHelper.cxx | |
parent | 22a95ea367cc005a382de23e51cba850b6dd5e6f (diff) |
inline ASSERT_EXCEPTION macro in chart2
Change-Id: I6bdcde5fd416531e2cdd3c9ec160833f1022247c
Reviewed-on: https://gerrit.libreoffice.org/44246
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/tools/ChartModelHelper.cxx')
-rw-r--r-- | chart2/source/tools/ChartModelHelper.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chart2/source/tools/ChartModelHelper.cxx b/chart2/source/tools/ChartModelHelper.cxx index 0eea7fdd9fed..f37d4d7581c9 100644 --- a/chart2/source/tools/ChartModelHelper.cxx +++ b/chart2/source/tools/ChartModelHelper.cxx @@ -18,7 +18,6 @@ */ #include <ChartModelHelper.hxx> -#include <macros.hxx> #include <DiagramHelper.hxx> #include <DataSourceHelper.hxx> #include <ControllerLockGuard.hxx> @@ -99,7 +98,7 @@ uno::Reference< XDiagram > ChartModelHelper::findDiagram( const uno::Reference< } catch( const uno::Exception & ex ) { - ASSERT_EXCEPTION( ex ); + SAL_WARN("chart2", "Exception caught. " << ex ); } return nullptr; } @@ -278,7 +277,7 @@ bool ChartModelHelper::setIncludeHiddenCells( bool bIncludeHiddenCells, ChartMod } catch (const uno::Exception& e) { - ASSERT_EXCEPTION(e); + SAL_WARN("chart2", "Exception caught. " << e); } return bChanged; } |