sw/source/ui/docvw/edtwin.cxx | 1 - 1 file changed, 1 deletion(-) New commits: commit ee7f8cb10178fbc348210f6dea0e2ae64964ab6d Author: Tor Lillqvist <t...@iki.fi> Date: Mon May 13 09:27:29 2013 +0300
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 diff --git a/sw/source/ui/docvw/edtwin.cxx b/sw/source/ui/docvw/edtwin.cxx index ba6c20c..0cebc02 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(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits