summaryrefslogtreecommitdiffstats
path: root/chart2/source/controller/main/ChartController.cxx
diff options
context:
space:
mode:
authorIngrid Halama <iha@openoffice.org>2003-11-15 07:48:34 +0000
committerIngrid Halama <iha@openoffice.org>2003-11-15 07:48:34 +0000
commit020b4f324850c51d3c968ce688d0aa39cae043a2 (patch)
tree3a6f5a65685594d55366176ed8ca717c9dddf2a0 /chart2/source/controller/main/ChartController.cxx
parentsort polygon before splinecalculation for scatter chart (need better algorith... (diff)
downloadcore-020b4f324850c51d3c968ce688d0aa39cae043a2.tar.gz
core-020b4f324850c51d3c968ce688d0aa39cae043a2.zip
check Nullpointer
Diffstat (limited to 'chart2/source/controller/main/ChartController.cxx')
-rw-r--r--chart2/source/controller/main/ChartController.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/chart2/source/controller/main/ChartController.cxx b/chart2/source/controller/main/ChartController.cxx
index 95b65bd1fbcd..92c491a50579 100644
--- a/chart2/source/controller/main/ChartController.cxx
+++ b/chart2/source/controller/main/ChartController.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ChartController.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: bm $ $Date: 2003-11-04 15:35:04 $
+ * last change: $Author: iha $ $Date: 2003-11-15 08:48:34 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -477,7 +477,7 @@ void SAL_CALL ChartController
::impl_deleteView()
throw(uno::RuntimeException)
{
- if( m_pDrawViewWrapper->IsTextEdit() )
+ if( m_pDrawViewWrapper && m_pDrawViewWrapper->IsTextEdit() )
this->EndTextEdit();
delete m_pChartView; m_pChartView = NULL;