summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2014-05-24 15:18:36 +0200
committerThomas Arnhold <thomas@arnhold.org>2014-05-24 15:46:43 +0200
commitbfda48e498b9c25bdc1f34df9dd23f50e0ea0bf7 (patch)
tree4d9952a7acbf078dd1e8716d34126fc0d807181c /fpicker
parent75648d6e9723987cab672dca89cf0e5e6cb8e9e9 (diff)
cppcheck: redundantAssignment
Change-Id: I2e49ab5de06568544e0bd15fdf55fd0c2c37509a
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/iodlg.cxx4
1 files changed, 1 insertions, 3 deletions
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 )
{