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

Fix typos

Change-Id: Ic823a46019138b8bbcacd7b52b48d7d7ead2fde2
Reviewed-on: https://gerrit.libreoffice.org/35629Reviewed-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
Tested-by: 's avatarJulien Nabet <serval2412@yahoo.fr>
üst ee495c29
......@@ -88,7 +88,7 @@ namespace editeng
// (and likely a specialised dialog) or if it is to run
// automatically without any user interaction.
// True for Hangul / Hanja conversion
// False for Chinese simlified / traditional conversion
// False for Chinese simplified / traditional conversion
HangulHanjaConversion* m_pAntiImpl; // our "anti-impl" instance
......
......@@ -2102,7 +2102,7 @@ NonOverflowingText *Outliner::GetNonOverflowingText() const
const sal_Int32 nEndPos = pEditEngine->GetTextLen(nEndPara);
if (nLen == 0) {
// XXX: What happens inside this case might be dependent on the joining paragraps or not-thingy
// XXX: What happens inside this case might be dependent on the joining paragraph or not-thingy
// Overflowing paragraph is empty or first line overflowing: it's not "Non-Overflowing" text then
sal_Int32 nParaLen = GetText(GetParagraph(nOverflowingPara-1)).getLength();
aOverflowingTextSelection =
......
......@@ -1866,7 +1866,7 @@ void SvxRTFParser::SetDefault( int nToken, int nValue )
sal_uInt16 nTabCount = (SVX_TAB_DEFDIST * 13 ) / sal_uInt16(nValue);
/*
cmc, make sure we have at least one, or all hell breaks loose in
everybodies exporters, #i8247#
everybody exporters, #i8247#
*/
if (nTabCount < 1)
nTabCount = 1;
......
......@@ -198,7 +198,7 @@ bool SvxEditSourceHelper::GetAttributeRun( sal_Int32& nStartIndex, sal_Int32& nE
}
}
}
//need find closest index behind nIndex in the following paragrphs
//need find closest index behind nIndex in the following paragraphs
if ( aEndPos.nIndex == nCrrntParaLen )
{
SfxItemSet aCrrntSet = rEE.GetAttribs( nPara, nCrrntParaLen-1, nCrrntParaLen, GetAttribsFlags::CHARATTRIBS );
......
......@@ -1338,7 +1338,7 @@ void SAL_CALL OleEmbeddedObject::setPersistentEntry(
if ( m_bFromClipboard )
{
// the object should be initialized from clipboard
// inpossibility to initialize the object means error here
// impossibility to initialize the object means error here
CreateOleComponentFromClipboard_Impl();
m_aClassID = m_pOleComponent->GetCLSID(); // was not set during consruction
m_pOleComponent->RunObject();
......
......@@ -1666,7 +1666,7 @@ public class EmbedContApp extends Applet
{
// TODO:
// usage of object, storage and bitmap painter should be locked
// but since possibility of rasecondition is very low
// but since possibility of race condition is very low
// it is not really required for testing application
clearObjectAndStorage();
......
......@@ -54,7 +54,7 @@ public:
void generateFeatureStateEvent();
// overwritten to release the statuslistner.
// overwritten to release the statuslistener.
// XComponent
......
......@@ -160,7 +160,7 @@ namespace abp
/** retrieves the tables names from the connection
<p>to be called when <method>isConnection</method> returns <TRUE/> only</p>
<p>to be called when <method>isConnected</method> returns <TRUE/> only</p>
*/
const StringBag& getTableNames() const;
......
......@@ -561,7 +561,7 @@ HRESULT CSOActiveX::CreateFrameOldWay( HWND hwnd, int width, int height )
hr = GetIDispByFunc( pdispDesktop, L"getFrames", nullptr, 0, pdispChildren );
if( !SUCCEEDED( hr ) ) return hr;
// insert new frame into desctop hierarchy
// insert new frame into desktop hierarchy
CComVariant aDispFrame( mpDispFrame );
hr = ExecuteFunc( pdispChildren, L"append", &aDispFrame, 1, &dummyResult );
if( !SUCCEEDED( hr ) ) return hr;
......
......@@ -47,8 +47,8 @@ typedef cppu::WeakComponentImplHelper<css::beans::XPropertySet,
struct LdapProfileMutexHolder { osl::Mutex mMutex; };
/**
Implements the PlatformBackend service, a specialization of the
XPropertySet service for retreiving LDAP user profile
configuration settings from a LDAP repsoitory.
XPropertySet service for retrieving LDAP user profile
configuration settings from a LDAP repository.
*/
class LdapUserProfileBe : private LdapProfileMutexHolder, public BackendBase
{
......
......@@ -83,7 +83,7 @@ std::unordered_map<sal_uIntPtr, sal_uIntPtr> AdapterToWrapperMap;
// key: XInterface of the wrapper object.
// value: XInterface of the Interface created by the Invocation Adapter Factory.
// A COM wrapper is responsible for removing the corresponding entry
// in AdapterToWrappperMap if it is being destroyed. Because the wrapper does not
// in AdapterToWrapperMap if it is being destroyed. Because the wrapper does not
// know about its adapted interface it uses WrapperToAdapterMap to get the
// adapted interface which is then used to locate the entry in AdapterToWrapperMap.
std::unordered_map<sal_uIntPtr,sal_uIntPtr> WrapperToAdapterMap;
......@@ -475,7 +475,7 @@ Any SAL_CALL IUnknownWrapper_Impl::getValue( const OUString& aPropertyName )
OUString sTmp( reinterpret_cast<const sal_Unicode*>(LPCOLESTR(sName)));
if ( sTmp.startsWith("_") )
sTmp = sTmp.copy(1);
// do we own the memory for pTypeLib, msdn doco is vague
// do we own the memory for pTypeLib, msdn doc is vague
// I'll assume we do
CComPtr< ITypeLib > pTypeLib;
unsigned int index;
......@@ -2187,7 +2187,7 @@ void IUnknownWrapper_Impl::getFuncDesc(const OUString & sFuncName, FUNCDESC ** p
cit itIndex= m_mapComFunc.find(sFuncName);
if (itIndex == m_mapComFunc.end())
{
//try case insensive with IDispatch::GetIDsOfNames
//try case insensitive with IDispatch::GetIDsOfNames
DISPID id;
if (getDispid(sFuncName, &id))
{
......@@ -2255,7 +2255,7 @@ void IUnknownWrapper_Impl::getPropDesc(const OUString & sFuncName, FUNCDESC ** p
pair<cit, cit> p = m_mapComFunc.equal_range(sFuncName);
if (p.first == m_mapComFunc.end())
{
//try case insensive with IDispatch::GetIDsOfNames
//try case insensitive with IDispatch::GetIDsOfNames
DISPID id;
if (getDispid(sFuncName, &id))
{
......
......@@ -237,7 +237,7 @@ protected:
// The map is filled by buildComTlbIndex
// It maps Uno Function names to an index which is used in ITypeInfo::GetFuncDesc
TLBFuncIndexMap m_mapComFunc;
// used for synchroizing the computation of the content for m_mapComFunc
// used for synchronizing the computation of the content for m_mapComFunc
bool m_bComTlbIndexInit;
// Keeps the ITypeInfo obtained from IDispatch::GetTypeInfo
CComPtr< ITypeInfo > m_spTypeInfo;
......
......@@ -354,7 +354,7 @@ void UnoConversionUtilities<T>::variantToAny( const VARIANTARG* pArg, Any& rAny,
// 1: JScript, VARTYPE: VT_DISPATCH
// 2. VBScript simple arraysVT_VARIANT|VT_BYREF the referenced VARIANT contains
// a VT_ARRAY| <type>
// 3. VBSrcript multi dimensional arrays: VT_ARRAY|VT_BYREF
// 3. VBScript multi dimensional arrays: VT_ARRAY|VT_BYREF
if( pArg->vt == VT_DISPATCH)
{
dispatchExObject2Sequence( pArg, rAny, ptype);
......
......@@ -417,7 +417,7 @@ bool InterfaceOleWrapper_Impl::getInvocationInfoForCall( DISPID id, InvocationI
// We need the name of the property or method to get its type information.
// The name can be identified through the param "id"
// that is kept as value in the map m_nameToDispIdMap.
// Proplem: the Windows JScript engine sometimes changes small letters to capital
// Problem: the Windows JScript engine sometimes changes small letters to capital
// letters as happens in xidlclass_obj.createObject( var) // in JScript.
// IDispatch::GetIdsOfNames is then called with "CreateObject" !!!
// m_nameToDispIdMap can contain several names for one DISPID but only one is
......
......@@ -1189,7 +1189,7 @@ namespace pcr
std::set< sal_uInt16 > aUsedPages;
// when building the UI below, remember which properties are actuating,
// to allow for a initial actuatinPropertyChanged call
// to allow for a initial actuatingPropertyChanged call
std::vector< OUString > aActuatingProperties;
std::vector< Any > aActuatingPropertyValues;
......
......@@ -483,7 +483,7 @@ STDMETHODIMP CCallback::inSeqXEventListener( LPSAFEARRAY listeners, LPSAFEARRAY
hr= SafeArrayGetLBound( listeners, 1, &lbound);
count= ubound - lbound +1;
// We assume thate the count of EventObjects in events is the same
// We assume that the count of EventObjects in events is the same
for( long i = 0; i < count; i++)
{
CComVariant varListener;
......
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