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 ) {