cppcheck: duplicateExpression

See http://nabble.documentfoundation.org/Cppcheck-Same-expression-on-both-sides-of-in-PresenterPaneBorderManager-cxx-sdext-td4094873.html

Change-Id: I7dbb8d0254ca77127250d6ca02de7b945ef8051e