summaryrefslogtreecommitdiff
path: root/sdext
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2011-01-25 09:53:19 +0100
committerDavid Tardon <dtardon@redhat.com>2011-01-25 09:53:19 +0100
commitc1a3958829cd00de0e6c12e60fc38548c3c28b49 (patch)
tree1d9d2a9d68bcc68264b9187c9f26424f3924b2bb /sdext
parent95e98e71996159e6d486f36777367a9d695d1ea8 (diff)
WaE: remove unused variables
Diffstat (limited to 'sdext')
-rw-r--r--sdext/source/presenter/PresenterTextView.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/sdext/source/presenter/PresenterTextView.cxx b/sdext/source/presenter/PresenterTextView.cxx
index bf2de798a72e..f04ecf715c16 100644
--- a/sdext/source/presenter/PresenterTextView.cxx
+++ b/sdext/source/presenter/PresenterTextView.cxx
@@ -1186,14 +1186,12 @@ awt::Rectangle PresenterTextParagraph::GetCharacterBounds (
{
// Find the line that contains the requested character and accumulate
// the previous line heights.
- sal_Int32 nFirstCharacterIndex (0);
- sal_Int32 nEndCharacterIndex (0);
double nX (mnXOrigin);
double nY (mnYOrigin + mnVerticalOffset + mnAscent);
const sal_Int8 nTextDirection (GetTextDirection());
for (sal_Int32 nLineIndex=0,nLineCount=maLines.size();
nLineIndex<nLineCount;
- ++nLineIndex, nFirstCharacterIndex=nEndCharacterIndex, nY+=mnLineHeight)
+ ++nLineIndex, nY+=mnLineHeight)
{
Line& rLine (maLines[nLineIndex]);
// Skip lines before the indexed character.