Kaydet (Commit) df6d0af6 authored tarafından Caolán McNamara's avatar Caolán McNamara

cppcheck: variableScope

Change-Id: Idc6faf3e2291edbe7877308f9423516f9a08d0cc
üst 58f43ab8
......@@ -528,10 +528,11 @@ OUString SvFileInformationManager::GetDescription_Impl( const INetURLObject& rOb
OUString sExtension(rObject.getExtension());
OUString sDescription, sURL( rObject.GetMainURL( INetURLObject::NO_DECODE ) );
sal_uInt16 nResId = 0;
bool bShowExt = false, bDetected = false, bOnlyFile = false;
bool bShowExt = false, bOnlyFile = false;
bool bFolder = bDetectFolder && CONTENT_HELPER::IsFolder( sURL );
if ( !bFolder )
{
bool bDetected = false;
if ( !bDetected )
{
if ( rObject.GetProtocol() == INetProtocol::PrivSoffice )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment