diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-05 05:58:45 +0100 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2014-12-05 16:10:36 +0100 |
commit | 41104b6ea86aacd5bc5dc68b1b6daac8f31e4982 (patch) | |
tree | e4fdb53bb82060f4ce1d267f5ec95f7fadc0011b /sw/inc/pam.hxx | |
parent | cb11bca59019682c0d7eae837e2022bfe02ddc9d (diff) |
use unique() for checks for multiselection
Change-Id: I595dea68b67d1a40df7955bee7e6a935b4efdc1c
Diffstat (limited to 'sw/inc/pam.hxx')
-rw-r--r-- | sw/inc/pam.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/inc/pam.hxx b/sw/inc/pam.hxx index 4e34cc41c222..26d847fa331f 100644 --- a/sw/inc/pam.hxx +++ b/sw/inc/pam.hxx @@ -312,6 +312,8 @@ public: { return GetPrevInRing(); } const SwPaM* GetPrev() const { return GetPrevInRing(); } + bool IsMultiSelection() const + { return !unique(); } }; std::ostream &operator <<(std::ostream& s, const SwPaM& pam); |