diff options
Diffstat (limited to 'sdext/source/presenter/PresenterTextView.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterTextView.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx index 4feb8d92ad21..eb995dd935b3 100644 --- a/sdext/source/presenter/PresenterTextView.cxx +++ b/sdext/source/presenter/PresenterTextView.cxx @@ -1096,8 +1096,8 @@ void PresenterTextCaret::SetPosition ( const sal_Int32 nParagraphIndex, const sal_Int32 nCharacterIndex) { - if (!(mnParagraphIndex != nParagraphIndex - || mnCharacterIndex != nCharacterIndex)) + if (mnParagraphIndex == nParagraphIndex + && mnCharacterIndex == nCharacterIndex) return; if (mnParagraphIndex >= 0) |