summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorCaol?n McNamara <cmc@openoffice.org>2010-07-06 10:40:26 +0100
committerCaol?n McNamara <cmc@openoffice.org>2010-07-06 10:40:26 +0100
commit0fa33ce500dd6ee81511dccacf4e88d624d113ed (patch)
treef7b68e223fe65b5e77d5c67506d1b6fe7418efa7 /sdext
parent9a1826777ad9e79663a5e942f3bee1d85619b79e (diff)
cmcfixes76: #i112868# WaE
Diffstat (limited to 'sdext')
-rwxr-xr-xsdext/source/presenter/PresenterTextView.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx
index 8cd308dc230f..b0cc9f4cc9c9 100755
--- a/sdext/source/presenter/PresenterTextView.cxx
+++ b/sdext/source/presenter/PresenterTextView.cxx
@@ -380,10 +380,12 @@ void PresenterTextView::MoveCaret (
// the previous or the start of the next paragraph.
pParagraph = GetParagraph(nParagraphIndex);
if (pParagraph)
+ {
if (nDistance<0)
nCharacterIndex = pParagraph->GetCharacterCount();
else
nCharacterIndex = 0;
+ }
}
}
else