Lines Matching refs:nLockCount
969 sal_Int16 nLockCount = pDoc->GetNamedRangesLockCount(); in addActionLock() local
970 ++nLockCount; in addActionLock()
971 if ( nLockCount == 1 ) in addActionLock()
975 pDoc->SetNamedRangesLockCount( nLockCount ); in addActionLock()
982 sal_Int16 nLockCount = pDoc->GetNamedRangesLockCount(); in removeActionLock() local
983 if ( nLockCount > 0 ) in removeActionLock()
985 --nLockCount; in removeActionLock()
986 if ( nLockCount == 0 ) in removeActionLock()
990 pDoc->SetNamedRangesLockCount( nLockCount ); in removeActionLock()
1000 sal_Int16 nLockCount = pDoc->GetNamedRangesLockCount(); in setActionLocks() local
1001 if ( nLock == 0 && nLockCount > 0 ) in setActionLocks()
1005 if ( nLock > 0 && nLockCount == 0 ) in setActionLocks()
1017 sal_Int16 nLockCount = pDoc->GetNamedRangesLockCount(); in resetActionLocks() local
1018 if ( nLockCount > 0 ) in resetActionLocks()
1023 return nLockCount; in resetActionLocks()