diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-10 16:19:19 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-11 01:16:33 +0000 |
commit | ffe060e954d172f8603a4e9f625445e49132c7bf (patch) | |
tree | 4a939673cd597c0812261fe28da2103526ac51a2 /chart2/source/controller/dialogs/dlg_CreationWizard.cxx | |
parent | slightly odd stuff here (diff) | |
download | core-ffe060e954d172f8603a4e9f625445e49132c7bf.tar.gz core-ffe060e954d172f8603a4e9f625445e49132c7bf.zip |
V668 no sense in testing the result of new against null
Change-Id: I7783d96e40de7a8df794f143d2c7830bf3314218
Diffstat (limited to 'chart2/source/controller/dialogs/dlg_CreationWizard.cxx')
-rw-r--r-- | chart2/source/controller/dialogs/dlg_CreationWizard.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx index d7faca0c4571..9094da82cbf1 100644 --- a/chart2/source/controller/dialogs/dlg_CreationWizard.cxx +++ b/chart2/source/controller/dialogs/dlg_CreationWizard.cxx @@ -124,7 +124,7 @@ svt::OWizardPage* CreationWizard::createPage(WizardState nState) ChartTypeTabPage* pChartTypeTabPage = new ChartTypeTabPage(this,m_xChartModel,m_xCC,bDoLiveUpdate); pRet = pChartTypeTabPage; m_pTemplateProvider = pChartTypeTabPage; - if (m_pTemplateProvider && m_pDialogModel) + if (m_pDialogModel) m_pDialogModel->setTemplate( m_pTemplateProvider->getCurrentTemplate()); } break; |