Kaydet (Commit) ee7f8cb1 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

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
üst ba26c5e6
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment