Kaydet (Commit) 13c9628c authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Bail out early if it's not a chart module.

Change-Id: I2e487b79671153786f02f12b4aac2b32476585e4
üst 34100ec1
......@@ -439,8 +439,8 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, Window* pWin, ScDrawView*
if( ! rReq.IsAPI() )
rReq.Done();
if( SvtModuleOptions().IsChart() )
{
if (!SvtModuleOptions().IsChart())
return;
// BM/IHA --
......@@ -778,7 +778,6 @@ FuInsertChart::FuInsertChart(ScTabViewShell* pViewSh, Window* pWin, ScDrawView*
}
// BM/IHA --
}
}
void FuInsertChart::Activate()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment