From ee7f8cb10178fbc348210f6dea0e2ae64964ab6d Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 13 May 2013 09:27:29 +0300 Subject: 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 --- sw/source/ui/docvw/edtwin.cxx | 1 - 1 file changed, 1 deletion(-) 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(); -- cgit v1.2.3