summaryrefslogtreecommitdiff
path: root/sc/source/core/tool/chartlock.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/core/tool/chartlock.cxx')
-rw-r--r--sc/source/core/tool/chartlock.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/tool/chartlock.cxx b/sc/source/core/tool/chartlock.cxx
index d71643dae148..9d07d881a218 100644
--- a/sc/source/core/tool/chartlock.cxx
+++ b/sc/source/core/tool/chartlock.cxx
@@ -57,7 +57,7 @@ std::vector< WeakReference< frame::XModel > > lcl_getAllLivingCharts( ScDocument
SdrObject* pObject = aIter.Next();
while (pObject)
{
- if( pDoc->IsChart( pObject ) )
+ if( ScDocument::IsChart( pObject ) )
{
uno::Reference< embed::XEmbeddedObject > xIPObj = static_cast<SdrOle2Obj*>(pObject)->GetObjRef();
uno::Reference< embed::XComponentSupplier > xCompSupp( xIPObj, uno::UNO_QUERY );