Kaydet (Commit) 5c0d9aa6 authored tarafından Vladimir Glazounov's avatar Vladimir Glazounov

INTEGRATION: CWS jl83 (1.21.130); FILE MERGED

2007/11/29 16:40:14 jl 1.21.130.1: #i84019# set executable file permission for executables in extensions
üst 3be27a40
......@@ -4,9 +4,9 @@
*
* $RCSfile: dp_package.cxx,v $
*
* $Revision: 1.23 $
* $Revision: 1.24 $
*
* last change: $Author: ihi $ $Date: 2007-11-22 16:25:35 $
* last change: $Author: vg $ $Date: 2007-12-07 10:23:56 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -396,6 +396,12 @@ BackendImpl::PackageImpl::isRegistered_(
for ( sal_Int32 pos = bundle.getLength(); pos--; )
{
Reference<deployment::XPackage> const & xPackage = bundle[ pos ];
//disregard executable (application/vnd.sun.star.executable)
//it will not be disabled/enabled.
OUString sType = xPackage->getPackageType()->getMediaType();
if (sType.equals(OUSTR("application/vnd.sun.star.executable")))
continue;
Reference<task::XAbortChannel> xSubAbortChannel(
xPackage->createAbortChannel() );
AbortChannel::Chain chain( abortChannel, xSubAbortChannel );
......
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