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

first condition is always true

Change-Id: Ie3934201d99c5dbd3107d6b184a1d575fa38d5c9
üst df6d0af6
......@@ -533,8 +533,7 @@ OUString SvFileInformationManager::GetDescription_Impl( const INetURLObject& rOb
if ( !bFolder )
{
bool bDetected = false;
if ( !bDetected )
{
if ( rObject.GetProtocol() == INetProtocol::PrivSoffice )
{
OUString aURLPath = sURL.copy( URL_PREFIX_PRIV_SOFFICE_LEN );
......@@ -546,7 +545,7 @@ OUString SvFileInformationManager::GetDescription_Impl( const INetURLObject& rOb
}
}
if ( !bDetected )
if (!bDetected)
{
// search a description by extension
bool bExt = !sExtension.isEmpty();
......@@ -562,7 +561,6 @@ OUString SvFileInformationManager::GetDescription_Impl( const INetURLObject& rOb
}
}
}
}
else
nResId = GetFolderDescriptionId_Impl( sURL );
......
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