summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2017-11-26 21:51:26 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2017-12-08 16:17:55 +0100
commit8f4c5a34b9e8704035c6ec770fc2947eb9964502 (patch)
tree9bd9a083366b0570aba82ab44bceee11b36c8d2a /sd
parentd67eaa235db15853b3b454f2ef45c9a72529a3dc (diff)
GetMarkableObjCount() is only compared against 1
Change-Id: I390b260fe481c7db73a065dd271c78a5df188ccc
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/func/fudraw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/func/fudraw.cxx b/sd/source/ui/func/fudraw.cxx
index bf1d2ba36699..008321e0b0ee 100644
--- a/sd/source/ui/func/fudraw.cxx
+++ b/sd/source/ui/func/fudraw.cxx
@@ -372,7 +372,7 @@ bool FuDraw::KeyInput(const KeyEvent& rKEvt)
if(!mpView->MarkNextObj( !aCode.IsShift() ))
{
//If there is only one object, don't do the UnmarkAllObj() & MarkNextObj().
- if ( mpView->GetMarkableObjCount() > 1 && mpView->AreObjectsMarked() )
+ if ( mpView->HasMultipleMarkableObjects() && mpView->AreObjectsMarked() )
{
// No next object: go over open end and get first from
// the other side