Kaydet (Commit) 68dd147b authored tarafından Jens Carl's avatar Jens Carl Kaydeden (comit) Julien Nabet

Fix typos

Change indefinite article "an" to "a" before
the word unique and some variants.

Change-Id: Ia14a6f3b9ec6b257ad8bed3b089faa9b6f07d44f
Reviewed-on: https://gerrit.libreoffice.org/70174
Tested-by: Jenkins
Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst fd33e13d
......@@ -255,7 +255,7 @@ Sequence< Any > SAL_CALL MasterPropertySet::getPropertyValues( const Sequence< O
const OUString * pString = aPropertyNames.getConstArray();
PropertyDataHash::const_iterator aEnd = mxInfo->maMap.end(), aIter;
//!! have an unique_ptr to an array of OGuards in order to have the
//!! have a unique_ptr to an array of OGuards in order to have the
//!! allocated memory properly freed (exception safe!).
//!! Since the array itself has unique_ptrs as members we have to use a
//!! helper class 'AutoOGuardArray' in order to have
......
......@@ -1224,7 +1224,7 @@
<xsl:choose>
<xsl:when test="$globalData/office:styles/text:outline-style/text:outline-level-style[@text:level = current()/@text:outline-level]/@style:num-format != '' and not(@text:is-list-header='true')">
<!-- Every heading element will get an unique anchor for its file, from its hierarchy level and name:
<!-- Every heading element will get a unique anchor for its file, from its hierarchy level and name:
For example: The heading title 'My favorite heading' might get <a name="1_2_2_My_favorite_heading" /> -->
<!-- creating an anchor for referencing the heading (e.g. from content table) -->
<xsl:variable name="headingNumber">
......
......@@ -760,7 +760,7 @@ void AddonsOptions_Impl::ReadImages( ImageManager& aImageManager )
OUString AddonsOptions_Impl::GeneratePrefixURL()
{
// Create an unique prefixed Add-On popup menu URL so it can be identified later as a runtime popup menu.
// Create a unique prefixed Add-On popup menu URL so it can be identified later as a runtime popup menu.
// They use a different image manager, so they must be identified by the sfx2/framework code.
OUString aPopupMenuURL;
OUStringBuffer aBuf( m_aRootAddonPopupMenuURLPrexfix.getLength() + 3 );
......
......@@ -3420,7 +3420,7 @@ void AutoRecovery::implts_generateNewTempURL(const OUString& sBack
AutoRecovery::TDocumentInfo& rInfo )
{
// specify URL for saving (which points to a temp file inside backup directory)
// and define an unique name, so we can locate it later.
// and define a unique name, so we can locate it later.
// This unique name must solve an optimization problem too!
// In case we are asked to save unmodified documents too - and one of them
// is an empty one (because it was new created using e.g. an URL private:factory/...)
......
......@@ -2725,7 +2725,7 @@ void XFrameImpl::impl_setPropertyValue(sal_Int32 nHandle,
*/
/* Attention: You can use nHandle only, if you are sure that all supported
properties has an unique handle. That must be guaranteed
properties has a unique handle. That must be guaranteed
inside method initListeners()!
*/
switch (nHandle)
......@@ -2780,7 +2780,7 @@ css::uno::Any XFrameImpl::impl_getPropertyValue(sal_Int32 nHandle)
*/
/* Attention: You can use nHandle only, if you are sure that all supported
properties has an unique handle. That must be guaranteed
properties has a unique handle. That must be guaranteed
inside method initListeners()!
*/
css::uno::Any aValue;
......
......@@ -124,7 +124,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
private:
/** @short tries to find an unique number not already used within this collection.
/** @short tries to find a unique number not already used within this collection.
@descr It reuses the smallest number which isn't used by any component
of this collection. (fragmentation!) If collection is full (means there
......@@ -138,7 +138,7 @@ class COMPHELPER_DLLPUBLIC NumberedCollection : private ::cppu::BaseMutex
So the outside code has to make sure that retrieving and using of those numbers
will be an atomic operation.
@return an unique number or special value INVALID_NUMBER if collection is full.
@return a unique number or special value INVALID_NUMBER if collection is full.
*/
::sal_Int32 impl_searchFreeNumber ();
......
......@@ -57,7 +57,7 @@ public:
/** deprecated.
An earlier version of UNO used an unique identifier for interfaces. In the
An earlier version of UNO used a unique identifier for interfaces. In the
current version of UNO this uik was eliminated and this type is no longer used.
*/
struct RTUik
......
......@@ -64,7 +64,7 @@ class UCBHELPER_DLLPUBLIC InterceptedInteraction : public ::cppu::WeakImplHelper
css::uno::Type Continuation;
/** @short it's an unique identifier, which must be managed by the outside code.
/** @short it's a unique identifier, which must be managed by the outside code.
@descr If there is a derived class, which overwrites the InterceptedInteraction::intercepted()
method, it will be called with a reference to an InterceptedRequest struct.
......
......@@ -56,7 +56,7 @@ public class AsyncJob extends WeakBase implements XServiceInfo, XAsyncJob
public static final String[] SERVICENAMES = {"com.sun.star.task.AsyncJob"};
/** the const uno implementation name.
* It must be an unique value! The best naming schema seems to use
* It must be a unique value! The best naming schema seems to use
* a registered domain in reverse order ...
*/
public static final String IMPLEMENTATIONNAME = "com.sun.star.comp.framework.java.services.AsyncJob";
......
......@@ -170,7 +170,7 @@ public class DrawingDemo
XNamed xNamed = UnoRuntime.queryInterface(
XNamed.class, xLastPage );
// beware, the page must have an unique name
// beware, the page must have a unique name
xNamed.setName( sLastPageName );
}
catch( Exception ex )
......
......@@ -806,12 +806,12 @@ public class FunctionHelper
/**
* Try to find an unique frame name, which isn't currently used inside
* Try to find a unique frame name, which isn't currently used inside
* remote office instance. Because we create top level frames
* only, it's enough to check the names of existing child frames on the
* desktop only.
*
* should represent an unique frame name, which currently isn't
* should represent a unique frame name, which currently isn't
* used inside the remote office frame tree
* (Couldn't guaranteed for a real multithreaded environment.
* But we try it ...)
......
......@@ -53,7 +53,7 @@ public interface IOnewayLink
/**
* @param nRequest
* The two user of this callback can define an unique number,
* The two user of this callback can define a unique number,
* which identify the type of original interface method. So the called
* interface object can decide, which action will be necessary.
*
......
......@@ -88,7 +88,7 @@ class OnewayExecutor extends Thread
* and parameters of the original request.
*
* @param nRequest
* The two user of this callback can define an unique number,
* The two user of this callback can define a unique number,
* which identify the type of original interface method.
* So the called interface object can decide, which action will be
* necessary.
......
......@@ -33,12 +33,12 @@
*/
interface XSimpleTabController : com::sun::star::uno::XInterface
{
/** create a new tab and return an unique ID,
/** create a new tab and return a unique ID,
which can be used further to address this tab by using other methods
of this interface.
@return [long
an unique ID for this new tab.
a unique ID for this new tab.
*/
long insertTab();
......
......@@ -40,7 +40,7 @@ interface XModuleManager2
/** provides read access to the configuration of office modules.
<p>
Every module is referenced by an unique service name
Every module is referenced by a unique service name
(which is used inside configuration as set node name too)
and is further represented by a sequence of elements of type
com::sun::star::beans::PropertyValue.
......
......@@ -76,7 +76,7 @@ interface XSmartTagAction: com::sun::star::lang::XInitialization
(exclusively).
@return
an unique name of the smart tag type. Smart tag type
a unique name of the smart tag type. Smart tag type
names are always in the format of namespaceURI#tagname.
@throws com::sun::star::lang::IndexOutOfBoundsException
......
......@@ -27,7 +27,7 @@
//---------------------------------------Note----------------------------------
// allows for different iterators for grammar checking and smart tags,
// interface must be implemented exactly once for each document since
// the interface pointer will be used to get an unique document id.
// the interface pointer will be used to get a unique document id.
module com { module sun { module star { module text {
......
......@@ -32,7 +32,7 @@ import org.xml.sax.SAXException;
/**
* Parses a named expression. These expressions are encountered on reports and
* groups and compute global values. Expressions must have an unique name.
* groups and compute global values. Expressions must have a unique name.
*
*/
public class FunctionReadHandler extends AbstractXmlReadHandler
......
......@@ -1251,7 +1251,7 @@ void DocxSdrExport::writeDiagram(const SdrObject* sdrObject, const SwFrameFormat
Size aSize(sdrObject->GetSnapRect().GetWidth(), sdrObject->GetSnapRect().GetHeight());
startDMLAnchorInline(&rFrameFormat, aSize);
// generate an unique id
// generate a unique id
sax_fastparser::FastAttributeList* pDocPrAttrList
= sax_fastparser::FastSerializerHelper::createAttrList();
pDocPrAttrList->add(XML_id, OString::number(nAnchorId).getStr());
......
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