diff options
Diffstat (limited to 'swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java')
-rw-r--r-- | swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java b/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java index b44e0d9d7c44..c88633b70b74 100644 --- a/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java +++ b/swext/mediawiki/src/com/sun/star/wiki/WikiOptionsEventHandlerImpl.java @@ -102,7 +102,7 @@ public final class WikiOptionsEventHandlerImpl extends WeakBase short [] pSel = (short []) xListProps.getPropertyValue( "SelectedItems" ); XPropertySet xEditProps = GetPropSet( "EditButton" ); XPropertySet xRemoveProps = GetPropSet( "RemoveButton" ); - Boolean bState = new Boolean( pSel.length != 0 ); + Boolean bState = Boolean.valueOf( pSel.length != 0 ); xEditProps.setPropertyValue( "Enabled", bState ); xRemoveProps.setPropertyValue( "Enabled", bState ); |