summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx
index acd93d26aec1..4bbbbd468944 100644
--- a/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx
+++ b/sd/source/ui/slidesorter/controller/SlsInsertionIndicatorHandler.cxx
@@ -220,7 +220,7 @@ bool InsertionIndicatorHandler::IsInsertionTrivial (
// to check that the insertion position is not directly in front or
// directly behind the selection and thus moving the selection there
// would not change the model.
- return nInsertionIndex >= nFirstIndex && nInsertionIndex < nLastIndex;
+ return nInsertionIndex >= nFirstIndex && nInsertionIndex <= (nLastIndex+1);
}
bool InsertionIndicatorHandler::IsInsertionTrivial (const sal_Int8 nDndAction)