diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2015-06-14 12:17:55 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2015-06-14 12:17:55 +0200 |
commit | b226928c6d5d094359b970b64a063b243d4fc84c (patch) | |
tree | 3ec0329c0f69fc4e9b57210135d51c2006853388 /sd | |
parent | 01a189abcd9a4ca472a74b3b2c000c9338fc2c91 (diff) |
cppcheck: redundantCondition [part1]
Change-Id: I21c5340e7b5ec09248b08aa76f43acf883c56cd8
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/annotations/annotationwindow.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/annotations/annotationwindow.cxx b/sd/source/ui/annotations/annotationwindow.cxx index f226d86505ad..bf7fb8a41efe 100644 --- a/sd/source/ui/annotations/annotationwindow.cxx +++ b/sd/source/ui/annotations/annotationwindow.cxx @@ -175,7 +175,7 @@ void AnnotationTextWindow::KeyInput( const KeyEvent& rKeyEvt ) if ( !( (nKey == KEY_Z || nKey == KEY_Y) && rKeyCode.IsMod1()) ) { bool bIsProtected = mpAnnotationWindow->IsProtected(); - if (!bIsProtected || (bIsProtected && !EditEngine::DoesKeyChangeText(rKeyEvt)) ) + if (!bIsProtected || !EditEngine::DoesKeyChangeText(rKeyEvt) ) bDone = mpOutlinerView->PostKeyEvent( rKeyEvt ); } |