summaryrefslogtreecommitdiff
path: root/svtools/source/uno/treecontrolpeer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/uno/treecontrolpeer.cxx')
-rw-r--r--svtools/source/uno/treecontrolpeer.cxx66
1 files changed, 33 insertions, 33 deletions
diff --git a/svtools/source/uno/treecontrolpeer.cxx b/svtools/source/uno/treecontrolpeer.cxx
index 4d46b5039b31..b4bbbe61cfc1 100644
--- a/svtools/source/uno/treecontrolpeer.cxx
+++ b/svtools/source/uno/treecontrolpeer.cxx
@@ -487,7 +487,7 @@ UnoTreeListBoxImpl& TreeControlPeer::getTreeListBoxOrThrow() const throw (Runtim
void TreeControlPeer::ChangeNodesSelection( const Any& rSelection, bool bSelect, bool bSetSelection ) throw( RuntimeException, IllegalArgumentException )
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
@@ -549,7 +549,7 @@ void TreeControlPeer::ChangeNodesSelection( const Any& rSelection, bool bSelect,
sal_Bool SAL_CALL TreeControlPeer::select( const Any& rSelection ) throw (IllegalArgumentException, RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
ChangeNodesSelection( rSelection, true, true );
return sal_True;
}
@@ -558,7 +558,7 @@ sal_Bool SAL_CALL TreeControlPeer::select( const Any& rSelection ) throw (Illega
Any SAL_CALL TreeControlPeer::getSelection() throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
@@ -625,7 +625,7 @@ void SAL_CALL TreeControlPeer::removeSelection( const Any& rSelection ) throw (I
void SAL_CALL TreeControlPeer::clearSelection() throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
getTreeListBoxOrThrow().SelectAll( FALSE );
}
@@ -633,7 +633,7 @@ void SAL_CALL TreeControlPeer::clearSelection() throw (RuntimeException)
sal_Int32 SAL_CALL TreeControlPeer::getSelectionCount() throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
return getTreeListBoxOrThrow().GetSelectionCount();
}
@@ -679,7 +679,7 @@ Any SAL_CALL TreeSelectionEnumeration::nextElement() throw (NoSuchElementExcepti
Reference< XEnumeration > SAL_CALL TreeControlPeer::createSelectionEnumeration() throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
@@ -703,7 +703,7 @@ Reference< XEnumeration > SAL_CALL TreeControlPeer::createSelectionEnumeration()
Reference< XEnumeration > SAL_CALL TreeControlPeer::createReverseSelectionEnumeration() throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
@@ -729,7 +729,7 @@ Reference< XEnumeration > SAL_CALL TreeControlPeer::createReverseSelectionEnumer
OUString SAL_CALL TreeControlPeer::getDefaultExpandedGraphicURL() throw (::com::sun::star::uno::RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
return msDefaultExpandedGraphicURL;
}
@@ -737,7 +737,7 @@ OUString SAL_CALL TreeControlPeer::getDefaultExpandedGraphicURL() throw (::com::
void SAL_CALL TreeControlPeer::setDefaultExpandedGraphicURL( const ::rtl::OUString& sDefaultExpandedGraphicURL ) throw (::com::sun::star::uno::RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
if( msDefaultExpandedGraphicURL != sDefaultExpandedGraphicURL )
{
if( sDefaultExpandedGraphicURL.getLength() )
@@ -767,7 +767,7 @@ void SAL_CALL TreeControlPeer::setDefaultExpandedGraphicURL( const ::rtl::OUStri
OUString SAL_CALL TreeControlPeer::getDefaultCollapsedGraphicURL() throw (::com::sun::star::uno::RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
return msDefaultCollapsedGraphicURL;
}
@@ -775,7 +775,7 @@ OUString SAL_CALL TreeControlPeer::getDefaultCollapsedGraphicURL() throw (::com:
void SAL_CALL TreeControlPeer::setDefaultCollapsedGraphicURL( const ::rtl::OUString& sDefaultCollapsedGraphicURL ) throw (::com::sun::star::uno::RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
if( msDefaultCollapsedGraphicURL != sDefaultCollapsedGraphicURL )
{
if( sDefaultCollapsedGraphicURL.getLength() )
@@ -805,7 +805,7 @@ void SAL_CALL TreeControlPeer::setDefaultCollapsedGraphicURL( const ::rtl::OUStr
sal_Bool SAL_CALL TreeControlPeer::isNodeExpanded( const Reference< XTreeNode >& xNode ) throw (RuntimeException, IllegalArgumentException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
UnoTreeListEntry* pEntry = getEntry( xNode );
@@ -816,7 +816,7 @@ sal_Bool SAL_CALL TreeControlPeer::isNodeExpanded( const Reference< XTreeNode >&
sal_Bool SAL_CALL TreeControlPeer::isNodeCollapsed( const Reference< XTreeNode >& xNode ) throw (RuntimeException, IllegalArgumentException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
return !isNodeExpanded( xNode );
}
@@ -824,7 +824,7 @@ sal_Bool SAL_CALL TreeControlPeer::isNodeCollapsed( const Reference< XTreeNode >
void SAL_CALL TreeControlPeer::makeNodeVisible( const Reference< XTreeNode >& xNode ) throw (RuntimeException, ExpandVetoException, IllegalArgumentException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
UnoTreeListEntry* pEntry = getEntry( xNode );
@@ -836,7 +836,7 @@ void SAL_CALL TreeControlPeer::makeNodeVisible( const Reference< XTreeNode >& xN
sal_Bool SAL_CALL TreeControlPeer::isNodeVisible( const Reference< XTreeNode >& xNode ) throw (RuntimeException, IllegalArgumentException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
UnoTreeListEntry* pEntry = getEntry( xNode );
@@ -847,7 +847,7 @@ sal_Bool SAL_CALL TreeControlPeer::isNodeVisible( const Reference< XTreeNode >&
void SAL_CALL TreeControlPeer::expandNode( const Reference< XTreeNode >& xNode ) throw (RuntimeException, ExpandVetoException, IllegalArgumentException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
UnoTreeListEntry* pEntry = getEntry( xNode );
@@ -859,7 +859,7 @@ void SAL_CALL TreeControlPeer::expandNode( const Reference< XTreeNode >& xNode )
void SAL_CALL TreeControlPeer::collapseNode( const Reference< XTreeNode >& xNode ) throw (RuntimeException, ExpandVetoException, IllegalArgumentException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
UnoTreeListEntry* pEntry = getEntry( xNode );
@@ -885,7 +885,7 @@ void SAL_CALL TreeControlPeer::removeTreeExpansionListener( const Reference< XTr
Reference< XTreeNode > SAL_CALL TreeControlPeer::getNodeForLocation( sal_Int32 x, sal_Int32 y ) throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
@@ -903,7 +903,7 @@ Reference< XTreeNode > SAL_CALL TreeControlPeer::getNodeForLocation( sal_Int32 x
Reference< XTreeNode > SAL_CALL TreeControlPeer::getClosestNodeForLocation( sal_Int32 x, sal_Int32 y ) throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
@@ -921,7 +921,7 @@ Reference< XTreeNode > SAL_CALL TreeControlPeer::getClosestNodeForLocation( sal_
awt::Rectangle SAL_CALL TreeControlPeer::getNodeRect( const Reference< XTreeNode >& i_Node ) throw (IllegalArgumentException, RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
UnoTreeListEntry* pEntry = getEntry( i_Node, true );
@@ -934,7 +934,7 @@ awt::Rectangle SAL_CALL TreeControlPeer::getNodeRect( const Reference< XTreeNode
sal_Bool SAL_CALL TreeControlPeer::isEditing( ) throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
return rTree.IsEditingActive() ? sal_True : sal_False;
@@ -944,7 +944,7 @@ sal_Bool SAL_CALL TreeControlPeer::isEditing( ) throw (RuntimeException)
sal_Bool SAL_CALL TreeControlPeer::stopEditing() throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
if( rTree.IsEditingActive() )
@@ -962,7 +962,7 @@ sal_Bool SAL_CALL TreeControlPeer::stopEditing() throw (RuntimeException)
void SAL_CALL TreeControlPeer::cancelEditing( ) throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
rTree.EndEditing(FALSE);
@@ -972,7 +972,7 @@ void SAL_CALL TreeControlPeer::cancelEditing( ) throw (RuntimeException)
void SAL_CALL TreeControlPeer::startEditingAtNode( const Reference< XTreeNode >& xNode ) throw (IllegalArgumentException, RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
UnoTreeListEntry* pEntry = getEntry( xNode );
@@ -1042,7 +1042,7 @@ bool TreeControlPeer::onEditedEntry( UnoTreeListEntry* pEntry, const XubString&
void SAL_CALL TreeControlPeer::treeNodesChanged( const ::com::sun::star::awt::tree::TreeDataModelEvent& rEvent ) throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
if( mnEditLock != 0 )
return;
@@ -1052,7 +1052,7 @@ void SAL_CALL TreeControlPeer::treeNodesChanged( const ::com::sun::star::awt::tr
void SAL_CALL TreeControlPeer::treeNodesInserted( const ::com::sun::star::awt::tree::TreeDataModelEvent& rEvent ) throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
if( mnEditLock != 0 )
return;
@@ -1062,7 +1062,7 @@ void SAL_CALL TreeControlPeer::treeNodesInserted( const ::com::sun::star::awt::t
void SAL_CALL TreeControlPeer::treeNodesRemoved( const ::com::sun::star::awt::tree::TreeDataModelEvent& rEvent ) throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
if( mnEditLock != 0 )
return;
@@ -1072,7 +1072,7 @@ void SAL_CALL TreeControlPeer::treeNodesRemoved( const ::com::sun::star::awt::tr
void SAL_CALL TreeControlPeer::treeStructureChanged( const ::com::sun::star::awt::tree::TreeDataModelEvent& rEvent ) throw (RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
if( mnEditLock != 0 )
return;
@@ -1242,7 +1242,7 @@ OUString TreeControlPeer::getEntryString( const Any& rValue )
void SAL_CALL TreeControlPeer::disposing( const ::com::sun::star::lang::EventObject& ) throw(::com::sun::star::uno::RuntimeException)
{
// model is disposed, so we clear our tree
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
rTree.Clear();
mxDataModel.clear();
@@ -1282,7 +1282,7 @@ void TreeControlPeer::onChangeDataModel( UnoTreeListBoxImpl& rTree, const Refere
::com::sun::star::awt::Size TreeControlPeer::getMinimumSize() throw(RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
::com::sun::star::awt::Size aSz;
/* todo
@@ -1300,7 +1300,7 @@ void TreeControlPeer::onChangeDataModel( UnoTreeListBoxImpl& rTree, const Refere
::com::sun::star::awt::Size TreeControlPeer::calcAdjustedSize( const ::com::sun::star::awt::Size& rNewSize ) throw(RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
::com::sun::star::awt::Size aSz = rNewSize;
/* todo
@@ -1317,7 +1317,7 @@ void TreeControlPeer::onChangeDataModel( UnoTreeListBoxImpl& rTree, const Refere
void TreeControlPeer::setProperty( const ::rtl::OUString& PropertyName, const Any& aValue) throw(RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
UnoTreeListBoxImpl& rTree = getTreeListBoxOrThrow();
@@ -1420,7 +1420,7 @@ void TreeControlPeer::setProperty( const ::rtl::OUString& PropertyName, const An
Any TreeControlPeer::getProperty( const ::rtl::OUString& PropertyName ) throw(RuntimeException)
{
- ::vos::OGuard aGuard( GetMutex() );
+ ::osl::SolarMutexGuard aGuard( GetMutex() );
const sal_uInt16 nPropId = GetPropertyId( PropertyName );
if( (nPropId >= BASEPROPERTY_TREE_START) && (nPropId <= BASEPROPERTY_TREE_END) )