LibreOffice Module sc (master) 1
|
All current charts in the calc will be locked in constructor and unlocked in destructor. More...
#include <chartlock.hxx>
Public Member Functions | |
ScChartLockGuard (ScDocument *pDoc) | |
~ScChartLockGuard () | |
void | AlsoLockThisChart (const css::uno::Reference< css::frame::XModel > &xModel) |
Private Member Functions | |
ScChartLockGuard (const ScChartLockGuard &)=delete | |
Private Attributes | |
std::vector< css::uno::WeakReference< css::frame::XModel > > | maChartModels |
All current charts in the calc will be locked in constructor and unlocked in destructor.
Definition at line 35 of file chartlock.hxx.
ScChartLockGuard::ScChartLockGuard | ( | ScDocument * | pDoc | ) |
Definition at line 83 of file chartlock.cxx.
References maChartModels, TOOLS_WARN_EXCEPTION, and xModel.
ScChartLockGuard::~ScChartLockGuard | ( | ) |
Definition at line 101 of file chartlock.cxx.
References maChartModels, TOOLS_WARN_EXCEPTION, and xModel.
|
privatedelete |
void ScChartLockGuard::AlsoLockThisChart | ( | const css::uno::Reference< css::frame::XModel > & | xModel | ) |
Definition at line 118 of file chartlock.cxx.
References maChartModels, TOOLS_WARN_EXCEPTION, and xModel.
|
private |
Definition at line 44 of file chartlock.hxx.
Referenced by AlsoLockThisChart(), ScChartLockGuard(), and ~ScChartLockGuard().