Kaydet (Commit) 7eaaf96e authored tarafından Samuel Mehrbrodt's avatar Samuel Mehrbrodt

Simplify code

Change-Id: Ib22c4f628042458cab937c27224505489c67da2e
Reviewed-on: https://gerrit.libreoffice.org/64024Reviewed-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: 's avatarSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
üst 12877c3e
......@@ -1294,19 +1294,15 @@ bool PackageManagerImpl::synchronizeAddedExtensions(
ActivePackages::Entries id2temp( m_activePackagesDB->getEntries() );
//check if the folder exist at all. The shared extension folder
//may not exist for a normal user.
bool bOk=true;
try
{
bOk = create_ucb_content(
nullptr, m_activePackages_expanded, Reference<css::ucb::XCommandEnvironment>(), false);
create_ucb_content(nullptr, m_activePackages_expanded,
Reference<css::ucb::XCommandEnvironment>(), false);
}
catch (const css::ucb::ContentCreationException&)
{
bOk = false;
}
if (!bOk)
return bModified;
}
::ucbhelper::Content tempFolder( m_activePackages_expanded, xCmdEnv, m_xComponentContext );
Reference<sdbc::XResultSet> xResultSet(
......
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