diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 12:47:57 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 12:47:57 +0000 |
commit | dfde02f3e07349311efcb3c8e5b9d53f60cf8693 (patch) | |
tree | c69e645f1abf8de2b127e1a2a3871e0bd313da83 /tools/source/memtools | |
parent | c6ce0af41a75bba4dbf3c161e967449ad327fa14 (diff) |
INTEGRATION: CWS warnings01 (1.2.8); FILE MERGED
2005/10/27 12:29:10 sb 1.2.8.3: #i53898# Made code warning-free.
2005/10/14 11:19:38 sb 1.2.8.2: #i53898# Made code warning-free; cleanup.
2005/10/13 13:24:30 sb 1.2.8.1: #i53898# Removed code for obsolete platforms.
Diffstat (limited to 'tools/source/memtools')
-rw-r--r-- | tools/source/memtools/multisel.cxx | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/tools/source/memtools/multisel.cxx b/tools/source/memtools/multisel.cxx index a4590be47739..ed91a730cf7b 100644 --- a/tools/source/memtools/multisel.cxx +++ b/tools/source/memtools/multisel.cxx @@ -4,9 +4,9 @@ * * $RCSfile: multisel.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: rt $ $Date: 2005-09-09 14:29:15 $ + * last change: $Author: hr $ $Date: 2006-06-19 13:47:57 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -43,8 +43,6 @@ #include <debug.hxx> #include <multisel.hxx> -#pragma hdrstop - #ifdef MI_DEBUG #define DBG(x) x #else @@ -130,8 +128,8 @@ BOOL MultiSelection::ImplMergeSubSelections( ULONG nPos1, ULONG nPos2 ) MultiSelection::MultiSelection(): aTotRange( 0, -1 ), - nSelCount(0), nCurSubSel(0), + nSelCount(0), bCurValid(FALSE), bSelectNew(FALSE) { @@ -141,13 +139,13 @@ MultiSelection::MultiSelection(): MultiSelection::MultiSelection( const UniString& rString, sal_Unicode cRange, sal_Unicode cSep ): aTotRange(0,RANGE_MAX), - nSelCount(0), nCurSubSel(0), + nSelCount(0), bCurValid(FALSE), bSelectNew(FALSE) { // Dies ist nur ein Schnellschuss und sollte bald optimiert, - // an die verschiedenen Systeme (MAC, UNIX etc.) + // an die verschiedenen Systeme (UNIX etc.) // und die gewuenschte Eingabe-Syntax angepasst werden. UniString aStr( rString ); @@ -299,8 +297,8 @@ MultiSelection::MultiSelection( const UniString& rString, sal_Unicode cRange, sa MultiSelection::MultiSelection( const MultiSelection& rOrig ) : aTotRange(rOrig.aTotRange), - bCurValid(rOrig.bCurValid), nSelCount(rOrig.nSelCount), + bCurValid(rOrig.bCurValid), bSelectNew(FALSE) { if ( bCurValid ) @@ -318,8 +316,8 @@ MultiSelection::MultiSelection( const MultiSelection& rOrig ) : MultiSelection::MultiSelection( const Range& rRange ): aTotRange(rRange), - nSelCount(0), nCurSubSel(0), + nSelCount(0), bCurValid(FALSE), bSelectNew(FALSE) { @@ -742,7 +740,7 @@ long MultiSelection::FirstSelected( BOOL bInverse ) // ----------------------------------------------------------------------- -long MultiSelection::LastSelected( BOOL bInverse ) +long MultiSelection::LastSelected() { nCurSubSel = aSels.Count() - 1; bCurValid = aSels.Count() > 0; |