diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-10-12 14:30:03 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-10-12 14:30:03 +0100 |
commit | 5ff6152b922c83ad7981ae117c180a0e9fdaf1df (patch) | |
tree | 4d88e6037eae78ea803bd1c377075a4f08d152e0 /sdext/source/presenter/PresenterTextView.cxx | |
parent | dabf797dd026262476189a0678c45b2219469e50 (diff) |
add some brackets to silence warnings
Diffstat (limited to 'sdext/source/presenter/PresenterTextView.cxx')
-rw-r--r-- | sdext/source/presenter/PresenterTextView.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx index 8cd308dc230f..b0cc9f4cc9c9 100644 --- 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 |