Fix typos

Change-Id: Iaa9dd3f02f21947742643349d3b878126017477d
Reviewed-on: https://gerrit.libreoffice.org/18947
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
Andrea Gelmini 2015-09-29 17:50:10 +02:00 committed by Samuel Mehrbrodt
parent 5e26444005
commit 00d2eeebc8
15 changed files with 20 additions and 20 deletions

View File

@ -85,7 +85,7 @@ namespace editeng
const vcl::Font* m_pTargetFont; // target font of new replacement text
sal_Int32 m_nConvOptions; // text conversion options (as used by 'getConversions')
bool m_bIsInteractive; // specifies if the conversion requires user interaction
// (and likeley a specialised dialog) or if it is to run
// (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

View File

@ -1055,7 +1055,7 @@ bool SvxAutoCorrect::FnCapitalStartSentence( SvxAutoCorrDoc& rDoc,
sChar = rCC.titlecase(sChar); //see fdo#56740
bool bRet = sChar[0] != cSave && rDoc.ReplaceRange( nSttPos, 1, sChar );
// Parahaps someone wants to have the word
// Perhaps someone wants to have the word
if( bRet && SaveWordCplSttLst & nFlags )
rDoc.SaveCpltSttWord( CapitalStartSentence, nSttPos, sWord, cSave );
@ -2751,7 +2751,7 @@ SvxAutocorrWordList::Content SvxAutocorrWordList::getSortedContent() const
// convert from hash to set permanantly
if ( mpImpl->maSet.empty() )
{
// This beasty has some O(N log(N)) in a terribly slow ICU collate fn.
// This beast has some O(N log(N)) in a terribly slow ICU collate fn.
for (AutocorrWordHashType::const_iterator it = mpImpl->maHash.begin(); it != mpImpl->maHash.end(); ++it)
mpImpl->maSet.insert( it->second );
mpImpl->maHash.clear();

View File

@ -30,7 +30,7 @@ class OutlinerEditEng : public EditEngine
protected:
// derived from EditEngine. Allows Outliner objetcs to provide
// derived from EditEngine. Allows Outliner objects to provide
// bullet access to the EditEngine.
virtual const SvxNumberFormat* GetNumberFormat( sal_Int32 nPara ) const SAL_OVERRIDE;

View File

@ -918,7 +918,7 @@ void SvxRTFParser::AttrGroupEnd() // process the current, delete from Stack
// at the beginning of a paragraph? Move back one position
sal_Int32 nNd = pInsPos->GetNodeIdx();
MovePos(false);
// if can not move backward then later dont move forward !
// if can not move backward then later don't move forward !
bCrsrBack = nNd != pInsPos->GetNodeIdx();
}

View File

@ -216,7 +216,7 @@ SfxItemState GetSvxEditEngineItemState( EditEngine& rEditEngine, const ESelectio
// if we already found an item
if( pParaItem )
{
// ... and its different to this one than the state is dont care
// ... and its different to this one than the state is don't care
if(*pParaItem != *(i->pAttr))
return SfxItemState::DONTCARE;
}

View File

@ -101,7 +101,7 @@ STDMETHODIMP_(void) OleWrapperAdviseSink::OnRename(LPMONIKER)
STDMETHODIMP_(void) OleWrapperAdviseSink::OnSave()
{
// TODO: ???
// The object knows about document saving already since it contolls it as ClienSite
// The object knows about document saving already since it controls it as ClienSite
// other interested listeners must be registered for the object
}

View File

@ -319,7 +319,7 @@ embed::InsertedObjectInfo SAL_CALL MSOLEDialogObjectCreator::createInstanceInitF
aObjectInfo.Object = xResult;
// TODO/LATER: in case of iconifie object the icon should be stored in aObjectInfo
// TODO/LATER: in case of iconify object the icon should be stored in aObjectInfo
OSL_ENSURE( aObjectInfo.Object.is(), "No object was created!\n" );
if ( !aObjectInfo.Object.is() )

View File

@ -517,7 +517,7 @@ namespace dbp
// the shape of the control
implDetermineShape();
// get the columns of the object the settins refer to
// get the columns of the object the settings refer to
Reference< XNameAccess > xColumns;
if (m_aContext.xForm.is())

View File

@ -142,7 +142,7 @@ Any IUnknownWrapper_Impl::queryInterface(const Type& t)
// Put or Get property, the implementation code has no business guessing that, it's up to the caller to decide that. Worse XDirectInvocation duplicates lots of code.
// XAutomationInvocation provides separate calls for put& get
// properties. Note: Currently the basic runtime doesn't call put properties directly, it should... after all the basic runtime should know whether it is calling a put or get property.
// For the moment for ease of merging we will let the XDirectInvoke and XAuthomationInvocation interfaces stay side by side ( and for the momemnt at least I would prefer the basic
// For the moment for ease of merging we will let the XDirectInvoke and XAuthomationInvocation interfaces stay side by side (and for the moment at least I would prefer the basic
// runtime to call XAutomationInvocation instead of XDirectInvoke
return WeakImplHelper<XBridgeSupplier2,
XInitialization, XAutomationObject, XDefaultProperty, XDefaultMethod, XDirectInvocation, XAutomationInvocation >::queryInterface(t);
@ -658,7 +658,7 @@ sal_Bool SAL_CALL IUnknownWrapper_Impl::hasProperty( const OUString& aName )
VarDesc aVarDesc(pInfo);
getPropDesc(aName, & aDescGet, & aDescPut, & aVarDesc);
// we should probably just check the funckind
// we should probably just check the func kind
// basic has been modified to handle properties ( 'get' ) props at
// least with parameters
// additionally you can call invoke(Get|Set)Property on the bridge
@ -2023,7 +2023,7 @@ Any IUnknownWrapper_Impl::invokeWithDispIdComTlb(FuncDesc& aFuncDesc,
int outParamIndex=0;
for (int paramIndex = 0; paramIndex < nUnoArgs; paramIndex ++)
{
//Determine the index within the method sinature
//Determine the index within the method signature
int realParamIndex = paramIndex;
int revParamIndex = dispparams.cArgs - paramIndex - 1;
if (Params[paramIndex].getValueType()

View File

@ -235,7 +235,7 @@ protected:
CComPtr<IUnknown> m_spUnknown;
CComPtr<IDispatch> m_spDispatch;
OUString m_sTypeName; // is "" ( not initialised ), "IDispatch" ( we have no idea ) or "SomeLibrary.SomeTypeName" if we managed to get a type
/** This value is set dureing XInitialization::initialize. It indicates that the COM interface
/** This value is set during XInitialization::initialize. It indicates that the COM interface
was transported as VT_DISPATCH in a VARIANT rather then a VT_UNKNOWN
*/
sal_Bool m_bOriginalDispatch;

View File

@ -616,9 +616,9 @@ namespace pcr
// The only exception is the user pressing "DEL" while the control has the focus, in this case, we reset the
// control content to an empty string. So this is the only scenario where this method is allowed to be called.
// Striclty, we would be able to convert the display value to a property value,
// Strictly, we would be able to convert the display value to a property value,
// using the "name (location, language)" format we used in convertToControlValue. However,
// there is no need for this code ...
// there is no need for this code...
aAssignedScript.ScriptCode = sNewScriptCode;
return makeAny( aAssignedScript );

View File

@ -171,7 +171,7 @@ namespace pcr
If the component is a RowSet itself, it's returned directly. Else, the parent
is examined for the XRowSet interface. If the parent is no XRowSet, then
a check is made whether our component is a grid control column, and if so,
the parent of the grid control is examied for the XRowSet interace.
the parent of the grid control is examined for the XRowSet interace.
Normally, at least one of those methods should succeed.
*/
@ -245,7 +245,7 @@ namespace pcr
const ::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControlFactory >& _rxControlFactory
) const;
/** displays a datbase-related error to the user
/** displays a database-related error to the user
*/
void impl_displaySQLError_nothrow( const ::dbtools::SQLExceptionInfo& _rErrorDescriptor ) const;

View File

@ -95,7 +95,7 @@ namespace pcr
// and insert all entries below this root into the listbox
if (xSearch.is())
{
// check which service the allowed components must suppport
// check which service the allowed components must support
sal_Int16 nClassId = 0;
try { nClassId = ::comphelper::getINT16(m_xControlModel->getPropertyValue(PROPERTY_CLASSID)); } catch(...) { }
m_sRequiredService = (FormComponentType::RADIOBUTTON == nClassId) ? OUString(SERVICE_COMPONENT_GROUPBOX) : OUString(SERVICE_COMPONENT_FIXEDTEXT);

View File

@ -98,7 +98,7 @@ public:
const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext,
const ::rtl::Reference< UpdateCheckConfigListener >& rListener = ::rtl::Reference< UpdateCheckConfigListener >());
// Should really implement ROModel ..
// Should really implement ROModel...
bool isAutoCheckEnabled() const;
bool isAutoDownloadEnabled() const;
OUString getUpdateEntryVersion() const;

View File

@ -40,7 +40,7 @@ import util.utils;
/** Helper class for "TypeDetection"
* This class do file hanlding.
* This class do file handling.
*/
public class Helper {