[Libreoffice-commits] .: 2 commits - offapi/com
David Tardon
dtardon at kemper.freedesktop.org
Sat Nov 20 07:58:19 PST 2010
offapi/com/sun/star/deployment/XPackage.idl | 40 ++++++++++++++--------------
1 file changed, 20 insertions(+), 20 deletions(-)
New commits:
commit 91252027bc613e7cc02a4a8581e62d67bbdf8599
Author: David Tardon <dtardon at redhat.com>
Date: Sat Nov 20 16:57:15 2010 +0100
use spec. tags for true, false and null
diff --git a/offapi/com/sun/star/deployment/XPackage.idl b/offapi/com/sun/star/deployment/XPackage.idl
index 4fa6b32..f6e467f 100644
--- a/offapi/com/sun/star/deployment/XPackage.idl
+++ b/offapi/com/sun/star/deployment/XPackage.idl
@@ -71,8 +71,8 @@ interface XPackage
/** checks if the package can be installed.
- Only if the return value is true the package is allowed to be installed.
- In case of false or in case of an exception, the package must be removed
+ Only if the return value is <TRUE/> the package is allowed to be installed.
+ In case of <FALSE/> or in case of an exception, the package must be removed
completely.
After return of this function no code from the extension may be used
anymore, so that the extension can be safely removed from the harddisk.
@@ -83,7 +83,7 @@ interface XPackage
indicates that an extension with the same identifier is already installed.
@return
- null - all prerequisites are met. Otherwise, a value from
+ <NULL/> - all prerequisites are met. Otherwise, a value from
<member>Prerequisites</member> indicating what prerequisites are missing.
*/
long checkPrerequisites(
@@ -106,8 +106,8 @@ interface XPackage
command environment for error handling and other interaction.
@return
- true - all dependencies are satisfied
- false - at least one dependency failed.
+ <TRUE/> - all dependencies are satisfied
+ <FALSE/> - at least one dependency failed.
*/
boolean checkDependencies(
[in] com::sun::star::ucb::XCommandEnvironment xCmdEnv )
@@ -121,7 +121,7 @@ interface XPackage
@param xAbortChannel
abort channel to asynchronously abort the registration process,
- or null
+ or <NULL/>
@param xCmdEnv
command environment for error and progress handling
@return
@@ -143,11 +143,11 @@ interface XPackage
@param startup
indicates that registration is adapted to the particular
- startup scenario. That is, it is set to true, when called
+ startup scenario. That is, it is set to <TRUE/>, when called
from <member>XExtensionManager::synchronize</member>
@param xAbortChannel
abort channel to asynchronously abort the registration process,
- or null
+ or <NULL/>
@param xCmdEnv
command environment for error and progress handling
*/
@@ -167,7 +167,7 @@ interface XPackage
@param xAbortChannel
abort channel to asynchronously abort the registration process,
- or null
+ or <NULL/>
@param xCmdEnv
command environment for error and progress handling
*/
@@ -189,12 +189,12 @@ interface XPackage
/** Gets packages of the bundle.
- If <member>isRemoved</member> returns true then getBundle may return an
+ If <member>isRemoved</member> returns <TRUE/> then getBundle may return an
empty sequence in case the object is not registered.
@param xAbortChannel
abort channel to asynchronously abort the registration process,
- or null
+ or <NULL/>
@param xCmdEnv
command environment for error and progress handling
@return
@@ -337,7 +337,7 @@ interface XPackage
If registration data are created during registration, but the package is
currently not registered, for example after calling
<member>XPackage::revokePackage</member>, then <member
- scope="com::sun::star::beans">Optional::IsPresent</member> is true and
+ scope="com::sun::star::beans">Optional::IsPresent</member> is <TRUE/> and
the <member scope="com::sun::star::beans">Optional::Value</member> may
be an empty string.
*/
@@ -346,7 +346,7 @@ interface XPackage
/** indicates if this object represents a removed extension or extension
item. This is the case when it was created by providing
- <code>true</code> for the <code>removed</code> parameter in the function
+ <TRUE/> for the <code>removed</code> parameter in the function
<member>XPackageRegistry::bindPackage</member>.
*/
boolean isRemoved();
commit c31b22d6cab28107c4b770ef39c80b5d3f014367
Author: David Tardon <dtardon at redhat.com>
Date: Sat Nov 20 16:53:01 2010 +0100
fix some typos
diff --git a/offapi/com/sun/star/deployment/XPackage.idl b/offapi/com/sun/star/deployment/XPackage.idl
index 920b274..4fa6b32 100644
--- a/offapi/com/sun/star/deployment/XPackage.idl
+++ b/offapi/com/sun/star/deployment/XPackage.idl
@@ -80,7 +80,7 @@ interface XPackage
@param xCmdEnv
command environment for error handling and other interaction.
@alreadyInstalled
- indicates that an extension with the same identifyer is already installed.
+ indicates that an extension with the same identifier is already installed.
@return
null - all prerequisites are met. Otherwise, a value from
@@ -97,7 +97,7 @@ interface XPackage
/** checks if the dependencies for this package are still satisfied
- After updateing the OpenOffice.org, some dependencies for packages might
+ After updating the OpenOffice.org, some dependencies for packages might
no longer be satisfied.
@since OOo 3.2.0
@@ -116,7 +116,7 @@ interface XPackage
com::sun::star::ucb::CommandFailedException);
- /** determines whether the package is currently is registered, i.e.
+ /** determines whether the package is currently registered, i.e.
whether it is active.
@param xAbortChannel
@@ -183,7 +183,7 @@ interface XPackage
e.g. a zip (legacy) package file or a document hosting script packages.
@return
- in case this package relfects a package bundle
+ <TRUE/> if this package is a package bundle, <FALSE/> otherwise
*/
boolean isBundle();
@@ -273,8 +273,8 @@ interface XPackage
*/
sequence<string> getUpdateInformationURLs()
raises (ExtensionRemovedException);
- /** returns the publisher info for a package, the strings
- might be empty, if there are no publisher
+ /** returns the publisher info for the package, the strings
+ might be empty, if there is no publisher
<type scope="::com::sun::star::beans">StringPair</type>::First
represents the publisher name and
@@ -294,7 +294,7 @@ interface XPackage
/** exports package to given destination URL.
@param destFolderURL
- package destination folder URL, must be UCB conform
+ package destination folder URL, must be UCB conforming
@param newTitle
new package name
@param nameClashAction
More information about the Libreoffice-commits
mailing list