diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2003-05-26 07:13:00 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2003-05-26 07:13:00 +0000 |
commit | 13a9ab6071fe2cfe337e79f8bcfb6d49237173bd (patch) | |
tree | 82378593a4464ec4bd4fdd6e468743f04d65a33d | |
parent | 40a026ba824fccf0b6c9b6c6b9e9b9fa07f20179 (diff) |
INTEGRATION: CWS os10 (1.16.18); FILE MERGED
2003/05/13 13:01:42 os 1.16.18.1: #109438# new: IsMultiSelection
-rw-r--r-- | sw/inc/crsrsh.hxx | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sw/inc/crsrsh.hxx b/sw/inc/crsrsh.hxx index 9413ce71f1be..40c028133259 100644 --- a/sw/inc/crsrsh.hxx +++ b/sw/inc/crsrsh.hxx @@ -2,9 +2,9 @@ * * $RCSfile: crsrsh.hxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: vg $ $Date: 2003-04-17 16:02:54 $ + * last change: $Author: vg $ $Date: 2003-05-26 08:13:00 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -556,6 +556,8 @@ public: // Abfrage, ob ueberhaupt eine Selektion existiert, sprich der akt. Cursor // aufgespannt oder nicht der einzigste ist. CRSR_INLINE FASTBOOL IsSelection() const; + // returns if multiple cursors are available + CRSR_INLINE FASTBOOL IsMultiSelection() const; // Abfrage, ob ein kompletter Absatz selektiert wurde FASTBOOL IsSelFullPara() const; @@ -899,6 +901,10 @@ inline FASTBOOL SwCrsrShell::IsSelection() const return IsTableMode() || pCurCrsr->HasMark() || pCurCrsr->GetNext() != pCurCrsr; } +inline FASTBOOL SwCrsrShell::IsMultiSelection() const +{ + return pCurCrsr->GetNext() != pCurCrsr; +} inline FASTBOOL SwCrsrShell::IsSelOnePara() const { |