summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-03 12:56:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-03 12:56:45 +0100
commitf4e35c5c5e7888574f0074dae0523114dc78e5e1 (patch)
treef34c5b32750d2629b1645e16af6639ffea46f0a7 /editeng
parent50a402b3c2a6e64b1f7197580332e0e4e4c68d0d (diff)
WaE: -Werror=unused-variable
Change-Id: I910c2262f031f7916fbf242f31c193d8b030468b
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/editeng/impedit2.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index f72f991a1d07..2184d8f9cb3b 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -3302,7 +3302,6 @@ void ImpEditEngine::UpdateSelections()
// Use ParaPortions, as now also hidden paragraphs have to be
// taken into account!
sal_Int32 nPara = rInf.GetPosition();
- ParaPortion* pPPortion = GetParaPortions().SafeGetObject( nPara );
if (!GetParaPortions().SafeGetObject(nPara)) // Last paragraph
{
nPara = GetParaPortions().Count()-1;