summaryrefslogtreecommitdiff
path: root/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
diff options
context:
space:
mode:
Diffstat (limited to 'framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java')
-rw-r--r--framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java b/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
index 306ba6d3bb78..d3430486560c 100644
--- a/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
+++ b/framework/qa/complex/contextMenuInterceptor/ContextMenuInterceptor.java
@@ -53,7 +53,7 @@ public class ContextMenuInterceptor implements XContextMenuInterceptor
// create a line separator for our new help sub menu
com.sun.star.beans.XPropertySet xSeparator =
UnoRuntime.queryInterface(com.sun.star.beans.XPropertySet.class, xMenuElementFactory.createInstance("com.sun.star.ui.ActionTriggerSeparator"));
- Short aSeparatorType = new Short(ActionTriggerSeparatorType.LINE);
+ Short aSeparatorType = Short.valueOf(ActionTriggerSeparatorType.LINE);
xSeparator.setPropertyValue("SeparatorType", aSeparatorType);
// query sub menu for index container to get access