accessibility/source/extended/textwindowaccessibility.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit d9508c82330ffce6b20fb7ed13c7bcc01f298053
Author: Jochen Nitschke <j.nitschke+loger...@ok.de>
Date:   Mon Apr 18 08:56:02 2016 +0200

    cppcheck: silence known conditions warnings accessibility
    
    Change-Id: I4dd933038c344e51f285acd1b11c3b17630457d9
    Reviewed-on: https://gerrit.libreoffice.org/24196
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/accessibility/source/extended/textwindowaccessibility.cxx 
b/accessibility/source/extended/textwindowaccessibility.cxx
index aee0d89..20b269f 100644
--- a/accessibility/source/extended/textwindowaccessibility.cxx
+++ b/accessibility/source/extended/textwindowaccessibility.cxx
@@ -2129,7 +2129,7 @@ void Document::handleParagraphNotifications()
                     // 4,1 -> 4,7;
                     return 5;
                 }
-                else if (Oep >= Osp)
+                else
                 {
                     // 1, 2 -> 1, 3; 4,4->4,5;
                     return 6;
@@ -2143,7 +2143,7 @@ void Document::handleParagraphNotifications()
                     // 4,1 -> 4,2,
                     return 7;
                 }
-                else if (Oep >= Osp)
+                else
                 {
                     // no such condition. Oep > Osp = Nsp > Nep
                 }
@@ -2159,7 +2159,7 @@ void Document::handleParagraphNotifications()
                 {
                     //no such condition, Oep<Osp=Nsp <= Nep
                 }
-                else if (Oep > Osp)
+                else
                 {
                     // 4,7 ->4,6
                     return 8;
@@ -2173,7 +2173,7 @@ void Document::handleParagraphNotifications()
                     // 3,2 -> 3,1; 4,4->4,3
                     return 9;
                 }
-                else if (Oep > Osp)
+                else
                 {
                     // 4,7 -> 4,1
                     return 10;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to