chart2/source/controller/main/ChartController.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit c5feb9ad79c9c830ca824e29277ff41c5cc24e7d Author: Stephan Bergmann <sberg...@redhat.com> Date: Fri Oct 21 15:30:55 2016 +0200 Minor improvement of previous commit Change-Id: I1ab0d8756be5f8bf60c6bac3e9217db71e8e05a3 diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx index a4a6417..ce70a16 100644 --- a/chart2/source/controller/main/ChartController.cxx +++ b/chart2/source/controller/main/ChartController.cxx @@ -278,7 +278,7 @@ css::uno::Reference<css::chart2::XChartType> getChartType( const css::uno::Reference<css::chart2::XChartDocument>& xChartDoc) { Reference <chart2::XDiagram > xDiagram = xChartDoc->getFirstDiagram(); - if (xDiagram == nullptr) { + if (!xDiagram.is()) { return css::uno::Reference<css::chart2::XChartType>(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits