From bfda48e498b9c25bdc1f34df9dd23f50e0ea0bf7 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 24 May 2014 15:18:36 +0200 Subject: cppcheck: redundantAssignment Change-Id: I2e49ab5de06568544e0bd15fdf55fd0c2c37509a --- fpicker/source/office/iodlg.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'fpicker') diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx index 60c00341e984..cbe92b524095 100644 --- a/fpicker/source/office/iodlg.cxx +++ b/fpicker/source/office/iodlg.cxx @@ -1195,9 +1195,7 @@ IMPL_STATIC_LINK( SvtFileDialog, OpenHdl_Impl, void*, pVoid ) if ( INET_PROT_FILE == aFileObj.GetProtocol( ) ) { - bool bExists = false; - bExists = pThis->m_aContent.is( aFileObj.GetMainURL( INetURLObject::NO_DECODE ) ); - + bool bExists = pThis->m_aContent.is( aFileObj.GetMainURL( INetURLObject::NO_DECODE ) ); if ( !bExists ) { -- cgit