diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/OfficeDev/MenuElement.java')
-rw-r--r-- | odk/examples/DevelopersGuide/OfficeDev/MenuElement.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/odk/examples/DevelopersGuide/OfficeDev/MenuElement.java b/odk/examples/DevelopersGuide/OfficeDev/MenuElement.java index 6d695d5e2002..fa351f1c7f5e 100644 --- a/odk/examples/DevelopersGuide/OfficeDev/MenuElement.java +++ b/odk/examples/DevelopersGuide/OfficeDev/MenuElement.java @@ -39,16 +39,16 @@ public class MenuElement { static public boolean IsMenuEntry( com.sun.star.beans.XPropertySet xMenuElement ) { com.sun.star.lang.XServiceInfo xServiceInfo = - (com.sun.star.lang.XServiceInfo)UnoRuntime.queryInterface( - com.sun.star.lang.XServiceInfo.class, xMenuElement ); + UnoRuntime.queryInterface( + com.sun.star.lang.XServiceInfo.class, xMenuElement ); return xServiceInfo.supportsService( "com.sun.star.ui.ActionTrigger" ); } static public boolean IsMenuSeparator( com.sun.star.beans.XPropertySet xMenuElement ) { com.sun.star.lang.XServiceInfo xServiceInfo = - (com.sun.star.lang.XServiceInfo)UnoRuntime.queryInterface( - com.sun.star.lang.XServiceInfo.class, xMenuElement ); + UnoRuntime.queryInterface( + com.sun.star.lang.XServiceInfo.class, xMenuElement ); return xServiceInfo.supportsService( "com.sun.star.ui.ActionTriggerSeparator" ); } |