diff options
Diffstat (limited to 'chart2/source/controller/sidebar/ChartAxisPanel.cxx')
-rw-r--r-- | chart2/source/controller/sidebar/ChartAxisPanel.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/sidebar/ChartAxisPanel.cxx b/chart2/source/controller/sidebar/ChartAxisPanel.cxx index bb7236097524..58fa4bbee981 100644 --- a/chart2/source/controller/sidebar/ChartAxisPanel.cxx +++ b/chart2/source/controller/sidebar/ChartAxisPanel.cxx @@ -297,10 +297,10 @@ VclPtr<vcl::Window> ChartAxisPanel::Create ( const css::uno::Reference<css::frame::XFrame>& rxFrame, ChartController* pController) { - if (pParent == NULL) - throw lang::IllegalArgumentException("no parent Window given to ChartAxisPanel::Create", NULL, 0); + if (pParent == nullptr) + throw lang::IllegalArgumentException("no parent Window given to ChartAxisPanel::Create", nullptr, 0); if ( ! rxFrame.is()) - throw lang::IllegalArgumentException("no XFrame given to ChartAxisPanel::Create", NULL, 1); + throw lang::IllegalArgumentException("no XFrame given to ChartAxisPanel::Create", nullptr, 1); return VclPtr<ChartAxisPanel>::Create( pParent, rxFrame, pController); |