[Libreoffice-commits] core.git: sd/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Tue Apr 19 06:20:01 UTC 2016
sd/source/ui/func/fuconstr.cxx | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
New commits:
commit 4740a1a553b1d69b1e381e3961085744244af26f
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Mon Apr 18 09:32:31 2016 +0000
cppcheck: silence known condition warning in sd
Change-Id: I918eb21eef5696295ed1b9eb86e04121651245f8
Reviewed-on: https://gerrit.libreoffice.org/24206
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: jan iversen <jani at documentfoundation.org>
diff --git a/sd/source/ui/func/fuconstr.cxx b/sd/source/ui/func/fuconstr.cxx
index cc433a3..8719f79 100644
--- a/sd/source/ui/func/fuconstr.cxx
+++ b/sd/source/ui/func/fuconstr.cxx
@@ -219,16 +219,11 @@ bool FuConstruct::MouseButtonUp(const MouseEvent& rMEvt)
/**
* Process keyboard input
- * @returns sal_True if a KeyEvent is being processed, sal_False otherwise
+ * @returns true if a KeyEvent is being processed, false otherwise
*/
bool FuConstruct::KeyInput(const KeyEvent& rKEvt)
{
- bool bReturn = false;
-
- if ( !bReturn )
- bReturn = FuDraw::KeyInput(rKEvt);
-
- return bReturn;
+ return FuDraw::KeyInput(rKEvt);;
}
void FuConstruct::Activate()
More information about the Libreoffice-commits
mailing list