bool improvements
Change-Id: Ie4c9d7f01fef2604d80d8e465ce30daab7481eed
This commit is contained in:
@@ -232,7 +232,7 @@ void BackendImpl::ExecutablePackageImpl::processPackage_(
|
||||
{
|
||||
if (!isUrlTargetInExtension())
|
||||
{
|
||||
OSL_ASSERT(0);
|
||||
OSL_ASSERT(false);
|
||||
return;
|
||||
}
|
||||
sal_uInt64 attributes = 0;
|
||||
@@ -247,7 +247,7 @@ void BackendImpl::ExecutablePackageImpl::processPackage_(
|
||||
else if (!(getMyBackend()->m_context == "bundled"))
|
||||
//Bundled extension are required to be in the properly
|
||||
//installed. That is an executable must have the right flags
|
||||
OSL_ASSERT(0);
|
||||
OSL_ASSERT(false);
|
||||
|
||||
//This won't have affect on Windows
|
||||
osl::File::setAttributes(
|
||||
@@ -276,7 +276,7 @@ bool BackendImpl::ExecutablePackageImpl::isUrlTargetInExtension()
|
||||
else if (getMyBackend()->m_context == "bundled")
|
||||
sExtensionDir = dp_misc::expandUnoRcTerm("$BUNDLED_EXTENSIONS");
|
||||
else
|
||||
OSL_ASSERT(0);
|
||||
OSL_ASSERT(false);
|
||||
//remove file ellipses
|
||||
if (osl::File::E_None == osl::File::getAbsoluteFileURL(OUString(), sExtensionDir, sExtensionDir))
|
||||
{
|
||||
|
Reference in New Issue
Block a user