summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unochart.cxx
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-08-10 17:18:16 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-08-29 17:40:27 +0200
commitbd9a4e19227834381dd776d8fc13e5f1ecdf92b3 (patch)
treed7f01cceef53c7ef32a20644ef978a8e11b635db /sw/source/core/unocore/unochart.cxx
parent6e4f6ec445198f6252fdfed627a1c6d07557190a (diff)
ChartHelper::IsChart is useless
EmbeddedObjectRef has an own IsChart method with the same behavior. Change-Id: Ib06699186466bf3da2bd67d7c631a5216463fb14
Diffstat (limited to 'sw/source/core/unocore/unochart.cxx')
-rw-r--r--sw/source/core/unocore/unochart.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index d4ab8778d3d3..1dea221a236a 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -26,7 +26,6 @@
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
#include <svl/zforlist.hxx>
-#include <svx/charthelper.hxx>
#include <XMLRangeHelper.hxx>
#include <unochart.hxx>
@@ -64,7 +63,7 @@ void SwChartHelper::DoUpdateAllCharts( SwDoc* pDoc )
{
++aIdx;
if (0 != ( pONd = aIdx.GetNode().GetOLENode() ) &&
- ChartHelper::IsChart( pONd->GetOLEObj().GetObject() ) )
+ pONd->GetOLEObj().GetObject().IsChart() )
{
// Load the object and set modified