42 SAL_WARN_IF(
isFormConnected(),
"extensions.biblio",
"FormControlContainer::~FormControlContainer: you should disconnect in your derived class!" );
49 ::osl::MutexGuard aGuard(
m_aMutex );
62 SAL_WARN_IF( !_rxForm.is(),
"extensions.biblio",
"FormControlContainer::connectForm: invalid form!" );
76 struct ControlModeSwitch
79 explicit ControlModeSwitch(
bool _bDesign ) :
bDesign( _bDesign ) { }
81 void operator() (
const Reference< XControl >& _rxControl )
const
83 if ( _rxControl.is() )
84 _rxControl->setDesignMode(
bDesign );
95 if ( xControlCont.is() )
97 const Sequence<Reference<XControl>> aControls = xControlCont->getControls();
102 ControlModeSwitch( _bDesign )
friend class OLoadListenerAdapter
mutable::osl::Mutex m_aMutex
#define TOOLS_WARN_EXCEPTION(area, stream)
#define SAL_WARN_IF(condition, area, stream)