sd/source/ui/func/fuoltext.cxx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-)
New commits: commit aaa77d7473023fa9e5879d897230ff6dcb091f20 Author: Julien Nabet <serval2...@yahoo.fr> Date: Thu Dec 13 23:44:05 2012 +0100 Some cppcheck cleaning Change-Id: Iaa53d523436d36483b901a913c2c66edbb451f6c diff --git a/sd/source/ui/func/fuoltext.cxx b/sd/source/ui/func/fuoltext.cxx index 7f7e385..4def931 100644 --- a/sd/source/ui/func/fuoltext.cxx +++ b/sd/source/ui/func/fuoltext.cxx @@ -106,11 +106,9 @@ FunctionReference FuOutlineText::Create( ViewShell* pViewSh, ::sd::Window* pWin, sal_Bool FuOutlineText::MouseButtonDown(const MouseEvent& rMEvt) { - sal_Bool bReturn = sal_False; - mpWindow->GrabFocus(); - bReturn = pOutlineView->GetViewByWindow(mpWindow)->MouseButtonDown(rMEvt); + sal_Bool bReturn = pOutlineView->GetViewByWindow(mpWindow)->MouseButtonDown(rMEvt); if (bReturn) { @@ -133,9 +131,7 @@ sal_Bool FuOutlineText::MouseButtonDown(const MouseEvent& rMEvt) sal_Bool FuOutlineText::MouseMove(const MouseEvent& rMEvt) { - sal_Bool bReturn = sal_False; - - bReturn = pOutlineView->GetViewByWindow(mpWindow)->MouseMove(rMEvt); + sal_Bool bReturn = pOutlineView->GetViewByWindow(mpWindow)->MouseMove(rMEvt); if (!bReturn) { @@ -153,9 +149,7 @@ sal_Bool FuOutlineText::MouseMove(const MouseEvent& rMEvt) sal_Bool FuOutlineText::MouseButtonUp(const MouseEvent& rMEvt) { - sal_Bool bReturn = sal_False; - - bReturn = pOutlineView->GetViewByWindow(mpWindow)->MouseButtonUp(rMEvt); + sal_Bool bReturn = pOutlineView->GetViewByWindow(mpWindow)->MouseButtonUp(rMEvt); if (bReturn) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits