diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-09-30 05:48:28 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-09-30 05:48:28 +0000 |
commit | 716636d558e9cc9b910da6d127314d2b20cdf0b6 (patch) | |
tree | d266019c3c89a0649074f3290439d74010ec618c /sc/source/ui/miscdlgs/conflictsdlg.cxx | |
parent | abda8e12d8cd23c2cd1bb870b097eddfdee38825 (diff) |
CWS-TOOLING: integrate CWS koheicoderemoval
Diffstat (limited to 'sc/source/ui/miscdlgs/conflictsdlg.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/conflictsdlg.cxx | 64 |
1 files changed, 32 insertions, 32 deletions
diff --git a/sc/source/ui/miscdlgs/conflictsdlg.cxx b/sc/source/ui/miscdlgs/conflictsdlg.cxx index 209829cad890..c0576c44e78b 100644 --- a/sc/source/ui/miscdlgs/conflictsdlg.cxx +++ b/sc/source/ui/miscdlgs/conflictsdlg.cxx @@ -79,19 +79,19 @@ bool ScConflictsListEntry::HasOwnAction( ULONG nOwnAction ) const // class ScConflictsListHelper //============================================================================= -bool ScConflictsListHelper::HasSharedAction( ScConflictsList& rConflictsList, ULONG nSharedAction ) -{ - ScConflictsList::const_iterator aEnd = rConflictsList.end(); - for ( ScConflictsList::const_iterator aItr = rConflictsList.begin(); aItr != aEnd; ++aItr ) - { - if ( aItr->HasSharedAction( nSharedAction ) ) - { - return true; - } - } - - return false; -} +//UNUSED2008-05 bool ScConflictsListHelper::HasSharedAction( ScConflictsList& rConflictsList, ULONG nSharedAction ) +//UNUSED2008-05 { +//UNUSED2008-05 ScConflictsList::const_iterator aEnd = rConflictsList.end(); +//UNUSED2008-05 for ( ScConflictsList::const_iterator aItr = rConflictsList.begin(); aItr != aEnd; ++aItr ) +//UNUSED2008-05 { +//UNUSED2008-05 if ( aItr->HasSharedAction( nSharedAction ) ) +//UNUSED2008-05 { +//UNUSED2008-05 return true; +//UNUSED2008-05 } +//UNUSED2008-05 } +//UNUSED2008-05 +//UNUSED2008-05 return false; +//UNUSED2008-05 } bool ScConflictsListHelper::HasOwnAction( ScConflictsList& rConflictsList, ULONG nOwnAction ) { @@ -433,10 +433,10 @@ void ScConflictsResolver::HandleAction( ScChangeAction* pAction, bool bIsSharedA // class ScConflictsListBox //============================================================================= -ScConflictsListBox::ScConflictsListBox( Window* pParent, WinBits nBits ) - :SvxRedlinTable( pParent, nBits ) -{ -} +//UNUSED2008-05 ScConflictsListBox::ScConflictsListBox( Window* pParent, WinBits nBits ) +//UNUSED2008-05 :SvxRedlinTable( pParent, nBits ) +//UNUSED2008-05 { +//UNUSED2008-05 } ScConflictsListBox::ScConflictsListBox( Window* pParent, const ResId& rResId ) :SvxRedlinTable( pParent, rResId ) @@ -447,21 +447,21 @@ ScConflictsListBox::~ScConflictsListBox() { } -ULONG ScConflictsListBox::GetRootEntryPos( const SvLBoxEntry* pRootEntry ) const -{ - ULONG nPos = 0; - SvLBoxEntry* pEntry = GetRootLevelParent( First() ); - while ( pEntry ) - { - if ( pEntry == pRootEntry ) - { - return nPos; - } - pEntry = NextSibling( pEntry ); - ++nPos; - } - return 0xffffffff; -} +//UNUSED2008-05 ULONG ScConflictsListBox::GetRootEntryPos( const SvLBoxEntry* pRootEntry ) const +//UNUSED2008-05 { +//UNUSED2008-05 ULONG nPos = 0; +//UNUSED2008-05 SvLBoxEntry* pEntry = GetRootLevelParent( First() ); +//UNUSED2008-05 while ( pEntry ) +//UNUSED2008-05 { +//UNUSED2008-05 if ( pEntry == pRootEntry ) +//UNUSED2008-05 { +//UNUSED2008-05 return nPos; +//UNUSED2008-05 } +//UNUSED2008-05 pEntry = NextSibling( pEntry ); +//UNUSED2008-05 ++nPos; +//UNUSED2008-05 } +//UNUSED2008-05 return 0xffffffff; +//UNUSED2008-05 } //============================================================================= |