diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2012-12-13 23:44:05 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2012-12-13 23:45:15 +0100 |
commit | aaa77d7473023fa9e5879d897230ff6dcb091f20 (patch) | |
tree | 08235616e32ee7e1761ce8175e873e7b3d4cb3a8 /sd | |
parent | fix non-PCH MSVC build (diff) | |
download | core-aaa77d7473023fa9e5879d897230ff6dcb091f20.tar.gz core-aaa77d7473023fa9e5879d897230ff6dcb091f20.zip |
Some cppcheck cleaning
Change-Id: Iaa53d523436d36483b901a913c2c66edbb451f6c
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/func/fuoltext.cxx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/sd/source/ui/func/fuoltext.cxx b/sd/source/ui/func/fuoltext.cxx index 7f7e385eabcc..4def9317f6f1 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) { |