summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorjailletc36 <christophe.jaillet@wanadoo.fr>2012-10-30 23:24:26 +0100
committerMichael Stahl <mstahl@redhat.com>2012-10-30 22:28:48 +0000
commitbb43dc240c8fb4c09033eda5dac15ea41e7647db (patch)
treee394c780f9abc75aaffa4d125ff0708b011facf7 /fpicker
parentb660210ed809aacfc4095542e93e22c51500c377 (diff)
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>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/win32/filepicker/filepickerstate.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/fpicker/source/win32/filepicker/filepickerstate.cxx b/fpicker/source/win32/filepicker/filepickerstate.cxx
index f4cac5049e31..3684d4a82f9b 100644
--- a/fpicker/source/win32/filepicker/filepickerstate.cxx
+++ b/fpicker/source/win32/filepicker/filepickerstate.cxx
@@ -498,7 +498,6 @@ OUString SAL_CALL CExecuteFilePickerState::getLabel( sal_Int16 aControlId )
OUString ctrlLabel;
if ( nRet )
{
- ctrlLabel = OUString( aLabel, rtl_ustr_getLength( aLabel ) );
ctrlLabel = WindowsToSOfficeLabel( aLabel );
}