LibreOffice Module chart2 (master) 1
|
This guard calls lockControllers at the given Model in the CTOR and unlockControllers in the DTOR. More...
#include <ControllerLockGuard.hxx>
Public Member Functions | |
ControllerLockGuardUNO (rtl::Reference<::chart::ChartModel > xModel) | |
~ControllerLockGuardUNO () | |
Private Attributes | |
rtl::Reference<::chart::ChartModel > | mxModel |
This guard calls lockControllers at the given Model in the CTOR and unlockControllers in the DTOR.
Using this ensures that controllers do not remain locked when leaving a function even in case an exception is thrown.
Definition at line 39 of file ControllerLockGuard.hxx.
|
explicit |
Definition at line 29 of file ControllerLockGuard.cxx.
chart::ControllerLockGuardUNO::~ControllerLockGuardUNO | ( | ) |
Definition at line 35 of file ControllerLockGuard.cxx.
References mxModel.
|
private |
Definition at line 46 of file ControllerLockGuard.hxx.
Referenced by ControllerLockGuardUNO(), and ~ControllerLockGuardUNO().