diff options
author | Noel Grandin <noel@peralex.com> | 2014-08-12 15:27:21 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-08-19 14:57:18 +0200 |
commit | 4b4bff34027cca49fd13e82d33d1b399848838fa (patch) | |
tree | 361bde1ae9cf88160694bec9d5f3c1893d398f66 /scripting/java/Framework | |
parent | c552aac9f889b094caaa35c3fd9d12fe7c3fc73c (diff) |
java: no need to instantiate String objects directly
Change-Id: I7610774c94bf673ed3b574ffce04c4ee6ca93c03
Diffstat (limited to 'scripting/java/Framework')
-rw-r--r-- | scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java index dfba37555c99..b1bdfff645ad 100644 --- a/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java +++ b/scripting/java/Framework/com/sun/star/script/framework/security/SecurityDialog.java @@ -337,7 +337,7 @@ XInitialization { xPSetCheckBox.setPropertyValue( "State", Short.valueOf((short)0) ); xPSetCheckBox.setPropertyValue( "Name", _checkBoxName ); xPSetCheckBox.setPropertyValue( "TabIndex", Short.valueOf( (short)1 ) ); - xPSetCheckBox.setPropertyValue( "Label", new String(_checkBoxString +checkBoxPath) ); + xPSetCheckBox.setPropertyValue( "Label", _checkBoxString +checkBoxPath ); // insert the control models into the dialog model xNameCont.insertByName( _label2Name, label2Model ); |