44 std::vector< css::uno::WeakReference< css::frame::XModel > >
maChartModels;
All current charts in the calc will be locked in constructor and unlocked in destructor.
void AlsoLockThisChart(const css::uno::Reference< css::frame::XModel > &xModel)
ScChartLockGuard(ScDocument *pDoc)
ScChartLockGuard(const ScChartLockGuard &)=delete
std::vector< css::uno::WeakReference< css::frame::XModel > > maChartModels
Use this to lock all charts in the calc for a little time.
DECL_LINK(TimeoutHdl, Timer *, void)
void StartOrContinueLocking()
void AlsoLockThisChart(const css::uno::Reference< css::frame::XModel > &xModel)
ScTemporaryChartLock(const ScTemporaryChartLock &)=delete
ScTemporaryChartLock(ScDocument *pDoc)
std::unique_ptr< ScChartLockGuard > mapScChartLockGuard
Reference< XModel > xModel