diff options
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/view/main/VLegend.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx index 9117445ca3de..15ce88ccdeec 100644 --- a/chart2/source/view/main/VLegend.cxx +++ b/chart2/source/view/main/VLegend.cxx @@ -2,9 +2,9 @@ * * $RCSfile: VLegend.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: bm $ $Date: 2003-10-20 14:18:18 $ + * last change: $Author: bm $ $Date: 2003-10-21 08:22:20 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -527,6 +527,9 @@ void SAL_CALL VLegend::init( // static bool VLegend::isVisible( const uno::Reference< chart2::XLegend > & xLegend ) { + if( ! xLegend.is()) + return sal_False; + sal_Bool bShow = sal_False; try { |