forked from amazingfate/loongoffice
java: no need to instantiate String objects directly
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
This commit is contained in:
@ -206,7 +206,7 @@ public class ProtocolHandlerAddon {
|
||||
// describe window properties.
|
||||
WindowDescriptor aDescriptor = new WindowDescriptor();
|
||||
aDescriptor.Type = WindowClass.MODALTOP;
|
||||
aDescriptor.WindowServiceName = new String( "infobox" );
|
||||
aDescriptor.WindowServiceName = "infobox";
|
||||
aDescriptor.ParentIndex = -1;
|
||||
aDescriptor.Parent = UnoRuntime.queryInterface(
|
||||
XWindowPeer.class, m_xFrame.getContainerWindow());
|
||||
|
||||
Reference in New Issue
Block a user