diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-01 15:54:08 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2012-02-01 20:21:05 -0500 |
commit | 9ad6925552b6c6a366bd8a349a3bd78eb2d4bb92 (patch) | |
tree | d413906c536518867bde6cedffe2feaf59d16ed0 /sc/source/ui/docshell/docsh4.cxx | |
parent | 1f290abba0bb70c1ecf9d168c0d6c8c564d302ec (diff) |
We don't really need GetCount().
Diffstat (limited to 'sc/source/ui/docshell/docsh4.cxx')
-rw-r--r-- | sc/source/ui/docshell/docsh4.cxx | 2 |
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(); |