Kaydet (Commit) a3a40ba2 authored tarafından Andrea Gelmini's avatar Andrea Gelmini Kaydeden (comit) Julien Nabet

Fix typos: uniform registered

We have in the same files "registered" and "registred".

Change-Id: I604a8fdb7d5c40fe208fc11e9120333b3eaef3da
Reviewed-on: https://gerrit.libreoffice.org/39097Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst 718477e2
......@@ -291,7 +291,7 @@ public class ComponentContext implements XComponentContext, XComponent
if (xListener == null)
throw new com.sun.star.uno.RuntimeException( "Listener must not be null" );
if (m_eventListener.contains( xListener ))
throw new com.sun.star.uno.RuntimeException( "Listener already registred." );
throw new com.sun.star.uno.RuntimeException( "Listener already registered." );
m_eventListener.add( xListener );
}
......
......@@ -356,7 +356,7 @@ public class JavaLoader implements XImplementationLoader,
* the call is delegated to that method. Otherwise a default registration
* will be accomplished.</p>
*
* @param regKey the root key under that the component should be registred.
* @param regKey the root key under that the component should be registered.
* @param implementationLoaderUrl specifies the loader, the component is loaded by.
* @param locationUrl points to an archive (JAR file) which contains a component.
* @return true if registration is successfully - otherwise false.
......
......@@ -309,7 +309,7 @@ public class ServiceManager implements XMultiServiceFactory,
* <p>The listener is notified when a service is added (removed) to (from)
* the <code>ServiceManager</code>.</p>
*
* <p>If the listener is already registred a
* <p>If the listener is already registered a
* <code>com.sun.star.uno.RuntimeException</code> will be thrown.</p>
*
* @param xListener the new listener which should been added.
......@@ -322,7 +322,7 @@ public class ServiceManager implements XMultiServiceFactory,
throw new com.sun.star.uno.RuntimeException("Listener must not be null");
if ( eventListener.contains(xListener) )
throw new com.sun.star.uno.RuntimeException("Listener already registred.");
throw new com.sun.star.uno.RuntimeException("Listener already registered.");
eventListener.add(xListener);
}
......@@ -355,7 +355,7 @@ public class ServiceManager implements XMultiServiceFactory,
* interface.</p>
*
* @param object object which provides a <code>XServiceInfo</code> interface.
* @return true if the component is registred otherwise false.
* @return true if the component is registered otherwise false.
*
* @see com.sun.star.container.XSet
* @see com.sun.star.lang.XServiceInfo
......@@ -395,7 +395,7 @@ public class ServiceManager implements XMultiServiceFactory,
if ( factoriesByImplNames.containsKey( xServiceInfo.getImplementationName() ) ) {
throw new com.sun.star.container.ElementExistException(
xServiceInfo.getImplementationName() + " already registred"
xServiceInfo.getImplementationName() + " already registered"
);
}
......@@ -508,7 +508,7 @@ public class ServiceManager implements XMultiServiceFactory,
/**
* Checks if the any components are registered.
*
* @return true - if the list of the registred components is not empty - otherwise false.
* @return true - if the list of the registered components is not empty - otherwise false.
* @see com.sun.star.container.XElementAccess
*/
public boolean hasElements() {
......
......@@ -922,7 +922,7 @@ void l10nMem::addKey(int iLineNo,
l10nMem_file_entry& curF = mcFileList[miCurFileInx];
vector<l10nMem_enus_entry>::iterator it = mcENUSlist.begin();
// file is registred, so we need to add the entry at the end of the file range
// file is registered, so we need to add the entry at the end of the file range
curF.miEnd++;
miCurENUSinx = curF.miEnd;
mcENUSlist.insert(it + curF.miEnd,
......
......@@ -3509,7 +3509,7 @@ void SwTabFrame::Paste( SwFrame* pParent, SwFrame* pSibling )
OSL_ENSURE( pParent != this, "I'm the parent myself." );
OSL_ENSURE( pSibling != this, "I'm my own neighbour." );
OSL_ENSURE( !GetPrev() && !GetNext() && !GetUpper(),
"I'm still registred somewhere." );
"I'm still registered somewhere." );
//Insert in the tree.
InsertBefore( static_cast<SwLayoutFrame*>(pParent), pSibling );
......
......@@ -2030,7 +2030,7 @@ void SwWW8ImplReader::Read_LFOPosition(sal_uInt16, const sal_uInt8* pData,
if (m_pAktColl && (m_nLFOPosition == 2047-1) && m_nAktColl < m_vColl.size())
m_vColl[m_nAktColl].m_bHasBrokenWW6List = true;
// here the stream data is 1-based, we substact ONE
// here the stream data is 1-based, we subtract ONE
if (USHRT_MAX > m_nLFOPosition)
{
if (m_nLFOPosition != 2047-1) //Normal ww8+ list behaviour
......
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