summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2012-02-21 19:59:18 +0100
committerThomas Arnhold <thomas@arnhold.org>2012-02-21 20:57:03 +0100
commitcbdcc55b6d18d8a8c79441e4604fac90423a0d22 (patch)
treea8a94fb3d6edc0f2e6f42c8de0d2604bc52c3dcd /framework
parent7dc7a33a30efad050d5619c8f51622fe32e5e1b4 (diff)
WaE: duplicateBranch
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/toolbarsmenucontroller.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/framework/source/uielement/toolbarsmenucontroller.cxx b/framework/source/uielement/toolbarsmenucontroller.cxx
index 6cc561a00d44..23012014d4c7 100644
--- a/framework/source/uielement/toolbarsmenucontroller.cxx
+++ b/framework/source/uielement/toolbarsmenucontroller.cxx
@@ -119,8 +119,6 @@ sal_Bool CompareToolBarEntry( const ToolBarEntry& aOne, const ToolBarEntry& aTwo
if ( nComp < 0 )
return sal_True;
- else if ( nComp > 0 )
- return sal_False;
else
return sal_False;
}