summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-01-25 10:19:19 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-01-25 10:26:37 +0000
commit361d6d13caed21c76e31d321cfa8385cddb3b2a0 (patch)
tree5e54ed261f7e9c8368497999f01f71e678dcd6a2
parent946056f654ae9181dfa947ae9511610f04421706 (diff)
WaE: gcc 4.6.0 various warningsLO-BASE-INTEGRATION-DEV300_m98
-rw-r--r--sdext/source/presenter/PresenterTextView.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx
index 5773b2d..8b1f5a3 100644
--- a/sdext/source/presenter/PresenterTextView.cxx
+++ b/sdext/source/presenter/PresenterTextView.cxx
@@ -917,9 +917,7 @@ void PresenterTextParagraph::AddWord (
{
sal_Int32 nLineStart (0);
if ( ! maLines.empty())
- {
nLineStart = rCurrentLine.startPos;
- }
const ::rtl::OUString sLineCandidate (
msParagraphText.copy(nLineStart, nWordBoundary-nLineStart));