sd/source/ui/func/fuconstr.cxx |    9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

New commits:
commit 4740a1a553b1d69b1e381e3961085744244af26f
Author: Jochen Nitschke <j.nitschke+loger...@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 <c...@libreoffice.org>
    Reviewed-by: jan iversen <j...@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()
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to