summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh4.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2012-02-01 15:54:08 -0500
committerKohei Yoshida <kohei.yoshida@suse.com>2012-02-01 20:21:05 -0500
commit9ad6925552b6c6a366bd8a349a3bd78eb2d4bb92 (patch)
treed413906c536518867bde6cedffe2feaf59d16ed0 /sc/source/ui/docshell/docsh4.cxx
parent1f290abba0bb70c1ecf9d168c0d6c8c564d302ec (diff)
We don't really need GetCount().
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r--sc/source/ui/docshell/docsh4.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh4.cxx b/sc/source/ui/docshell/docsh4.cxx
index 2760a394123e..40c35f983c5e 100644
--- a/sc/source/ui/docshell/docsh4.cxx
+++ b/sc/source/ui/docshell/docsh4.cxx
@@ -1223,7 +1223,7 @@ void ScDocShell::DoRecalc( bool bApi )
// doppelt gepainted werden.
ScChartListenerCollection* pCharts = aDocument.GetChartListenerCollection();
- if ( pCharts && pCharts->GetCount() )
+ if ( pCharts && pCharts->HasListeners() )
PostPaintGridAll();
else
PostDataChanged();