summaryrefslogtreecommitdiff
path: root/sc/source/ui/drawfunc/chartsh.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/drawfunc/chartsh.cxx')
-rw-r--r--sc/source/ui/drawfunc/chartsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/drawfunc/chartsh.cxx b/sc/source/ui/drawfunc/chartsh.cxx
index b70ce15e57c2..70a46b8d5e71 100644
--- a/sc/source/ui/drawfunc/chartsh.cxx
+++ b/sc/source/ui/drawfunc/chartsh.cxx
@@ -73,7 +73,7 @@ void ScChartShell::GetExportAsGraphicState( SfxItemSet& rSet )
bEnable = true;
}
- if (GetViewShell()->isExportLocked())
+ if (GetObjectShell()->isExportLocked())
bEnable = false;
if( !bEnable )