LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ScChartLockGuard Class Referencefinal

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
 

Detailed Description

All current charts in the calc will be locked in constructor and unlocked in destructor.

Definition at line 35 of file chartlock.hxx.

Constructor & Destructor Documentation

◆ ScChartLockGuard() [1/2]

ScChartLockGuard::ScChartLockGuard ( ScDocument pDoc)

Definition at line 83 of file chartlock.cxx.

References maChartModels, TOOLS_WARN_EXCEPTION, and xModel.

◆ ~ScChartLockGuard()

ScChartLockGuard::~ScChartLockGuard ( )

Definition at line 101 of file chartlock.cxx.

References maChartModels, TOOLS_WARN_EXCEPTION, and xModel.

◆ ScChartLockGuard() [2/2]

ScChartLockGuard::ScChartLockGuard ( const ScChartLockGuard )
privatedelete

Member Function Documentation

◆ AlsoLockThisChart()

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.

Member Data Documentation

◆ maChartModels

std::vector< css::uno::WeakReference< css::frame::XModel > > ScChartLockGuard::maChartModels
private

Definition at line 44 of file chartlock.hxx.

Referenced by AlsoLockThisChart(), ScChartLockGuard(), and ~ScChartLockGuard().


The documentation for this class was generated from the following files: