summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-05-13 09:27:29 +0300
committerTor Lillqvist <tml@iki.fi>2013-05-13 09:28:32 +0300
commitee7f8cb10178fbc348210f6dea0e2ae64964ab6d (patch)
tree7916eecf99c41e4344aa75c864aaddecb6c1aba2
parentba26c5e6330f5f1f38aab698b2b2c32cac7b5df3 (diff)
WaE: declaration shadows a local variable
As far as I can see, the outer variable with the same name already has the same value anyway, so it can be used. Change-Id: Ia041aa1161015d441e99db6e1d4decea6c6fac99
-rw-r--r--sw/source/ui/docvw/edtwin.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx
index ba6c20cb2fb8..0cebc02b1702 100644
--- a/sw/source/ui/docvw/edtwin.cxx
+++ b/sw/source/ui/docvw/edtwin.cxx
@@ -5195,7 +5195,6 @@ void SwEditWin::Command( const CommandEvent& rCEvt )
break;
case COMMAND_QUERYCHARPOSITION:
{
- SwWrtShell &rSh = m_rView.GetWrtShell();
sal_Bool bVertical = rSh.IsInVerticalText();
const SwPosition& rPos = *rSh.GetCrsr()->GetPoint();
SwDocShell* pDocSh = m_rView.GetDocShell();