diff options
Diffstat (limited to 'dbaccess/source/ui/querydesign/QueryViewSwitch.cxx')
-rw-r--r-- | dbaccess/source/ui/querydesign/QueryViewSwitch.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx index be066e36512a..f114478dee8b 100644 --- a/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx +++ b/dbaccess/source/ui/querydesign/QueryViewSwitch.cxx @@ -143,7 +143,7 @@ void OQueryViewSwitch::paste() OQueryContainerWindow* OQueryViewSwitch::getContainer() const { - vcl::Window* pDesignParent = getDesignView() ? getDesignView()->GetParent() : NULL; + vcl::Window* pDesignParent = getDesignView() ? getDesignView()->GetParent() : nullptr; return static_cast< OQueryContainerWindow* >( pDesignParent ); } @@ -247,7 +247,7 @@ bool OQueryViewSwitch::impl_postViewSwitch( const bool i_bGraphicalDesign, const OAddTableDlg* OQueryViewSwitch::getAddTableDialog() { if ( !m_pDesignView ) - return NULL; + return nullptr; return m_pDesignView->getController().getAddTableDialog(); } |