cppCheck: avoid obvious 'redundantAssignment'

Change-Id: Ib819c1664dc1643b0d8bf9f516fc0b328f201bff
Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr>
Reviewed-on: https://gerrit.libreoffice.org/944
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
This commit is contained in:
jailletc36 2012-10-30 23:24:26 +01:00 committed by Michael Stahl
parent b660210ed8
commit bb43dc240c

View File

@ -498,7 +498,6 @@ OUString SAL_CALL CExecuteFilePickerState::getLabel( sal_Int16 aControlId )
OUString ctrlLabel; OUString ctrlLabel;
if ( nRet ) if ( nRet )
{ {
ctrlLabel = OUString( aLabel, rtl_ustr_getLength( aLabel ) );
ctrlLabel = WindowsToSOfficeLabel( aLabel ); ctrlLabel = WindowsToSOfficeLabel( aLabel );
} }